]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: shmobile: r8a7791 IRQC device tree node
authorMagnus Damm <damm@opensource.se>
Tue, 1 Oct 2013 08:12:29 +0000 (17:12 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 8 Oct 2013 00:25:21 +0000 (09:25 +0900)
Enable a r8a7791 IRQC block by adding a device tree
node for the IRQC hardware and pins IRQ0 to IRQ9.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7791.dtsi

index bbed43bd9be9cd46806f3cb1159204bc6806e550..b70141758de169594b8f052329e7e10fef044594 100644 (file)
                        <0 0xf1006000 0 0x2000>;
                interrupts = <1 9 0xf04>;
        };
+
+       irqc0: interrupt-controller@e61c0000 {
+               compatible = "renesas,irqc";
+               #interrupt-cells = <2>;
+               interrupt-controller;
+               reg = <0 0xe61c0000 0 0x200>;
+               interrupt-parent = <&gic>;
+               interrupts = <0 0 4>,
+                             <0 1 4>,
+                             <0 2 4>,
+                             <0 3 4>,
+                             <0 12 4>,
+                             <0 13 4>,
+                             <0 14 4>,
+                             <0 15 4>,
+                             <0 16 4>,
+                             <0 17 4>;
+       };
 };