[PATCH] add gpio to mpc837X rdb

Reynes Philippe philippe.reynes at isismpp.fr
Mon Feb 2 20:13:51 EST 2009


Signed-off-by: Philippe Reynes <philippe.reynes at isismpp.fr>
---
Index: powerpc/arch/powerpc/boot/dts/mpc8377_rdb.dts
===================================================================
--- powerpc.orig/arch/powerpc/boot/dts/mpc8377_rdb.dts
+++ powerpc/arch/powerpc/boot/dts/mpc8377_rdb.dts
@@ -109,6 +109,24 @@
 			reg = <0x200 0x100>;
 		};
 
+		gpio1: gpio-controller at c00 {
+			#gpio-cells = <2>;
+			compatible = "fsl,mpc8377-gpio",
"fsl,mpc8349-gpio";
+			reg = <0xc00 0x100>;
+			interrupts = <74 0x8>;
+			interrupt-parent = <&ipic>;
+			gpio-controller;
+		};
+
+		gpio2: gpio-controller at d00 {
+			#gpio-cells = <2>;
+			compatible = "fsl,mpc8377-gpio",
"fsl,mpc8349-gpio";
+			reg = <0xd00 0x100>;
+			interrupts = <75 0x8>;
+			interrupt-parent = <&ipic>;
+			gpio-controller;
+		};
+
 		i2c at 3000 {
 			#address-cells = <1>;
 			#size-cells = <0>;
Index: powerpc/arch/powerpc/boot/dts/mpc8378_rdb.dts
===================================================================
--- powerpc.orig/arch/powerpc/boot/dts/mpc8378_rdb.dts
+++ powerpc/arch/powerpc/boot/dts/mpc8378_rdb.dts
@@ -109,6 +109,24 @@
 			reg = <0x200 0x100>;
 		};
 
+		gpio1: gpio-controller at c00 {
+			#gpio-cells = <2>;
+			compatible = "fsl,mpc8378-gpio",
"fsl,mpc8349-gpio";
+			reg = <0xc00 0x100>;
+			interrupts = <74 0x8>;
+			interrupt-parent = <&ipic>;
+			gpio-controller;
+		};
+
+		gpio2: gpio-controller at d00 {
+			#gpio-cells = <2>;
+			compatible = "fsl,mpc8378-gpio",
"fsl,mpc8349-gpio";
+			reg = <0xd00 0x100>;
+			interrupts = <75 0x8>;
+			interrupt-parent = <&ipic>;
+			gpio-controller;
+		};
+
 		i2c at 3000 {
 			#address-cells = <1>;
 			#size-cells = <0>;
Index: powerpc/arch/powerpc/boot/dts/mpc8379_rdb.dts
===================================================================
--- powerpc.orig/arch/powerpc/boot/dts/mpc8379_rdb.dts
+++ powerpc/arch/powerpc/boot/dts/mpc8379_rdb.dts
@@ -107,6 +107,24 @@
 			reg = <0x200 0x100>;
 		};
 
+		gpio1: gpio-controller at c00 {
+			#gpio-cells = <2>;
+			compatible = "fsl,mpc8379-gpio",
"fsl,mpc8349-gpio";
+			reg = <0xc00 0x100>;
+			interrupts = <74 0x8>;
+			interrupt-parent = <&ipic>;
+			gpio-controller;
+		};
+
+		gpio2: gpio-controller at d00 {
+			#gpio-cells = <2>;
+			compatible = "fsl,mpc8379-gpio",
"fsl,mpc8349-gpio";
+			reg = <0xd00 0x100>;
+			interrupts = <75 0x8>;
+			interrupt-parent = <&ipic>;
+			gpio-controller;
+		};
+
 		i2c at 3000 {
 			#address-cells = <1>;
 			#size-cells = <0>;



More information about the Linuxppc-dev mailing list