Renesas R-Mobile System Controller

Schema identifier ($id): "http://devicetree.org/schemas/power/renesas,sysc-rmobile.yaml#"

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

Maintainers (maintainers): "Geert Uytterhoeven <geert+renesas@glider.be>", "Magnus Damm <magnus.damm@gmail.com>"

The R-Mobile System Controller provides the following functions:
  - Boot mode management,
  - Reset generation,
  - Power management.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "renesas,sysc-r8a73a4", "renesas,sysc-r8a7740", "renesas,sysc-sh73a0"

Item 2

Exact value (const): "renesas,sysc-rmobile"

reg — required here #

Array item rules (items) #

Item 1

Normally accessible register block

Item 2

Register block protected by the HPB semaphore

pm-domains — required here #

Value type (type): "object"

This node contains a hierarchy of PM domain nodes, which should match the Power Area Hierarchy in the Power Domain Specifications section of the device's datasheet.

Properties and child nodes (properties) #

#address-cells — not listed as required here

Exact value (const): 1

#size-cells — not listed as required here

Exact value (const): 0

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

Shared schema rule ($ref): #/$defs/pd-node

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

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

false

Not allowed by this rule.

Reusable definitions ($defs) #

pd-node #

Value type (type): "object"

PM domain node representing a PM domain. This node should be named by the real power area name, and thus its name should be unique.

Properties and child nodes (properties) #

reg — not listed as required here

Maximum number of items (maxItems): 1

If the PM domain is not always-on, this property must contain the bit index number for the corresponding power area in the various Power Control and Status Registers. If the PM domain is always-on, this property must be omitted.

#address-cells — not listed as required here

Exact value (const): 1

#size-cells — not listed as required here

Exact value (const): 0

#power-domain-cells — required here

Exact value (const): 0

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

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

Shared schema rule ($ref): #/$defs/pd-node

Examples (examples) #

// This shows a subset of the r8a7740 PM domain hierarchy, containing the
// C5 "always-on" domain, 2 of its subdomains (A4S and A4SU), and the A3SP
// domain, which is a subdomain of A4S.
sysc: system-controller@e6180000 {
        compatible = "renesas,sysc-r8a7740", "renesas,sysc-rmobile";
        reg = <0xe6180000 0x8000>, <0xe6188000 0x8000>;

        pm-domains {
                pd_c5: c5 {
                        #address-cells = <1>;
                        #size-cells = <0>;
                        #power-domain-cells = <0>;

                        pd_a4s: a4s@10 {
                                reg = <10>;
                                #address-cells = <1>;
                                #size-cells = <0>;
                                #power-domain-cells = <0>;

                                pd_a3sp: a3sp@11 {
                                        reg = <11>;
                                        #power-domain-cells = <0>;
                                };
                        };

                        pd_a4su: a4su@20 {
                                reg = <20>;
                                #power-domain-cells = <0>;
                        };
                };
        };
};

Source notes #

Annotations retained from the schema source

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

Line 23: R-Mobile APE6

Line 24: R-Mobile A1

Line 25: SH-Mobile AG5

Line 26: Generic SH/R-Mobile

Edit this page