Socionext UniPhier SoC-glue logic

Schema identifier ($id): "http://devicetree.org/schemas/soc/socionext/socionext,uniphier-soc-glue.yaml#"

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

Maintainers (maintainers): "Kunihiko Hayashi <hayashi.kunihiko@socionext.com>"

SoC-glue logic implemented on Socionext UniPhier SoCs is a collection of miscellaneous function registers handling signals outside system components.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "socionext,uniphier-ld4-soc-glue", "socionext,uniphier-pro4-soc-glue", "socionext,uniphier-pro5-soc-glue", "socionext,uniphier-pxs2-soc-glue", "socionext,uniphier-sld8-soc-glue", "socionext,uniphier-ld11-soc-glue", "socionext,uniphier-ld20-soc-glue", "socionext,uniphier-pxs3-soc-glue", "socionext,uniphier-nx1-soc-glue"

Item 2

Exact value (const): "simple-mfd"

Item 3

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

pinctrl — not listed as required here #

Shared schema rule ($ref): /schemas/pinctrl/socionext,uniphier-pinctrl.yaml#

usb-hub — not listed as required here #

Shared schema rule ($ref): /schemas/phy/socionext,uniphier-usb2-phy.yaml#

clock-controller — not listed as required here #

Shared schema rule ($ref): /schemas/clock/socionext,uniphier-clock.yaml#

All of these rules must match (allOf) #

Rule 1 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "socionext,uniphier-pro4-soc-glue", "socionext,uniphier-ld11-soc-glue"

When the condition matches (then) #

Properties and child nodes (properties)

usb-hub — not listed as required here

false — Not permitted by this property rule.

Rule 2 #

Condition (if) #

This rule must not match (not)

Properties and child nodes (properties)

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "socionext,uniphier-pro4-soc-glue"

When the condition matches (then) #

Properties and child nodes (properties)

clock-controller — not listed as required here

false — Not permitted by this property rule.

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

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

false

Not allowed by this rule.

Examples (examples) #

syscon@5f800000 {
    compatible = "socionext,uniphier-pro4-soc-glue",
                 "simple-mfd", "syscon";
    reg = <0x5f800000 0x2000>;

    pinctrl {
        compatible = "socionext,uniphier-pro4-pinctrl";
    };

    usb-hub {
        compatible = "socionext,uniphier-pro4-usb2-phy";
        #address-cells = <1>;
        #size-cells = <0>;

        phy@0 {
            reg = <0>;
            #phy-cells = <0>;
        };

        phy@1 {
            reg = <1>;
            #phy-cells = <0>;
        };

        phy@2 {
            reg = <2>;
            #phy-cells = <0>;
        };

        phy@3 {
            reg = <3>;
            #phy-cells = <0>;
        };
    };

    clock-controller {
        compatible = "socionext,uniphier-pro4-sg-clock";
        #clock-cells = <1>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page