1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/clock/google,gs101-clock.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Google GS101 SoC clock controller
10 - Peter Griffin <peter.griffin@linaro.org>
13 Google GS101 clock controller is comprised of several CMU units, generating
14 clocks for different domains. Those CMU units are modeled as separate device
15 tree nodes, and might depend on each other. The root clock in that clock tree
16 is OSCCLK (24.576 MHz). That external clock must be defined as a fixed-rate
19 CMU_TOP is a top-level CMU, where all base clocks are prepared using PLLs and
20 dividers; all other leaf clocks (other CMUs) are usually derived from CMU_TOP.
22 Each clock is assigned an identifier and client nodes can use this identifier
23 to specify the clock which they consume. All clocks available for usage
24 in clock consumer nodes are defined as preprocessor macros in
25 'dt-bindings/clock/gs101.h' header.
30 - google,gs101-cmu-top
31 - google,gs101-cmu-apm
32 - google,gs101-cmu-misc
61 - google,gs101-cmu-top
62 - google,gs101-cmu-apm
67 - description: External reference clock (24.576 MHz)
77 const: google,gs101-cmu-misc
83 - description: Misc bus clock (from CMU_TOP)
84 - description: Misc sss clock (from CMU_TOP)
91 additionalProperties: false
94 # Clock controller node for CMU_TOP
96 #include <dt-bindings/clock/google,gs101.h>
98 cmu_top: clock-controller@1e080000 {
99 compatible = "google,gs101-cmu-top";
100 reg = <0x1e080000 0x8000>;
102 clocks = <&ext_24_5m>;
103 clock-names = "oscclk";