summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-11-16 14:58:51 +0100
committerKumar Gala <galak@kernel.crashing.org>2009-12-09 22:15:22 +0100
commit9174e4989ecf53eca69767229deb9ad85efd55fe (patch)
treeaf27c4f422d8d9ab5370fd3ab05fbb1cfbb82874 /arch/powerpc
parentpowerpc/fsl: try to explain why the interrupt numbers are off by 16 (diff)
downloadlinux-9174e4989ecf53eca69767229deb9ad85efd55fe.tar.xz
linux-9174e4989ecf53eca69767229deb9ad85efd55fe.zip
powerpc/83xx: mpc8349emitx - add gpio controller declarations
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/boot/dts/mpc8349emitx.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/mpc8349emitx.dts b/arch/powerpc/boot/dts/mpc8349emitx.dts
index feeeb7f9d609..16872c9a79bd 100644
--- a/arch/powerpc/boot/dts/mpc8349emitx.dts
+++ b/arch/powerpc/boot/dts/mpc8349emitx.dts
@@ -63,6 +63,24 @@
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>;