aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/clock/fixed-mmio-clock.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/devicetree/bindings/clock/fixed-mmio-clock.txt')
-rw-r--r--Documentation/devicetree/bindings/clock/fixed-mmio-clock.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/clock/fixed-mmio-clock.txt b/Documentation/devicetree/bindings/clock/fixed-mmio-clock.txt
new file mode 100644
index 000000000000..c359367fd1a9
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/fixed-mmio-clock.txt
@@ -0,0 +1,24 @@
1Binding for simple memory mapped io fixed-rate clock sources.
2The driver reads a clock frequency value from a single 32-bit memory mapped
3I/O register and registers it as a fixed rate clock.
4
5It was designed for test systems, like FPGA, not for complete, finished SoCs.
6
7This binding uses the common clock binding[1].
8
9[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
10
11Required properties:
12- compatible : shall be "fixed-mmio-clock".
13- #clock-cells : from common clock binding; shall be set to 0.
14- reg : Address and length of the clock value register set.
15
16Optional properties:
17- clock-output-names : From common clock binding.
18
19Example:
20sysclock: sysclock@fd020004 {
21 #clock-cells = <0>;
22 compatible = "fixed-mmio-clock";
23 reg = <0xfd020004 0x4>;
24};