1*8ccc0d23SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*8ccc0d23SEmmanuel Vadot%YAML 1.2 3*8ccc0d23SEmmanuel Vadot--- 4*8ccc0d23SEmmanuel Vadot$id: http://devicetree.org/schemas/interrupt-controller/nxp,lpc3220-mic.yaml# 5*8ccc0d23SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*8ccc0d23SEmmanuel Vadot 7*8ccc0d23SEmmanuel Vadottitle: NXP LPC32xx MIC, SIC1 and SIC2 Interrupt Controllers 8*8ccc0d23SEmmanuel Vadot 9*8ccc0d23SEmmanuel Vadotmaintainers: 10*8ccc0d23SEmmanuel Vadot - Vladimir Zapolskiy <vz@mleia.com> 11*8ccc0d23SEmmanuel Vadot 12*8ccc0d23SEmmanuel Vadotproperties: 13*8ccc0d23SEmmanuel Vadot compatible: 14*8ccc0d23SEmmanuel Vadot enum: 15*8ccc0d23SEmmanuel Vadot - nxp,lpc3220-mic 16*8ccc0d23SEmmanuel Vadot - nxp,lpc3220-sic 17*8ccc0d23SEmmanuel Vadot 18*8ccc0d23SEmmanuel Vadot reg: 19*8ccc0d23SEmmanuel Vadot maxItems: 1 20*8ccc0d23SEmmanuel Vadot 21*8ccc0d23SEmmanuel Vadot interrupt-controller: true 22*8ccc0d23SEmmanuel Vadot 23*8ccc0d23SEmmanuel Vadot '#interrupt-cells': 24*8ccc0d23SEmmanuel Vadot const: 2 25*8ccc0d23SEmmanuel Vadot 26*8ccc0d23SEmmanuel Vadot interrupts: 27*8ccc0d23SEmmanuel Vadot items: 28*8ccc0d23SEmmanuel Vadot - description: Regular interrupt request 29*8ccc0d23SEmmanuel Vadot - description: Fast interrupt request 30*8ccc0d23SEmmanuel Vadot 31*8ccc0d23SEmmanuel Vadotrequired: 32*8ccc0d23SEmmanuel Vadot - compatible 33*8ccc0d23SEmmanuel Vadot - reg 34*8ccc0d23SEmmanuel Vadot - interrupt-controller 35*8ccc0d23SEmmanuel Vadot - '#interrupt-cells' 36*8ccc0d23SEmmanuel Vadot 37*8ccc0d23SEmmanuel VadotallOf: 38*8ccc0d23SEmmanuel Vadot - if: 39*8ccc0d23SEmmanuel Vadot properties: 40*8ccc0d23SEmmanuel Vadot compatible: 41*8ccc0d23SEmmanuel Vadot contains: 42*8ccc0d23SEmmanuel Vadot const: nxp,lpc3220-sic 43*8ccc0d23SEmmanuel Vadot then: 44*8ccc0d23SEmmanuel Vadot required: 45*8ccc0d23SEmmanuel Vadot - interrupts 46*8ccc0d23SEmmanuel Vadot 47*8ccc0d23SEmmanuel VadotadditionalProperties: false 48*8ccc0d23SEmmanuel Vadot 49*8ccc0d23SEmmanuel Vadotexamples: 50*8ccc0d23SEmmanuel Vadot - | 51*8ccc0d23SEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 52*8ccc0d23SEmmanuel Vadot 53*8ccc0d23SEmmanuel Vadot mic: interrupt-controller@40008000 { 54*8ccc0d23SEmmanuel Vadot compatible = "nxp,lpc3220-mic"; 55*8ccc0d23SEmmanuel Vadot reg = <0x40008000 0x4000>; 56*8ccc0d23SEmmanuel Vadot interrupt-controller; 57*8ccc0d23SEmmanuel Vadot #interrupt-cells = <2>; 58*8ccc0d23SEmmanuel Vadot }; 59*8ccc0d23SEmmanuel Vadot 60*8ccc0d23SEmmanuel Vadot interrupt-controller@4000c000 { 61*8ccc0d23SEmmanuel Vadot compatible = "nxp,lpc3220-sic"; 62*8ccc0d23SEmmanuel Vadot reg = <0x4000c000 0x4000>; 63*8ccc0d23SEmmanuel Vadot interrupt-controller; 64*8ccc0d23SEmmanuel Vadot #interrupt-cells = <2>; 65*8ccc0d23SEmmanuel Vadot interrupt-parent = <&mic>; 66*8ccc0d23SEmmanuel Vadot interrupts = <0 IRQ_TYPE_LEVEL_LOW>, 67*8ccc0d23SEmmanuel Vadot <30 IRQ_TYPE_LEVEL_LOW>; 68*8ccc0d23SEmmanuel Vadot }; 69