ralink: update DCS-930 dts
authorluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 11 Nov 2014 00:05:14 +0000 (00:05 +0000)
committerluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 11 Nov 2014 00:05:14 +0000 (00:05 +0000)
* 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 <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43231 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ramips/dts/DCS-930.dts

index a497c04..3d0cf1d 100644 (file)
                };
        };
 
+       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 {