]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blame - Documentation/devicetree/bindings/clock/sunxi-ccu.txt
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[mirror_ubuntu-focal-kernel.git] / Documentation / devicetree / bindings / clock / sunxi-ccu.txt
CommitLineData
c0692d68
MR
1Allwinner Clock Control Unit Binding
2------------------------------------
3
4Required properties :
c6e6c96d 5- compatible: must contain one of the following compatibles:
de275d23 6 - "allwinner,sun4i-a10-ccu"
7e784240
JL
7 - "allwinner,sun5i-a10s-ccu"
8 - "allwinner,sun5i-a13-ccu"
c6e6c96d 9 - "allwinner,sun6i-a31-ccu"
0f1053a9 10 - "allwinner,sun7i-a20-ccu"
5690879d 11 - "allwinner,sun8i-a23-ccu"
d05c748b 12 - "allwinner,sun8i-a33-ccu"
11ad470c 13 - "allwinner,sun8i-a83t-ccu"
0d28276b 14 - "allwinner,sun8i-a83t-r-ccu"
c0692d68 15 - "allwinner,sun8i-h3-ccu"
d4879bda 16 - "allwinner,sun8i-h3-r-ccu"
0a634155 17+ - "allwinner,sun8i-r40-ccu"
4a9decc9 18 - "allwinner,sun8i-v3s-ccu"
b8eb71dc 19 - "allwinner,sun9i-a80-ccu"
c6a06374 20 - "allwinner,sun50i-a64-ccu"
d4879bda 21 - "allwinner,sun50i-a64-r-ccu"
9be1c8af 22 - "allwinner,sun50i-h5-ccu"
7e784240 23 - "nextthing,gr8-ccu"
c0692d68
MR
24
25- reg: Must contain the registers base address and length
26- clocks: phandle to the oscillators feeding the CCU. Two are needed:
27 - "hosc": the high frequency oscillator (usually at 24MHz)
28 - "losc": the low frequency oscillator (usually at 32kHz)
11ad470c 29 On the A83T, this is the internal 16MHz oscillator divided by 512
c0692d68
MR
30- clock-names: Must contain the clock names described just above
31- #clock-cells : must contain 1
32- #reset-cells : must contain 1
33
0d28276b 34For the PRCM CCUs on A83T/H3/A64, two more clocks are needed:
a91afc97 35- "pll-periph": the SoC's peripheral PLL from the main CCU
d4879bda
IZ
36- "iosc": the SoC's internal frequency oscillator
37
38Example for generic CCU:
c0692d68
MR
39ccu: clock@01c20000 {
40 compatible = "allwinner,sun8i-h3-ccu";
41 reg = <0x01c20000 0x400>;
42 clocks = <&osc24M>, <&osc32k>;
43 clock-names = "hosc", "losc";
44 #clock-cells = <1>;
45 #reset-cells = <1>;
46};
d4879bda
IZ
47
48Example for PRCM CCU:
49r_ccu: clock@01f01400 {
50 compatible = "allwinner,sun50i-a64-r-ccu";
51 reg = <0x01f01400 0x100>;
a91afc97
CYT
52 clocks = <&osc24M>, <&osc32k>, <&iosc>, <&ccu CLK_PLL_PERIPH0>;
53 clock-names = "hosc", "losc", "iosc", "pll-periph";
d4879bda
IZ
54 #clock-cells = <1>;
55 #reset-cells = <1>;
56};