GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / devicetree / bindings / clock / fixed-mmio-clock.yaml
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/clock/fixed-mmio-clock.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Binding for simple memory mapped IO fixed-rate clock sources
8
9 description:
10   This binding describes a fixed-rate clock for which the frequency can
11   be read from a single 32-bit memory mapped I/O register.
12
13   It was designed for test systems, like FPGA, not for complete,
14   finished SoCs.
15
16 maintainers:
17   - Jan Kotas <jank@cadence.com>
18
19 properties:
20   compatible:
21     const: fixed-mmio-clock
22
23   reg:
24     maxItems: 1
25
26   "#clock-cells":
27     const: 0
28
29   clock-output-names:
30     maxItems: 1
31
32 required:
33   - compatible
34   - reg
35   - "#clock-cells"
36
37 additionalProperties: false
38
39 examples:
40   - |
41     sysclock: sysclock@fd020004 {
42       compatible = "fixed-mmio-clock";
43       #clock-cells = <0>;
44       reg = <0xfd020004 0x4>;
45       clock-output-names = "sysclk";
46     };
47 ...