[PATCH 2/5] Add legacy devices to mpc8641_hpcn.dts

Wade Farnsworth wfarnsworth at mvista.com
Wed May 16 02:27:50 EST 2007


This adds device nodes for the ISA devices on the MPC8641 HPCN to the
dts.  Additionally, it moves the node for the i8259 to the isa bus,
since the i8259 is actually on that bus.


Signed-off-by: Wade Farnsworth <wfarnsworth at mvista.com>

---

 arch/powerpc/boot/dts/mpc8641_hpcn.dts |   48 ++++++++++++++++++-----
 1 file changed, 38 insertions(+), 10 deletions(-)

Index: linux-2.6-8641/arch/powerpc/boot/dts/mpc8641_hpcn.dts
===================================================================
--- linux-2.6-8641.orig/arch/powerpc/boot/dts/mpc8641_hpcn.dts
+++ linux-2.6-8641/arch/powerpc/boot/dts/mpc8641_hpcn.dts
@@ -285,17 +285,45 @@
 				f800 0 0 3 &i8259 0 0
 				f800 0 0 4 &i8259 0 0
 				>;
-			i8259: i8259 at 4d0 {
-				clock-frequency = <0>;
-				interrupt-controller;
-				device_type = "interrupt-controller";
-				#address-cells = <0>;
+
+			isa at f0 {
+				device_type = "isa";
 				#interrupt-cells = <2>;
-				built-in;
-				compatible = "chrp,iic";
-                	        big-endian;
-				interrupts = <49 2>;
-				interrupt-parent = <&mpic>;
+				#size-cells = <1>;
+				#address-cells = <2>;
+				reg = <f000 0 0 0 0>;
+				ranges = <1 0 01000000 0 0 00001000>;
+				interrupt-parent = <4d0>;
+
+				8042 at 60 {
+					device_type = "8042";
+					reg = <1 60 1 1 64 1>;
+					interrupts = <1 3 c 3>;
+					interrupt-parent = <4d0>;
+				};
+
+				rtc at 70 {
+					device_type = "rtc";
+					reg = <1 70 2>;
+				};
+
+				gpio at 400 {
+					device_type = "gpio";
+					reg = <1 400 80>;
+				};
+
+				i8259: i8259 at 4d0 {
+					clock-frequency = <0>;
+					interrupt-controller;
+					device_type = "interrupt-controller";
+					#address-cells = <0>;
+					#interrupt-cells = <2>;
+					built-in;
+					compatible = "chrp,iic";
+                	        	big-endian;
+					interrupts = <49 2>;
+					interrupt-parent = <&mpic>;
+				};
 			};
 
 		};





More information about the Linuxppc-dev mailing list