PERFORCE change 174725 for review

Rafal Jaworowski raj at FreeBSD.org
Mon Feb 15 17:04:41 UTC 2010


http://p4web.freebsd.org/chv.cgi?CH=174725

Change 174725 by raj at raj_fdt on 2010/02/15 17:04:04

	Adjust MPC85XX DTS files.
	
	- Provide localbus node for the MPC8555CDS.
	
	- Make MPC8572DS localbus node reflect really used chip selects (the
	  'ranges' prop will require more cleanup in the future when we'll
	  start using NAND controller).

Affected files ...

.. //depot/projects/fdt/sys/boot/fdt/dts/mpc8555cds.dts#2 edit
.. //depot/projects/fdt/sys/boot/fdt/dts/mpc8572ds.dts#2 edit

Differences ...

==== //depot/projects/fdt/sys/boot/fdt/dts/mpc8555cds.dts#2 (text+ko) ====

@@ -98,6 +98,46 @@
 		reg = <0x0 0x8000000>;	// 128M at 0x0
 	};
 
+	localbus at e0005000 {
+		#address-cells = <2>;
+		#size-cells = <1>;
+		compatible = "fsl,lbc", "fsl,elbc";
+		reg = <0xe0005000 0x1000>;
+		interrupts = <19 2>;
+		interrupt-parent = <&mpic>;
+
+		ranges = <0x0 0x0 0xff800000 0x00800000
+			  0x1 0x0 0xff000000 0x00800000
+			  0x2 0x0 0xf8000000 0x00008000>;
+
+		nor at 0,0 {
+			#address-cells = <1>;
+			#size-cells = <1>;
+			compatible = "cfi-flash";
+			reg = <0x0 0x0 0x00800000>;
+			bank-width = <2>;
+			device-width = <1>;
+		};
+
+		nor at 1,0 {
+			#address-cells = <1>;
+			#size-cells = <1>;
+			compatible = "cfi-flash";
+			reg = <0x1 0x0 0x00800000>;
+			bank-width = <2>;
+			device-width = <1>;
+		};
+
+		rtc at 2,0 {
+			#address-cells = <1>;
+			#size-cells = <1>;
+			compatible = "dallas,ds1553";
+			reg = <0x2 0x0 0x00008000>;
+			bank-width = <1>;
+			device-width = <1>;
+		};
+	};
+
 	soc8555 at e0000000 {
 		#address-cells = <1>;
 		#size-cells = <1>;

==== //depot/projects/fdt/sys/boot/fdt/dts/mpc8572ds.dts#2 (text+ko) ====

@@ -120,13 +120,7 @@
 		interrupts = <19 2>;
 		interrupt-parent = <&mpic>;
 
-		ranges = <0x0 0x0 0x0 0xe8000000 0x08000000
-			  0x1 0x0 0x0 0xe0000000 0x08000000
-			  0x2 0x0 0x0 0xffa00000 0x00040000
-			  0x3 0x0 0x0 0xffdf0000 0x00008000
-			  0x4 0x0 0x0 0xffa40000 0x00040000
-			  0x5 0x0 0x0 0xffa80000 0x00040000
-			  0x6 0x0 0x0 0xffac0000 0x00040000>;
+		ranges = <0x0 0x0 0x0 0xe8000000 0x08000000>;
 
 		nor at 0,0 {
 			#address-cells = <1>;


More information about the p4-projects mailing list