summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/clock/tango4-clock.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/clock/tango4-clock.txt')
-rw-r--r--dts/Bindings/clock/tango4-clock.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/dts/Bindings/clock/tango4-clock.txt b/dts/Bindings/clock/tango4-clock.txt
new file mode 100644
index 0000000000..19c580a7bd
--- /dev/null
+++ b/dts/Bindings/clock/tango4-clock.txt
@@ -0,0 +1,23 @@
+* Sigma Designs Tango4 Clock Generator
+
+The Tango4 clock generator outputs cpu_clk and sys_clk (the latter is used
+for RAM and various peripheral devices). The clock binding described here
+is applicable to all Tango4 SoCs.
+
+Required Properties:
+
+- compatible: should be "sigma,tango4-clkgen".
+- reg: physical base address of the device and length of memory mapped region.
+- clocks: phandle of the input clock (crystal oscillator).
+- clock-output-names: should be "cpuclk" and "sysclk".
+- #clock-cells: should be set to 1.
+
+Example:
+
+ clkgen: clkgen@10000 {
+ compatible = "sigma,tango4-clkgen";
+ reg = <0x10000 0x40>;
+ clocks = <&xtal>;
+ clock-output-names = "cpuclk", "sysclk";
+ #clock-cells = <1>;
+ };