Aspeed System Control Unit

Schema identifier ($id): "http://devicetree.org/schemas/mfd/aspeed,ast2x00-scu.yaml#"

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

The Aspeed System Control Unit manages the global behaviour of the SoC, configuring elements such as clocks, pinmux, and reset. In AST2700 SOC which has two soc connection, each soc have its own scu register control, ast2700-scu0 for soc0, ast2700-scu1 for soc1.

Maintainers (maintainers): "Joel Stanley <joel@jms.id.au>", "Andrew Jeffery <andrew@aj.id.au>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "aspeed,ast2400-scu", "aspeed,ast2500-scu", "aspeed,ast2600-scu", "aspeed,ast2700-scu0", "aspeed,ast2700-scu1"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

ranges — required here #

true — No constraints added by this property rule.

#address-cells — required here #

Minimum value (minimum): 1

Maximum value (maximum): 2

#size-cells — required here #

Exact value (const): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

Properties matching a name pattern (patternProperties) #

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

PCI-to-AHB Bridge Control The bridge is available on platforms with the VGA enabled on the Aspeed device. In this case, the host has access to a 64KiB window into all of the BMC's memory. The BMC can disable this bridge. If the bridge is enabled, the host has read access to all the regions of memory, however the host only has read and write access depending on a register controlled by the BMC.

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

Allowed values (enum): "aspeed,ast2400-p2a-ctrl", "aspeed,ast2500-p2a-ctrl"

reg — required here

Maximum number of items (maxItems): 1

memory-region — not listed as required here

Maximum number of items (maxItems): 1

A reserved_memory region to be used for the PCI to AHB mapping

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

^pinctrl(@[0-9a-f]+)?$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — required here

Rule for matching array elements (contains)

Allowed values (enum): "aspeed,ast2400-pinctrl", "aspeed,ast2500-pinctrl", "aspeed,ast2600-pinctrl"

Required in this object (required): "compatible"

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

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Allowed values (enum): "aspeed,ast2500-scu-ic", "aspeed,ast2600-scu-ic0", "aspeed,ast2600-scu-ic1", "aspeed,ast2700-scu-ic0", "aspeed,ast2700-scu-ic1", "aspeed,ast2700-scu-ic2", "aspeed,ast2700-scu-ic3"

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

Unique hardware silicon identifiers within the SoC

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 — not listed as required here

Array item rules (items)

Item 1

Allowed values (enum): "aspeed,ast2400-silicon-id", "aspeed,ast2500-silicon-id", "aspeed,ast2600-silicon-id", "aspeed,ast2700-silicon-id"

Item 2

Exact value (const): "aspeed,silicon-id"

reg — not listed as required here

The reg should be the unique silicon id register, and not backwards compatible one in eg. the 2600.

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

silicon id information registers

Item 2

unique chip id registers

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

Memory region used for the AST2600's custom SMP bringup protocol

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): "aspeed,ast2600-smpmem"

reg — required here

The SMP memory region

Maximum number of items (maxItems): 1

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

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

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

false

Not allowed by this rule.

Examples (examples) #

syscon@1e6e2000 {
    compatible = "aspeed,ast2400-scu", "syscon", "simple-mfd";
    reg = <0x1e6e2000 0x1a8>;
    #clock-cells = <1>;
    #reset-cells = <1>;

    #address-cells = <1>;
    #size-cells = <1>;
    ranges = <0x0 0x1e6e2000 0x1000>;

    p2a-control@2c {
        compatible = "aspeed,ast2400-p2a-ctrl";
        reg = <0x2c 0x4>;
    };

    silicon-id@7c {
        compatible = "aspeed,ast2500-silicon-id", "aspeed,silicon-id";
        reg = <0x7c 0x4>, <0x150 0x8>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page