]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
powerpc/83xx: mpc8349emitx - add gpio controller declarations
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Mon, 16 Nov 2009 13:58:51 +0000 (16:58 +0300)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 9 Dec 2009 21:15:22 +0000 (15:15 -0600)
mpc8349 bears two GPIO controllers. Enable support for them.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/boot/dts/mpc8349emitx.dts

index feeeb7f9d6091031825dfc2f477ebe785b9d1f26..16872c9a79bdd96dad710c57561ea831a45425e8 100644 (file)
                        reg = <0x200 0x100>;
                };
 
+               gpio1: gpio-controller@c00 {
+                       #gpio-cells = <2>;
+                       compatible = "fsl,mpc8349-gpio";
+                       reg = <0xc00 0x100>;
+                       interrupts = <74 0x8>;
+                       interrupt-parent = <&ipic>;
+                       gpio-controller;
+               };
+
+               gpio2: gpio-controller@d00 {
+                       #gpio-cells = <2>;
+                       compatible = "fsl,mpc8349-gpio";
+                       reg = <0xd00 0x100>;
+                       interrupts = <75 0x8>;
+                       interrupt-parent = <&ipic>;
+                       gpio-controller;
+               };
+
                i2c@3000 {
                        #address-cells = <1>;
                        #size-cells = <0>;