diff options
author | Michael Turquette <mturquette@baylibre.com> | 2016-07-09 04:08:56 +0300 |
---|---|---|
committer | Michael Turquette <mturquette@baylibre.com> | 2016-07-09 04:08:56 +0300 |
commit | 7adb76956189d10fd77f00b41b4d413480e94715 (patch) | |
tree | c15068fb36576a29846788bea9d15a327f970fd1 /Documentation/devicetree/bindings/clock | |
parent | a06498297d233fd5074da14f25e72c2f104561d3 (diff) | |
parent | 0577e4853bfb4c65f620fa56d3157692df7f766e (diff) | |
download | linux-7adb76956189d10fd77f00b41b4d413480e94715.tar.xz |
Merge branch 'clk-sunxi-ng' into clk-next
Diffstat (limited to 'Documentation/devicetree/bindings/clock')
-rw-r--r-- | Documentation/devicetree/bindings/clock/sunxi-ccu.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/sunxi-ccu.txt b/Documentation/devicetree/bindings/clock/sunxi-ccu.txt new file mode 100644 index 000000000000..cb91507ffb1e --- /dev/null +++ b/Documentation/devicetree/bindings/clock/sunxi-ccu.txt @@ -0,0 +1,24 @@ +Allwinner Clock Control Unit Binding +------------------------------------ + +Required properties : +- compatible: must contain one of the following compatible: + - "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>; +}; |