SPEAr3xx Shared IRQ controller
Schema identifier ($id): "http://devicetree.org/schemas/interrupt-controller/st,spear300-shirq.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Viresh Kumar <vireshk@kernel.org>", "Shiraz Hashim <shiraz.linux.kernel@gmail.com>"
SPEAr3xx architecture includes shared/multiplexed irqs for certain set of devices. The multiplexor provides a single interrupt to parent interrupt controller (VIC) on behalf of a group of devices.
There can be multiple groups available on SPEAr3xx variants but not exceeding 4. The number of devices in a group can differ, further they may share same set of status/mask registers spanning across different bit masks. Also in some cases the group may not have enable or other registers. This makes software little complex.
A single node in the device tree is used to describe the shared interrupt multiplexer (one node for all groups). A group in the interrupt controller shares config/control registers with other groups. For example, a 32-bit interrupt enable/disable config register can accommodate up to 4 interrupt groups.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "st,spear300-shirq", "st,spear310-shirq", "st,spear320-shirq"
reg — required here #
Maximum number of items (maxItems): 1
#interrupt-cells — required here #
Exact value (const): 1
interrupt-controller — required here #
true — No constraints added by this property rule.
interrupts — required here #
Interrupt specifier array for SHIRQ groups
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Required in this object (required): "compatible", "reg", "#interrupt-cells", "interrupt-controller", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
interrupt-controller@b3000000 {
compatible = "st,spear320-shirq";
reg = <0xb3000000 0x1000>;
interrupts = <28 29 30 1>;
#interrupt-cells = <1>;
interrupt-controller;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)