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