Sophgo SG2042 PLL Clock Generator
Schema identifier ($id): "http://devicetree.org/schemas/clock/sophgo,sg2042-pll.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chen Wang <unicorn_wang@outlook.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "sophgo,sg2042-pll"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Oscillator(Clock Generation IC) for Main/Fixed PLL (25 MHz)
Item 2
Oscillator(Clock Generation IC) for DDR PLL 0 (25 MHz)
Item 3
Oscillator(Clock Generation IC) for DDR PLL 1 (25 MHz)
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"cgi_main"
Item 2
Exact value (
const):"cgi_dpll0"
Item 3
Exact value (
const):"cgi_dpll1"
#clock-cells — required here #
Exact value (const): 1
See <dt-bindings/clock/sophgo,sg2042-pll.h> for valid indices.
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
clock-controller@10000000 {
compatible = "sophgo,sg2042-pll";
reg = <0x10000000 0x10000>;
clocks = <&cgi_main>, <&cgi_dpll0>, <&cgi_dpll1>;
clock-names = "cgi_main", "cgi_dpll0", "cgi_dpll1";
#clock-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)