blob: 3868458a5feb7cdc2f2c1c7bc54df465bb530ab4 [file] [log] [blame]
Maxime Ripardc0692d62016-06-29 21:05:22 +02001Allwinner Clock Control Unit Binding
2------------------------------------
3
4Required properties :
Chen-Yu Tsaic6e6c962016-08-25 14:21:59 +08005- compatible: must contain one of the following compatibles:
6 - "allwinner,sun6i-a31-ccu"
Maxime Ripard56908792016-08-31 16:55:00 +02007 - "allwinner,sun8i-a23-ccu"
Maxime Ripardd05c7482016-08-24 14:10:15 +02008 - "allwinner,sun8i-a33-ccu"
Maxime Ripardc0692d62016-06-29 21:05:22 +02009 - "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
19Example:
20ccu: 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};