swconfig: revert the portmapping patches, they seem to cause a segfault
[openwrt/staging/chunkeey.git] / target / linux / ramips / dts / FONERA20N.dts
index 004a2c0889f3cf15030193b5cddf49085a71ba4f..b7eb91ea7bc47f7a357c1f0d4930db822c09b15d 100644 (file)
 
 &esw {
        mediatek,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 {