ARM: dts: sun9i: Add NMI controller device node
authorChen-Yu Tsai <wens@csie.org>
Thu, 3 Dec 2015 08:20:13 +0000 (16:20 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 3 Dec 2015 09:45:58 +0000 (10:45 +0100)
The Allwinner A80 SoC has an NMI controller. NMI is an external
interrupt pin exclusely used with PMICs and other system critical
peripherals (such as RTC) in Allwinner's reference designs.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun9i-a80.dtsi

index dc666c69f6abafb245d060a355de71d91a38cdff..e838f206f2a0f34f361bf858d00a6762b4d5739c 100644 (file)
                        #reset-cells = <1>;
                };
 
+               nmi_intc: interrupt-controller@080015a0 {
+                       compatible = "allwinner,sun9i-a80-nmi";
+                       interrupt-controller;
+                       #interrupt-cells = <2>;
+                       reg = <0x080015a0 0xc>;
+                       interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
+               };
+
                r_ir: ir@08002000 {
                        compatible = "allwinner,sun5i-a13-ir";
                        interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;