]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - Documentation/devicetree/bindings/clock/sunxi-ccu.txt
mlxsw: spectrum_router: Only handle IPv4 and IPv6 events
[mirror_ubuntu-focal-kernel.git] / Documentation / devicetree / bindings / clock / sunxi-ccu.txt
1 Allwinner Clock Control Unit Binding
2 ------------------------------------
3
4 Required properties :
5 - compatible: must contain one of the following compatibles:
6 - "allwinner,sun6i-a31-ccu"
7 - "allwinner,sun8i-a23-ccu"
8 - "allwinner,sun8i-a33-ccu"
9 - "allwinner,sun8i-a83t-ccu"
10 - "allwinner,sun8i-a83t-r-ccu"
11 - "allwinner,sun8i-h3-ccu"
12 - "allwinner,sun8i-h3-r-ccu"
13 - "allwinner,sun8i-v3s-ccu"
14 - "allwinner,sun9i-a80-ccu"
15 - "allwinner,sun50i-a64-ccu"
16 - "allwinner,sun50i-a64-r-ccu"
17 - "allwinner,sun50i-h5-ccu"
18
19 - reg: Must contain the registers base address and length
20 - clocks: phandle to the oscillators feeding the CCU. Two are needed:
21 - "hosc": the high frequency oscillator (usually at 24MHz)
22 - "losc": the low frequency oscillator (usually at 32kHz)
23 On the A83T, this is the internal 16MHz oscillator divided by 512
24 - clock-names: Must contain the clock names described just above
25 - #clock-cells : must contain 1
26 - #reset-cells : must contain 1
27
28 For the PRCM CCUs on A83T/H3/A64, two more clocks are needed:
29 - "pll-periph": the SoC's peripheral PLL from the main CCU
30 - "iosc": the SoC's internal frequency oscillator
31
32 Example for generic CCU:
33 ccu: clock@01c20000 {
34 compatible = "allwinner,sun8i-h3-ccu";
35 reg = <0x01c20000 0x400>;
36 clocks = <&osc24M>, <&osc32k>;
37 clock-names = "hosc", "losc";
38 #clock-cells = <1>;
39 #reset-cells = <1>;
40 };
41
42 Example for PRCM CCU:
43 r_ccu: clock@01f01400 {
44 compatible = "allwinner,sun50i-a64-r-ccu";
45 reg = <0x01f01400 0x100>;
46 clocks = <&osc24M>, <&osc32k>, <&iosc>, <&ccu CLK_PLL_PERIPH0>;
47 clock-names = "hosc", "losc", "iosc", "pll-periph";
48 #clock-cells = <1>;
49 #reset-cells = <1>;
50 };