2016-06-30 03:05:22 +08:00
|
|
|
Allwinner Clock Control Unit Binding
|
|
|
|
------------------------------------
|
|
|
|
|
|
|
|
Required properties :
|
2016-08-25 14:21:59 +08:00
|
|
|
- compatible: must contain one of the following compatibles:
|
|
|
|
- "allwinner,sun6i-a31-ccu"
|
2016-08-24 20:10:15 +08:00
|
|
|
- "allwinner,sun8i-a33-ccu"
|
2016-06-30 03:05:22 +08:00
|
|
|
- "allwinner,sun8i-h3-ccu"
|
|
|
|
|
|
|
|
- reg: Must contain the registers base address and length
|
|
|
|
- clocks: phandle to the oscillators feeding the CCU. Two are needed:
|
|
|
|
- "hosc": the high frequency oscillator (usually at 24MHz)
|
|
|
|
- "losc": the low frequency oscillator (usually at 32kHz)
|
|
|
|
- clock-names: Must contain the clock names described just above
|
|
|
|
- #clock-cells : must contain 1
|
|
|
|
- #reset-cells : must contain 1
|
|
|
|
|
|
|
|
Example:
|
|
|
|
ccu: clock@01c20000 {
|
|
|
|
compatible = "allwinner,sun8i-h3-ccu";
|
|
|
|
reg = <0x01c20000 0x400>;
|
|
|
|
clocks = <&osc24M>, <&osc32k>;
|
|
|
|
clock-names = "hosc", "losc";
|
|
|
|
#clock-cells = <1>;
|
|
|
|
#reset-cells = <1>;
|
|
|
|
};
|