Sophgo SG2042 Clock Generator for divider/mux/gate
Schema identifier ($id): "http://devicetree.org/schemas/clock/sophgo,sg2042-clkgen.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-clkgen"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Main PLL
Item 2
Fixed PLL
Item 3
DDR PLL 0
Item 4
DDR PLL 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"mpll"
Item 2
Exact value (
const):"fpll"
Item 3
Exact value (
const):"dpll0"
Item 4
Exact value (
const):"dpll1"
#clock-cells — required here #
Exact value (const): 1
See <dt-bindings/clock/sophgo,sg2042-clkgen.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@30012000 {
compatible = "sophgo,sg2042-clkgen";
reg = <0x30012000 0x1000>;
clocks = <&pllclk 0>,
<&pllclk 1>,
<&pllclk 2>,
<&pllclk 3>;
clock-names = "mpll",
"fpll",
"dpll0",
"dpll1";
#clock-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)