Merge git://git.denx.de/u-boot-video
[oweals/u-boot.git] / arch / arm / dts / fsl-ls1043a-rdb.dts
index 17a06812c571942bdc8d67f72c3e51257fe68b3f..f271e714b18e4be8504f1d5bcddc25c56f0dcfd0 100644 (file)
 
 / {
        model = "LS1043A RDB Board";
+
+        aliases {
+               spi1 = &dspi0;
+        };
+
+};
+
+&dspi0 {
+       bus-num = <0>;
+       status = "okay";
+
+       dspiflash: n25q12a {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               compatible = "spi-flash";
+               reg = <0>;
+               spi-max-frequency = <1000000>; /* input clock */
+       };
+
 };
 
 &i2c0 {
                compatible = "adi,adt7461a";
                reg = <0x4c>;
        };
-       eeprom@56 {
+       eeprom@52 {
                compatible = "at24,24c512";
                reg = <0x52>;
        };
 
-       eeprom@57 {
+       eeprom@53 {
                compatible = "at24,24c512";
                reg = <0x53>;
        };
@@ -50,8 +69,8 @@
        #size-cells = <1>;
        /* NOR, NAND Flashes and FPGA on board */
        ranges = <0x0 0x0 0x0 0x60000000 0x08000000
-                 0x2 0x0 0x0 0x7e800000 0x00010000
-                 0x3 0x0 0x0 0x7fb00000 0x00000100>;
+                 0x1 0x0 0x0 0x7e800000 0x00010000
+                 0x2 0x0 0x0 0x7fb00000 0x00000100>;
 
                nor@0,0 {
                        compatible = "cfi-flash";