Sunplus SP7021 SoC Interrupt Controller
Schema identifier ($id): "http://devicetree.org/schemas/interrupt-controller/sunplus,sp7021-intc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Qin Jian <qinjian@cqplus1.com>"
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"sunplus,sp7021-intc"
reg — required here #
Maximum number of items (maxItems): 2
Specifies base physical address(s) and size of the controller regs. The 1st region include type/polarity/priority/mask regs. The 2nd region include clear/masked_ext0/masked_ext1/group regs.
interrupt-controller — required here #
true — No constraints added by this property rule.
#interrupt-cells — required here #
Exact value (const): 2
The first cell is the IRQ number, the second cell is the trigger type as defined in interrupt.txt in this directory.
interrupts — required here #
Maximum number of items (maxItems): 2
EXT_INT0 & EXT_INT1, 2 interrupts references to primary interrupt controller.
Required in this object (required): "compatible", "reg", "interrupt-controller", "#interrupt-cells", "interrupts"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
intc: interrupt-controller@9c000780 {
compatible = "sunplus,sp7021-intc";
reg = <0x9c000780 0x80>, <0x9c000a80 0x80>;
interrupt-controller;
#interrupt-cells = <2>;
interrupt-parent = <&gic>;
interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>, /* EXT_INT0 */
<GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; /* EXT_INT1 */
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) Sunplus Co., Ltd. 2021