diff mbox

add gpio to mpc837X rdb

Message ID 761F451C5F17F74DAEE4661DA5ABBC1616C455@factorix.ISISTHIBAUD.local (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Reynes Philippe Feb. 2, 2009, 9:13 a.m. UTC
Signed-off-by: Philippe Reynes <philippe.reynes@isismpp.fr>
---
 			#address-cells = <1>;
 			#size-cells = <0>;

Comments

Peter Korsgaard Feb. 2, 2009, 12:27 p.m. UTC | #1
>>>>> "Reynes" == Reynes Philippe <philippe.reynes@isismpp.fr> writes:

 Reynes> Signed-off-by: Philippe Reynes <philippe.reynes@isismpp.fr>
 Reynes> ---
 Reynes> Index: powerpc/arch/powerpc/boot/dts/mpc8377_rdb.dts
 Reynes> ===================================================================
 Reynes> --- powerpc.orig/arch/powerpc/boot/dts/mpc8377_rdb.dts
 Reynes> +++ powerpc/arch/powerpc/boot/dts/mpc8377_rdb.dts
 Reynes> @@ -109,6 +109,24 @@
 Reynes>  			reg = <0x200 0x100>;
 Reynes>  		};
 
 Reynes> +		gpio1: gpio-controller@c00 {
 Reynes> +			#gpio-cells = <2>;
 Reynes> +			compatible = "fsl,mpc8377-gpio",
 Reynes> "fsl,mpc8349-gpio";

Still word wrapped. Please try sending the patch to yourself first and
check if you can apply it before sending it to the list.
diff mbox

Patch

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@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@d00 {
+			#gpio-cells = <2>;
+			compatible = "fsl,mpc8377-gpio",
"fsl,mpc8349-gpio";
+			reg = <0xd00 0x100>;
+			interrupts = <75 0x8>;
+			interrupt-parent = <&ipic>;
+			gpio-controller;
+		};
+
 		i2c@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@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@d00 {
+			#gpio-cells = <2>;
+			compatible = "fsl,mpc8378-gpio",
"fsl,mpc8349-gpio";
+			reg = <0xd00 0x100>;
+			interrupts = <75 0x8>;
+			interrupt-parent = <&ipic>;
+			gpio-controller;
+		};
+
 		i2c@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@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@d00 {
+			#gpio-cells = <2>;
+			compatible = "fsl,mpc8379-gpio",
"fsl,mpc8349-gpio";
+			reg = <0xd00 0x100>;
+			interrupts = <75 0x8>;
+			interrupt-parent = <&ipic>;
+			gpio-controller;
+		};
+
 		i2c@3000 {