brintos

brintos / linux-shallow public Read only

0
0
Text · 4.2 KiB · e565695 Raw
182 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/clock/brcm,kona-ccu.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Broadcom Kona family clock control units (CCU)8 9maintainers:10  - Florian Fainelli <florian.fainelli@broadcom.com>11  - Ray Jui <rjui@broadcom.com>12  - Scott Branden <sbranden@broadcom.com>13 14description: |15  Broadcom "Kona" style clock control unit (CCU) is a clock provider that16  manages a set of clock signals.17 18  All available clock IDs are defined in19  - include/dt-bindings/clock/bcm281xx.h for BCM281XX family20  - include/dt-bindings/clock/bcm21664.h for BCM21664 family21 22properties:23  compatible:24    enum:25      - brcm,bcm11351-aon-ccu26      - brcm,bcm11351-hub-ccu27      - brcm,bcm11351-master-ccu28      - brcm,bcm11351-root-ccu29      - brcm,bcm11351-slave-ccu30      - brcm,bcm21664-aon-ccu31      - brcm,bcm21664-master-ccu32      - brcm,bcm21664-root-ccu33      - brcm,bcm21664-slave-ccu34 35  reg:36    maxItems: 137 38  '#clock-cells':39    const: 140 41  clock-output-names:42    minItems: 143    maxItems: 1044 45required:46  - compatible47  - reg48  - '#clock-cells'49  - clock-output-names50 51allOf:52  - if:53      properties:54        compatible:55          contains:56            const: brcm,bcm11351-aon-ccu57    then:58      properties:59        clock-output-names:60          items:61            - const: hub_timer62            - const: pmu_bsc63            - const: pmu_bsc_var64  - if:65      properties:66        compatible:67          contains:68            const: brcm,bcm11351-hub-ccu69    then:70      properties:71        clock-output-names:72          const: tmon_1m73  - if:74      properties:75        compatible:76          contains:77            const: brcm,bcm11351-master-ccu78    then:79      properties:80        clock-output-names:81          items:82            - const: sdio183            - const: sdio284            - const: sdio385            - const: sdio486            - const: usb_ic87            - const: hsic2_48m88            - const: hsic2_12m89  - if:90      properties:91        compatible:92          contains:93            enum:94              - brcm,bcm11351-root-ccu95              - brcm,bcm21664-root-ccu96    then:97      properties:98        clock-output-names:99          const: frac_1m100  - if:101      properties:102        compatible:103          contains:104            const: brcm,bcm11351-slave-ccu105    then:106      properties:107        clock-output-names:108          items:109            - const: uartb110            - const: uartb2111            - const: uartb3112            - const: uartb4113            - const: ssp0114            - const: ssp2115            - const: bsc1116            - const: bsc2117            - const: bsc3118            - const: pwm119  - if:120      properties:121        compatible:122          contains:123            const: brcm,bcm21664-aon-ccu124    then:125      properties:126        clock-output-names:127          const: hub_timer128  - if:129      properties:130        compatible:131          contains:132            const: brcm,bcm21664-master-ccu133    then:134      properties:135        clock-output-names:136          items:137            - const: sdio1138            - const: sdio2139            - const: sdio3140            - const: sdio4141            - const: sdio1_sleep142            - const: sdio2_sleep143            - const: sdio3_sleep144            - const: sdio4_sleep145  - if:146      properties:147        compatible:148          contains:149            const: brcm,bcm21664-slave-ccu150    then:151      properties:152        clock-output-names:153          items:154            - const: uartb155            - const: uartb2156            - const: uartb3157            - const: bsc1158            - const: bsc2159            - const: bsc3160            - const: bsc4161 162additionalProperties: false163 164examples: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...182