Aspeed Vectored Interrupt Controller
Schema identifier ($id): "http://devicetree.org/schemas/interrupt-controller/aspeed,ast2400-vic.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Andrew Jeffery <andrew@codeconstruct.com.au>"
The AST2400 and AST2500 SoC families include a legacy register layout before a redesigned layout, but the bindings do not prescribe the use of one or the other.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "aspeed,ast2400-vic", "aspeed,ast2500-vic"
reg — required here #
Maximum number of items (maxItems): 1
interrupt-controller — required here #
true — No constraints added by this property rule.
#interrupt-cells — required here #
Exact value (const): 1
Specifies the number of cells needed to encode an interrupt source. It must be 1 as the VIC has no configuration options for interrupt sources. The single cell defines the interrupt number.
valid-sources — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Maximum number of items (maxItems): 2
A bitmap of supported sources for the implementation.
Required in this object (required): "compatible", "reg", "interrupt-controller", "#interrupt-cells"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/interrupt-controller.yaml
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
interrupt-controller@1e6c0080 {
compatible = "aspeed,ast2400-vic";
reg = <0x1e6c0080 0x80>;
interrupt-controller;
#interrupt-cells = <1>;
valid-sources = <0xffffffff 0x0007ffff>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)