xref: /freebsd/sys/contrib/device-tree/Bindings/clock/fixed-clock.yaml (revision a90b9d0159070121c221b966469c3e36d912bf82)
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