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.pfeif...@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@0,0 {
+               nand@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@1,0 {
-                       #address-cells = <1>;
-                       #size-cells = <1>;
-                       compatible = "led";
-                       reg = <0x1 0x0 0x00100000>;
-               };
-
-               nor@2,0 {
-                       #address-cells = <1>;
-                       #size-cells = <1>;
-                       compatible = "cfi-flash";
-                       reg = <0x2 0x0 0x02000000>;
-                       bank-width = <2>;
-                       device-width = <1>;
-               };
-
-               nand@3,0 {
-                       #address-cells = <1>;
-                       #size-cells = <1>;
-                       reg = <0x3 0x0 0x00100000>;
-                       bank-width = <2>;
-                       device-width = <1>;
-               };
        };
 
        SOC: soc88f6281@f1000000 {
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to