arm64: dts: renesas: r8a77965: Add INTC-EX device node
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 26 Feb 2018 15:42:23 +0000 (16:42 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 13 Mar 2018 18:16:02 +0000 (19:16 +0100)
Populate the device node for the Interrupt Controller for External
Devices (INTC-EX) on R-Car M3-N, which serves external IRQ pins
IRQ[0-5].

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm64/boot/dts/renesas/r8a77965.dtsi

index c1ecc1b..b9aa0e7 100644 (file)
                };
 
                intc_ex: interrupt-controller@e61c0000 {
+                       compatible = "renesas,intc-ex-r8a77965", "renesas,irqc";
                        #interrupt-cells = <2>;
                        interrupt-controller;
                        reg = <0 0xe61c0000 0 0x200>;
-                       /* placeholder */
+                       interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH
+                                     GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH
+                                     GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH
+                                     GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH
+                                     GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH
+                                     GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&cpg CPG_MOD 407>;
+                       power-domains = <&sysc 32>;
+                       resets = <&cpg 407>;
                };
 
                dmac0: dma-controller@e6700000 {