xref: /linux/Documentation/devicetree/bindings/clock/gated-fixed-clock.yaml (revision 7f71507851fc7764b36a3221839607d3a45c2025)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/gated-fixed-clock.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Gated Fixed clock
8
9maintainers:
10  - Heiko Stuebner <heiko@sntech.de>
11
12properties:
13  compatible:
14    const: gated-fixed-clock
15
16  "#clock-cells":
17    const: 0
18
19  clock-frequency: true
20
21  clock-output-names:
22    maxItems: 1
23
24  enable-gpios:
25    description:
26      Contains a single GPIO specifier for the GPIO that enables and disables
27      the oscillator.
28    maxItems: 1
29
30  vdd-supply:
31    description: handle of the regulator that provides the supply voltage
32
33required:
34  - compatible
35  - "#clock-cells"
36  - clock-frequency
37  - vdd-supply
38
39additionalProperties: false
40
41examples:
42  - |
43    clock-1000000000 {
44      compatible = "gated-fixed-clock";
45      #clock-cells = <0>;
46      clock-frequency = <1000000000>;
47      vdd-supply = <&reg_vdd>;
48    };
49...
50