Sunplus SP7021 SoC Clock Controller
Schema identifier ($id): "http://devicetree.org/schemas/clock/sunplus,sp7021-clkc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Qin Jian <qinjian@cqplus1.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "sunplus,sp7021-clkc"
reg — required here #
Maximum number of items (maxItems): 3
clocks — required here #
Maximum number of items (maxItems): 1
#clock-cells — required here #
Exact value (const): 1
Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
extclk: osc0 {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <27000000>;
clock-output-names = "extclk";
};
clkc: clock-controller@9c000004 {
compatible = "sunplus,sp7021-clkc";
reg = <0x9c000004 0x28>,
<0x9c000200 0x44>,
<0x9c000268 0x08>;
clocks = <&extclk>;
#clock-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) Sunplus Co., Ltd. 2021