Sophgo SG2042 Gate Clock Generator for RP(riscv processors) subsystem
Schema identifier ($id): "http://devicetree.org/schemas/clock/sophgo,sg2042-rpgate.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-rpgate"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
Gate clock for RP subsystem
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"rpgate"
#clock-cells — required here #
Exact value (const): 1
See <dt-bindings/clock/sophgo,sg2042-rpgate.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@20000000 {
compatible = "sophgo,sg2042-rpgate";
reg = <0x20000000 0x10000>;
clocks = <&clkgen 85>;
clock-names = "rpgate";
#clock-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)