1Allwinner Clock Control Unit Binding 2------------------------------------ 3 4Required properties : 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 - "nextthing,gr8-ccu" 26 27- reg: Must contain the registers base address and length 28- clocks: phandle to the oscillators feeding the CCU. Two are needed: 29 - "hosc": the high frequency oscillator (usually at 24MHz) 30 - "losc": the low frequency oscillator (usually at 32kHz) 31 On the A83T, this is the internal 16MHz oscillator divided by 512 32- clock-names: Must contain the clock names described just above 33- #clock-cells : must contain 1 34- #reset-cells : must contain 1 35 36For the main CCU on H6, one more clock is needed: 37- "iosc": the SoC's internal frequency oscillator 38 39For the PRCM CCUs on A83T/H3/A64/H6, two more clocks are needed: 40- "pll-periph": the SoC's peripheral PLL from the main CCU 41- "iosc": the SoC's internal frequency oscillator 42 43Example for generic CCU: 44ccu: clock@1c20000 { 45 compatible = "allwinner,sun8i-h3-ccu"; 46 reg = <0x01c20000 0x400>; 47 clocks = <&osc24M>, <&osc32k>; 48 clock-names = "hosc", "losc"; 49 #clock-cells = <1>; 50 #reset-cells = <1>; 51}; 52 53Example for PRCM CCU: 54r_ccu: clock@1f01400 { 55 compatible = "allwinner,sun50i-a64-r-ccu"; 56 reg = <0x01f01400 0x100>; 57 clocks = <&osc24M>, <&osc32k>, <&iosc>, <&ccu CLK_PLL_PERIPH0>; 58 clock-names = "hosc", "losc", "iosc", "pll-periph"; 59 #clock-cells = <1>; 60 #reset-cells = <1>; 61}; 62