1 Allwinner Clock Control Unit Binding
2 ------------------------------------
5 - compatible: must contain one of the following compatibles:
6 - "allwinner,sun4i-a10-ccu"
7 - "allwinner,sun5i-a10s-ccu"
8 - "allwinner,sun5i-a13-ccu"
9 - "allwinner,sun6i-a31-ccu"
10 - "allwinner,sun7i-a20-ccu"
11 - "allwinner,sun8i-a23-ccu"
12 - "allwinner,sun8i-a33-ccu"
13 - "allwinner,sun8i-a83t-ccu"
14 - "allwinner,sun8i-a83t-r-ccu"
15 - "allwinner,sun8i-h3-ccu"
16 - "allwinner,sun8i-h3-r-ccu"
17 + - "allwinner,sun8i-r40-ccu"
18 - "allwinner,sun8i-v3s-ccu"
19 - "allwinner,sun9i-a80-ccu"
20 - "allwinner,sun50i-a64-ccu"
21 - "allwinner,sun50i-a64-r-ccu"
22 - "allwinner,sun50i-h5-ccu"
23 - "allwinner,sun50i-h6-ccu"
24 - "allwinner,sun50i-h6-r-ccu"
25 - "allwinner,suniv-f1c100s-ccu"
28 - reg: Must contain the registers base address and length
29 - clocks: phandle to the oscillators feeding the CCU. Two are needed:
30 - "hosc": the high frequency oscillator (usually at 24MHz)
31 - "losc": the low frequency oscillator (usually at 32kHz)
32 On the A83T, this is the internal 16MHz oscillator divided by 512
33 - clock-names: Must contain the clock names described just above
34 - #clock-cells : must contain 1
35 - #reset-cells : must contain 1
37 For the main CCU on H6, one more clock is needed:
38 - "iosc": the SoC's internal frequency oscillator
40 For the PRCM CCUs on A83T/H3/A64/H6, two more clocks are needed:
41 - "pll-periph": the SoC's peripheral PLL from the main CCU
42 - "iosc": the SoC's internal frequency oscillator
44 Example for generic CCU:
46 compatible = "allwinner,sun8i-h3-ccu";
47 reg = <0x01c20000 0x400>;
48 clocks = <&osc24M>, <&osc32k>;
49 clock-names = "hosc", "losc";
55 r_ccu: clock@1f01400 {
56 compatible = "allwinner,sun50i-a64-r-ccu";
57 reg = <0x01f01400 0x100>;
58 clocks = <&osc24M>, <&osc32k>, <&iosc>, <&ccu CLK_PLL_PERIPH0>;
59 clock-names = "hosc", "losc", "iosc", "pll-periph";