Maxime Ripard | c0692d6 | 2016-06-29 21:05:22 +0200 | [diff] [blame] | 1 | Allwinner Clock Control Unit Binding |
| 2 | ------------------------------------ |
| 3 | |
| 4 | Required properties : |
Chen-Yu Tsai | c6e6c96 | 2016-08-25 14:21:59 +0800 | [diff] [blame] | 5 | - compatible: must contain one of the following compatibles: |
| 6 | - "allwinner,sun6i-a31-ccu" |
Maxime Ripard | 5690879 | 2016-08-31 16:55:00 +0200 | [diff] [blame] | 7 | - "allwinner,sun8i-a23-ccu" |
Maxime Ripard | d05c748 | 2016-08-24 14:10:15 +0200 | [diff] [blame] | 8 | - "allwinner,sun8i-a33-ccu" |
Maxime Ripard | c0692d6 | 2016-06-29 21:05:22 +0200 | [diff] [blame] | 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 | }; |