summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/clock/hix5hd2-clock.txt
diff options
context:
space:
mode:
authorZhangfei Gao <zhangfei.gao@linaro.org>2014-04-21 12:07:27 +0800
committerHaojian Zhuang <haojian.zhuang@linaro.org>2014-05-12 11:30:32 +0800
commit5efaf09021a5817e5a274aa2d2fad8d92d12ed92 (patch)
tree14605bd9b8bea44f2ea419f503bf03bdd8cd4cb8 /Documentation/devicetree/bindings/clock/hix5hd2-clock.txt
parent8b9dcb6cb7b69e6990bc4134546be5059342916c (diff)
downloadlinux-5efaf09021a5817e5a274aa2d2fad8d92d12ed92.tar.bz2
clk: hisi: add clk-hix5hd2.c
Signed-off-by: Haifeng Yan <haifeng.yan@linaro.org> Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org> Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/clock/hix5hd2-clock.txt')
-rw-r--r--Documentation/devicetree/bindings/clock/hix5hd2-clock.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/hix5hd2-clock.txt b/Documentation/devicetree/bindings/clock/hix5hd2-clock.txt
new file mode 100644
index 000000000000..7894a64887cb
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/hix5hd2-clock.txt
@@ -0,0 +1,31 @@
+* Hisilicon Hix5hd2 Clock Controller
+
+The hix5hd2 clock controller generates and supplies clock to various
+controllers within the hix5hd2 SoC.
+
+Required Properties:
+
+- compatible: should be "hisilicon,hix5hd2-clock"
+- reg: Address and length of the register set
+- #clock-cells: Should be <1>
+
+Each clock is assigned an identifier and client nodes use this identifier
+to specify the clock which they consume.
+
+All these identifier could be found in <dt-bindings/clock/hix5hd2-clock.h>.
+
+Examples:
+ clock: clock@f8a22000 {
+ compatible = "hisilicon,hix5hd2-clock";
+ reg = <0xf8a22000 0x1000>;
+ #clock-cells = <1>;
+ };
+
+ uart0: uart@f8b00000 {
+ compatible = "arm,pl011", "arm,primecell";
+ reg = <0xf8b00000 0x1000>;
+ interrupts = <0 49 4>;
+ clocks = <&clock HIX5HD2_FIXED_83M>;
+ clock-names = "apb_pclk";
+ status = "disabled";
+ };