NXP LPC32xx MIC, SIC1 and SIC2 Interrupt Controllers
Schema identifier ($id): "http://devicetree.org/schemas/interrupt-controller/nxp,lpc3220-mic.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Vladimir Zapolskiy <vz@mleia.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "nxp,lpc3220-mic", "nxp,lpc3220-sic"
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): 2
interrupts — not listed as required here #
Array item rules (items) #
Item 1
Regular interrupt request
Item 2
Fast interrupt request
Required in this object (required): "compatible", "reg", "interrupt-controller", "#interrupt-cells"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"nxp,lpc3220-sic"When the condition matches (
then) #
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/irq.h>
mic: interrupt-controller@40008000 {
compatible = "nxp,lpc3220-mic";
reg = <0x40008000 0x4000>;
interrupt-controller;
#interrupt-cells = <2>;
};
interrupt-controller@4000c000 {
compatible = "nxp,lpc3220-sic";
reg = <0x4000c000 0x4000>;
interrupt-controller;
#interrupt-cells = <2>;
interrupt-parent = <&mic>;
interrupts = <0 IRQ_TYPE_LEVEL_LOW>,
<30 IRQ_TYPE_LEVEL_LOW>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)