~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/clock/brcm,kona-ccu.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/clock/brcm,kona-ccu.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Broadcom Kona family clock control units (CCU)
  8 
  9 maintainers:
 10   - Florian Fainelli <florian.fainelli@broadcom.com>
 11   - Ray Jui <rjui@broadcom.com>
 12   - Scott Branden <sbranden@broadcom.com>
 13 
 14 description: |
 15   Broadcom "Kona" style clock control unit (CCU) is a clock provider that
 16   manages a set of clock signals.
 17 
 18   All available clock IDs are defined in
 19   - include/dt-bindings/clock/bcm281xx.h for BCM281XX family
 20   - include/dt-bindings/clock/bcm21664.h for BCM21664 family
 21 
 22 properties:
 23   compatible:
 24     enum:
 25       - brcm,bcm11351-aon-ccu
 26       - brcm,bcm11351-hub-ccu
 27       - brcm,bcm11351-master-ccu
 28       - brcm,bcm11351-root-ccu
 29       - brcm,bcm11351-slave-ccu
 30       - brcm,bcm21664-aon-ccu
 31       - brcm,bcm21664-master-ccu
 32       - brcm,bcm21664-root-ccu
 33       - brcm,bcm21664-slave-ccu
 34 
 35   reg:
 36     maxItems: 1
 37 
 38   '#clock-cells':
 39     const: 1
 40 
 41   clock-output-names:
 42     minItems: 1
 43     maxItems: 10
 44 
 45 required:
 46   - compatible
 47   - reg
 48   - '#clock-cells'
 49   - clock-output-names
 50 
 51 allOf:
 52   - if:
 53       properties:
 54         compatible:
 55           contains:
 56             const: brcm,bcm11351-aon-ccu
 57     then:
 58       properties:
 59         clock-output-names:
 60           items:
 61             - const: hub_timer
 62             - const: pmu_bsc
 63             - const: pmu_bsc_var
 64   - if:
 65       properties:
 66         compatible:
 67           contains:
 68             const: brcm,bcm11351-hub-ccu
 69     then:
 70       properties:
 71         clock-output-names:
 72           const: tmon_1m
 73   - if:
 74       properties:
 75         compatible:
 76           contains:
 77             const: brcm,bcm11351-master-ccu
 78     then:
 79       properties:
 80         clock-output-names:
 81           items:
 82             - const: sdio1
 83             - const: sdio2
 84             - const: sdio3
 85             - const: sdio4
 86             - const: usb_ic
 87             - const: hsic2_48m
 88             - const: hsic2_12m
 89   - if:
 90       properties:
 91         compatible:
 92           contains:
 93             enum:
 94               - brcm,bcm11351-root-ccu
 95               - brcm,bcm21664-root-ccu
 96     then:
 97       properties:
 98         clock-output-names:
 99           const: frac_1m
100   - if:
101       properties:
102         compatible:
103           contains:
104             const: brcm,bcm11351-slave-ccu
105     then:
106       properties:
107         clock-output-names:
108           items:
109             - const: uartb
110             - const: uartb2
111             - const: uartb3
112             - const: uartb4
113             - const: ssp0
114             - const: ssp2
115             - const: bsc1
116             - const: bsc2
117             - const: bsc3
118             - const: pwm
119   - if:
120       properties:
121         compatible:
122           contains:
123             const: brcm,bcm21664-aon-ccu
124     then:
125       properties:
126         clock-output-names:
127           const: hub_timer
128   - if:
129       properties:
130         compatible:
131           contains:
132             const: brcm,bcm21664-master-ccu
133     then:
134       properties:
135         clock-output-names:
136           items:
137             - const: sdio1
138             - const: sdio2
139             - const: sdio3
140             - const: sdio4
141             - const: sdio1_sleep
142             - const: sdio2_sleep
143             - const: sdio3_sleep
144             - const: sdio4_sleep
145   - if:
146       properties:
147         compatible:
148           contains:
149             const: brcm,bcm21664-slave-ccu
150     then:
151       properties:
152         clock-output-names:
153           items:
154             - const: uartb
155             - const: uartb2
156             - const: uartb3
157             - const: bsc1
158             - const: bsc2
159             - const: bsc3
160             - const: bsc4
161 
162 additionalProperties: false
163 
164 examples:
165   - |
166     clock-controller@3e011000 {
167       compatible = "brcm,bcm11351-slave-ccu";
168       reg = <0x3e011000 0x0f00>;
169       #clock-cells = <1>;
170       clock-output-names = "uartb",
171                            "uartb2",
172                            "uartb3",
173                            "uartb4",
174                            "ssp0",
175                            "ssp2",
176                            "bsc1",
177                            "bsc2",
178                            "bsc3",
179                            "pwm";
180     };
181 ...

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php