Simple fixed-rate clock sources
Schema identifier ($id): "http://devicetree.org/schemas/clock/fixed-clock.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Michael Turquette <mturquette@baylibre.com>", "Stephen Boyd <sboyd@kernel.org>"
Properties and child nodes (properties) #
$nodename — not listed as required here #
At least one of these rules must match (anyOf) #
Rule 1
Preferred name is 'clock-<freq>' with <freq> being the output frequency as defined in the 'clock-frequency' property.
String pattern (
pattern):"^clock-([0-9]+|[a-z0-9-]+)$"
Rule 2
Any name allowed
Deprecated (
deprecated):true
compatible — required here #
Exact value (const): "fixed-clock"
#clock-cells — required here #
Exact value (const): 0
clock-frequency — required here #
true — No constraints added by this property rule.
clock-accuracy — not listed as required here #
accuracy of clock in ppb (parts per billion).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
clock-output-names — not listed as required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "#clock-cells", "clock-frequency"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
clock {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <1000000000>;
clock-accuracy = <100>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0