Gated Fixed clock

Schema identifier ($id): "http://devicetree.org/schemas/clock/gated-fixed-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Heiko Stuebner <heiko@sntech.de>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "gated-fixed-clock"

#clock-cells — required here #

Exact value (const): 0

clock-frequency — required here #

true — No constraints added by this property rule.

clock-output-names — not listed as required here #

Maximum number of items (maxItems): 1

enable-gpios — not listed as required here #

Contains a single GPIO specifier for the GPIO that enables and disables the oscillator.

Maximum number of items (maxItems): 1

vdd-supply — required here #

handle of the regulator that provides the supply voltage

Required in this object (required): "compatible", "#clock-cells", "clock-frequency", "vdd-supply"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-1000000000 {
  compatible = "gated-fixed-clock";
  #clock-cells = <0>;
  clock-frequency = <1000000000>;
  vdd-supply = <&reg_vdd>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page