svn commit: r260235 - head/sys/boot/fdt/dts

Ian Lepore ian at FreeBSD.org
Fri Jan 3 18:36:19 UTC 2014


Author: ian
Date: Fri Jan  3 18:36:19 2014
New Revision: 260235
URL: http://svnweb.freebsd.org/changeset/base/260235

Log:
  Update the dockstar DTS to reflect just NAND flash (no SPI NOR flash, and
  the LED specification was just misplaced).  The rather odd memory mappings
  that were in place used an undocumented attribute value (0x0f) that caused
  problems with the system.
  
  Submitted by:	Markus Pfeiffer <markus.pfeiffer at morphism.de>

Modified:
  head/sys/boot/fdt/dts/dockstar.dts

Modified: head/sys/boot/fdt/dts/dockstar.dts
==============================================================================
--- head/sys/boot/fdt/dts/dockstar.dts	Fri Jan  3 18:08:31 2014	(r260234)
+++ head/sys/boot/fdt/dts/dockstar.dts	Fri Jan  3 18:36:19 2014	(r260235)
@@ -76,44 +76,17 @@
 		#size-cells = <1>;
 		compatible = "mrvl,lbc";
 
-		/* This reflects CPU decode windows setup. */
-		ranges = <0x0 0x0f 0xf9300000 0x00100000
-			  0x1 0x1e 0xfa000000 0x00100000
-			  0x2 0x1d 0xfa100000 0x02000000
-			  0x3 0x1b 0xfc100000 0x00000400>;
+		/* This reflects CPU decode windows setup for NAND access. */
+		ranges = <0x0 0x2f 0xf9300000 0x00100000>;
 
-		nor at 0,0 {
+		nand at 0,0 {
 			#address-cells = <1>;
 			#size-cells = <1>;
-			compatible = "cfi-flash";
+			compatible = "mrvl,nfc";
 			reg = <0x0 0x0 0x00100000>;
 			bank-width = <2>;
 			device-width = <1>;
 		};
-
-		led at 1,0 {
-			#address-cells = <1>;
-			#size-cells = <1>;
-			compatible = "led";
-			reg = <0x1 0x0 0x00100000>;
-		};
-
-		nor at 2,0 {
-			#address-cells = <1>;
-			#size-cells = <1>;
-			compatible = "cfi-flash";
-			reg = <0x2 0x0 0x02000000>;
-			bank-width = <2>;
-			device-width = <1>;
-		};
-
-		nand at 3,0 {
-			#address-cells = <1>;
-			#size-cells = <1>;
-			reg = <0x3 0x0 0x00100000>;
-			bank-width = <2>;
-			device-width = <1>;
-		};
 	};
 
 	SOC: soc88f6281 at f1000000 {


More information about the svn-src-head mailing list