| 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 |
|
| 7 |
title: Gated Fixed clock |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Heiko Stuebner <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 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 |
|
| 33 |
required: |
| 34 |
- compatible |
| 35 |
- "#clock-cells" |
| 36 |
- clock-frequency |
| 37 |
- vdd-supply |
| 38 |
|
| 39 |
additionalProperties: false |
| 40 |
|
| 41 |
examples: |
| 42 |
- | |
| 43 |
clock-1000000000 { |
| 44 |
compatible = "gated-fixed-clock"; |
| 45 |
#clock-cells = <0>; |
| 46 |
clock-frequency = <1000000000>; |
| 47 |
vdd-supply = <®_vdd>; |
| 48 |
}; |
| 49 |
... |