Merge branch 'pm-cpufreq'
[cascardo/linux.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-h3-ccu"
10
11 - reg: Must contain the registers base address and length
12 - clocks: phandle to the oscillators feeding the CCU. Two are needed:
13   - "hosc": the high frequency oscillator (usually at 24MHz)
14   - "losc": the low frequency oscillator (usually at 32kHz)
15 - clock-names: Must contain the clock names described just above
16 - #clock-cells : must contain 1
17 - #reset-cells : must contain 1
18
19 Example:
20 ccu: clock@01c20000 {
21         compatible = "allwinner,sun8i-h3-ccu";
22         reg = <0x01c20000 0x400>;
23         clocks = <&osc24M>, <&osc32k>;
24         clock-names = "hosc", "losc";
25         #clock-cells = <1>;
26         #reset-cells = <1>;
27 };