ramips: improve and fix Memory 2 Move support
[openwrt.git] / target / linux / ramips / dts / DCS-930.dts
index 31dab45..3d0cf1d 100644 (file)
                };
 
                partition@50000 {
+                       label = "kernel";
+                       reg = <0x50000 0x150000>;
+               };
+
+               partition@150000 {
+                       label = "rootfs";
+                       reg = <0x150000 0x2b0000>;
+               };
+
+               partition {
                        label = "firmware";
                        reg = <0x50000 0x3b0000>;
                };
                };
        };
 
+       ethernet@10100000 {
+               mtd-mac-address = <&factory 0x4>;
+       };
+
        esw@10110000 {
                ralink,portmap = <0x2f>;
+       };
 
-               port@0 {
-                       compatible = "swconfig,port";
-                       swconfig,segment = "lan";
-                       swconfig,portmap = <0 4>;
-               };
-               port@1 {
-                       compatible = "swconfig,port";
-                       swconfig,segment = "lan";
-                       swconfig,portmap = <1 3>;
-               };
-               port@2 {
-                       compatible = "swconfig,port";
-                       swconfig,segment = "lan";
-                       swconfig,portmap = <2 2>;
-               };
-               port@3 {
-                       compatible = "swconfig,port";
-                       swconfig,segment = "lan";
-                       swconfig,portmap = <3 1>;
-               };
-               port@4 {
-                       compatible = "swconfig,port";
-                       swconfig,segment = "wan";
-                       swconfig,portmap = <4 0>;
-               };
+       wmac@10180000 {
+               ralink,mtd-eeprom = <&factory 0>;
        };
 
        otg@101c0000 {