xref: /linux/Documentation/devicetree/bindings/clock/fixed-clock.yaml (revision 0526b56cbc3c489642bd6a5fe4b718dea7ef0ee8)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/fixed-clock.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Simple fixed-rate clock sources
8
9maintainers:
10  - Michael Turquette <mturquette@baylibre.com>
11  - Stephen Boyd <sboyd@kernel.org>
12
13properties:
14  compatible:
15    const: fixed-clock
16
17  "#clock-cells":
18    const: 0
19
20  clock-frequency: true
21
22  clock-accuracy:
23    description: accuracy of clock in ppb (parts per billion).
24    $ref: /schemas/types.yaml#/definitions/uint32
25
26  clock-output-names:
27    maxItems: 1
28
29required:
30  - compatible
31  - "#clock-cells"
32  - clock-frequency
33
34additionalProperties: false
35
36examples:
37  - |
38    clock {
39      compatible = "fixed-clock";
40      #clock-cells = <0>;
41      clock-frequency = <1000000000>;
42      clock-accuracy = <100>;
43    };
44...
45