]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: shmobile: Add GIO to EMEV2 dtsi
authorMagnus Damm <damm@opensource.se>
Tue, 2 Jul 2013 09:27:57 +0000 (18:27 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 17 Jul 2013 01:06:45 +0000 (10:06 +0900)
Add GIO0->GIO4 device nodes to the EMEV2 dtsi file.

Signed-off-by: Magnus Damm <damm@opensource.se>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/emev2.dtsi

index c8a8c08b48ddc8608f4686150b6e1280a5f33dd3..99ad2b2e8e140f084596aa52df688260fc07db56 100644 (file)
        compatible = "renesas,emev2";
        interrupt-parent = <&gic>;
 
+       aliases {
+               gpio0 = &gpio0;
+               gpio1 = &gpio1;
+               gpio2 = &gpio2;
+               gpio3 = &gpio3;
+               gpio4 = &gpio4;
+       };
+
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
                reg = <0xe1050000 0x38>;
                interrupts = <0 11 0>;
        };
+
+       gpio0: gpio@e0050000 {
+               compatible = "renesas,em-gio";
+               reg = <0xe0050000 0x2c>, <0xe0050040 0x20>;
+               interrupts = <0 67 0>, <0 68 0>;
+               gpio-controller;
+               #gpio-cells = <2>;
+               ngpios = <32>;
+               interrupt-controller;
+               #interrupt-cells = <2>;
+       };
+       gpio1: gpio@e0050080 {
+               compatible = "renesas,em-gio";
+               reg = <0xe0050080 0x2c>, <0xe00500c0 0x20>;
+               interrupts = <0 69 0>, <0 70 0>;
+               gpio-controller;
+               #gpio-cells = <2>;
+               ngpios = <32>;
+               interrupt-controller;
+               #interrupt-cells = <2>;
+       };
+       gpio2: gpio@e0050100 {
+               compatible = "renesas,em-gio";
+               reg = <0xe0050100 0x2c>, <0xe0050140 0x20>;
+               interrupts = <0 71 0>, <0 72 0>;
+               gpio-controller;
+               #gpio-cells = <2>;
+               ngpios = <32>;
+               interrupt-controller;
+               #interrupt-cells = <2>;
+       };
+       gpio3: gpio@e0050180 {
+               compatible = "renesas,em-gio";
+               reg = <0xe0050180 0x2c>, <0xe00501c0 0x20>;
+               interrupts = <0 73 0>, <0 74 0>;
+               gpio-controller;
+               #gpio-cells = <2>;
+               ngpios = <32>;
+               interrupt-controller;
+               #interrupt-cells = <2>;
+       };
+       gpio4: gpio@e0050200 {
+               compatible = "renesas,em-gio";
+               reg = <0xe0050200 0x2c>, <0xe0050240 0x20>;
+               interrupts = <0 75 0>, <0 76 0>;
+               gpio-controller;
+               #gpio-cells = <2>;
+               ngpios = <31>;
+               interrupt-controller;
+               #interrupt-cells = <2>;
+       };
 };