Hisilicon CPU controller

Schema identifier ($id): "http://devicetree.org/schemas/arm/hisilicon/controller/cpuctrl.yaml#"

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

Maintainers (maintainers): "Wei Xu <xuwei5@hisilicon.com>"

The clock registers and power registers of secondary cores are defined in CPU controller, especially in HIX5HD2 SoC.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Exact value (const): "hisilicon,cpuctrl"

reg — required here #

Maximum number of items (maxItems): 1

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 1

ranges — not listed as required here #

true — No constraints added by this property rule.

Properties matching a name pattern (patternProperties) #

^clock@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

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

false

Not allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Exact value (const): "hisilicon,hix5hd2-clock"

reg — required here

Maximum number of items (maxItems): 1

#clock-cells — required here

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

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

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

Value type (type): "object"

Examples (examples) #

cpuctrl@a22000 {
    compatible = "hisilicon,cpuctrl";
    #address-cells = <1>;
    #size-cells = <1>;
    reg = <0x00a22000 0x2000>;
    ranges = <0 0x00a22000 0x2000>;

    clock: clock@0 {
        compatible = "hisilicon,hix5hd2-clock";
        reg = <0 0x2000>;
        #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