summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/clock/snps,hsdk-pll-clock.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/clock/snps,hsdk-pll-clock.txt')
-rw-r--r--dts/Bindings/clock/snps,hsdk-pll-clock.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/dts/Bindings/clock/snps,hsdk-pll-clock.txt b/dts/Bindings/clock/snps,hsdk-pll-clock.txt
new file mode 100644
index 0000000000..c56c7553c7
--- /dev/null
+++ b/dts/Bindings/clock/snps,hsdk-pll-clock.txt
@@ -0,0 +1,28 @@
+Binding for the HSDK Generic PLL clock
+
+This binding uses the common clock binding[1].
+
+[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
+
+Required properties:
+- compatible: should be "snps,hsdk-<name>-pll-clock"
+ "snps,hsdk-core-pll-clock"
+ "snps,hsdk-gp-pll-clock"
+ "snps,hsdk-hdmi-pll-clock"
+- reg : should contain base register location and length.
+- clocks: shall be the input parent clock phandle for the PLL.
+- #clock-cells: from common clock binding; Should always be set to 0.
+
+Example:
+ input_clk: input-clk {
+ clock-frequency = <33333333>;
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ };
+
+ cpu_clk: cpu-clk@0 {
+ compatible = "snps,hsdk-core-pll-clock";
+ reg = <0x00 0x10>;
+ #clock-cells = <0>;
+ clocks = <&input_clk>;
+ };