SpacemiT K1/K3 PLL
Schema identifier ($id): "http://devicetree.org/schemas/clock/spacemit,k1-pll.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Haylen Chu <heylenay@4d2.org>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "spacemit,k1-pll", "spacemit,k3-pll"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
External 24MHz oscillator
spacemit,mpmu — required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
Phandle to the "Main PMU (MPMU)" syscon. It is used to check PLL lock status.
#clock-cells — required here #
Exact value (const): 1
For K1 SoC, check <dt-bindings/clock/spacemit,k1-syscon.h> for valid indices. For K3 SoC, check <dt-bindings/clock/spacemit,k3-clocks.h> for valid indices.
Required in this object (required): "compatible", "reg", "clocks", "spacemit,mpmu", "#clock-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
clock-controller@d4090000 {
compatible = "spacemit,k1-pll";
reg = <0xd4090000 0x1000>;
clocks = <&vctcxo_24m>;
spacemit,mpmu = <&sysctl_mpmu>;
#clock-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause