xref: /freebsd-src/sys/contrib/device-tree/Bindings/clock/fixed-mmio-clock.yaml (revision 8cc087a1eee9ec1ca9f7ac1e63ad51bdb5a682eb)
1*8cc087a1SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
2*8cc087a1SEmmanuel Vadot%YAML 1.2
3*8cc087a1SEmmanuel Vadot---
4*8cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/fixed-mmio-clock.yaml#
5*8cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*8cc087a1SEmmanuel Vadot
7*8cc087a1SEmmanuel Vadottitle: Binding for simple memory mapped IO fixed-rate clock sources
8*8cc087a1SEmmanuel Vadot
9*8cc087a1SEmmanuel Vadotdescription:
10*8cc087a1SEmmanuel Vadot  This binding describes a fixed-rate clock for which the frequency can
11*8cc087a1SEmmanuel Vadot  be read from a single 32-bit memory mapped I/O register.
12*8cc087a1SEmmanuel Vadot
13*8cc087a1SEmmanuel Vadot  It was designed for test systems, like FPGA, not for complete,
14*8cc087a1SEmmanuel Vadot  finished SoCs.
15*8cc087a1SEmmanuel Vadot
16*8cc087a1SEmmanuel Vadotmaintainers:
17*8cc087a1SEmmanuel Vadot  - Jan Kotas <jank@cadence.com>
18*8cc087a1SEmmanuel Vadot
19*8cc087a1SEmmanuel Vadotproperties:
20*8cc087a1SEmmanuel Vadot  compatible:
21*8cc087a1SEmmanuel Vadot    const: fixed-mmio-clock
22*8cc087a1SEmmanuel Vadot
23*8cc087a1SEmmanuel Vadot  reg:
24*8cc087a1SEmmanuel Vadot    maxItems: 1
25*8cc087a1SEmmanuel Vadot
26*8cc087a1SEmmanuel Vadot  "#clock-cells":
27*8cc087a1SEmmanuel Vadot    const: 0
28*8cc087a1SEmmanuel Vadot
29*8cc087a1SEmmanuel Vadot  clock-output-names:
30*8cc087a1SEmmanuel Vadot    maxItems: 1
31*8cc087a1SEmmanuel Vadot
32*8cc087a1SEmmanuel Vadotrequired:
33*8cc087a1SEmmanuel Vadot  - compatible
34*8cc087a1SEmmanuel Vadot  - reg
35*8cc087a1SEmmanuel Vadot  - "#clock-cells"
36*8cc087a1SEmmanuel Vadot
37*8cc087a1SEmmanuel VadotadditionalProperties: false
38*8cc087a1SEmmanuel Vadot
39*8cc087a1SEmmanuel Vadotexamples:
40*8cc087a1SEmmanuel Vadot  - |
41*8cc087a1SEmmanuel Vadot    sysclock: sysclock@fd020004 {
42*8cc087a1SEmmanuel Vadot      compatible = "fixed-mmio-clock";
43*8cc087a1SEmmanuel Vadot      #clock-cells = <0>;
44*8cc087a1SEmmanuel Vadot      reg = <0xfd020004 0x4>;
45*8cc087a1SEmmanuel Vadot      clock-output-names = "sysclk";
46*8cc087a1SEmmanuel Vadot    };
47*8cc087a1SEmmanuel Vadot...
48