| # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | |
| %YAML 1.2 | |
| --- | |
| $id: http://devicetree.org/schemas/clock/gated-fixed-clock.yaml# | |
| $schema: http://devicetree.org/meta-schemas/core.yaml# | |
| title: Gated Fixed clock | |
| maintainers: | |
| - Heiko Stuebner <heiko@sntech.de> | |
| properties: | |
| compatible: | |
| const: gated-fixed-clock | |
| "#clock-cells": | |
| const: 0 | |
| clock-frequency: true | |
| clock-output-names: | |
| maxItems: 1 | |
| enable-gpios: | |
| description: | |
| Contains a single GPIO specifier for the GPIO that enables and disables | |
| the oscillator. | |
| maxItems: 1 | |
| vdd-supply: | |
| description: handle of the regulator that provides the supply voltage | |
| required: | |
| - compatible | |
| - "#clock-cells" | |
| - clock-frequency | |
| - vdd-supply | |
| additionalProperties: false | |
| examples: | |
| - | | |
| clock-1000000000 { | |
| compatible = "gated-fixed-clock"; | |
| #clock-cells = <0>; | |
| clock-frequency = <1000000000>; | |
| vdd-supply = <®_vdd>; | |
| }; | |
| ... |