Author: luka
Date: 2014-11-11 01:05:14 +0100 (Tue, 11 Nov 2014)
New Revision: 43231

Modified:
   trunk/target/linux/ramips/dts/DCS-930.dts
Log:
ralink: update DCS-930 dts

* read MAC address from factory partition
* remove port defines since there is only one port (most likely C/P error)

Signed-off-by: Luka Perkov <[email protected]>

Modified: trunk/target/linux/ramips/dts/DCS-930.dts
===================================================================
--- trunk/target/linux/ramips/dts/DCS-930.dts   2014-11-10 23:55:10 UTC (rev 
43230)
+++ trunk/target/linux/ramips/dts/DCS-930.dts   2014-11-11 00:05:14 UTC (rev 
43231)
@@ -92,34 +92,12 @@
                };
        };
 
+       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 {
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to