StarFive JH7110 SoC system controller

Schema identifier ($id): "http://devicetree.org/schemas/soc/starfive/starfive,jh7110-syscon.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "William Qiu <william.qiu@starfivetech.com>"

The StarFive JH7110 SoC system controller provides register information such as offset, mask and shift to configure related modules such as MMC and PCIe.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "starfive,jh7110-sys-syscon"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "starfive,jh7110-aon-syscon", "starfive,jh7110-stg-syscon"

Item 2

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

clock-controller — not listed as required here #

Shared schema rule ($ref): /schemas/clock/starfive,jh7110-pll.yaml#

Value type (type): "object"

#power-domain-cells — not listed as required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg"

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "starfive,jh7110-sys-syscon"

When the condition matches (then) #

Required in this object (required): "clock-controller"

When the condition does not match (else) #

Properties and child nodes (properties)

clock-controller — not listed as required here

false — Not permitted by this property rule.

Rule 2 #

Condition (if) #

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "starfive,jh7110-aon-syscon"

When the condition matches (then) #

Required in this object (required): "#power-domain-cells"

When the condition does not match (else) #

Properties and child nodes (properties)

#power-domain-cells — not listed as required here

false — Not permitted by this property rule.

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

syscon@10240000 {
    compatible = "starfive,jh7110-stg-syscon", "syscon";
    reg = <0x10240000 0x1000>;
};

syscon@13030000 {
    compatible = "starfive,jh7110-sys-syscon", "syscon", "simple-mfd";
    reg = <0x13030000 0x1000>;

    clock-controller {
        compatible = "starfive,jh7110-pll";
        clocks = <&osc>;
        #clock-cells = <1>;
    };
};

syscon@17010000 {
    compatible = "starfive,jh7110-aon-syscon", "syscon";
    reg = <0x17010000 0x1000>;
    #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)

Edit this page