kernel: remove non-existant symbols
[oweals/openwrt.git] / target / linux / ramips / dts / mt7621_phicomm_k2p.dts
index 3c43cbda51bf58d4944de54df35a47c49d9e8873..761b690d1e3b725ccc57f27c0d004744d25fba4a 100644 (file)
        };
 };
 
-&ethernet {
+&gmac0 {
        mtd-mac-address = <&factory 0xe000>;
 };
 
+&switch0 {
+       ports {
+               port@0 {
+                       status = "okay";
+                       label = "lan1";
+               };
+
+               port@1 {
+                       status = "okay";
+                       label = "lan2";
+               };
+
+               port@2 {
+                       status = "okay";
+                       label = "lan3";
+               };
+
+               port@3 {
+                       status = "okay";
+                       label = "lan4";
+               };
+
+               port@4 {
+                       status = "okay";
+                       label = "wan";
+                       mtd-mac-address = <&factory 0xe006>;
+               };
+       };
+};
+
 &state_default {
        gpio {
-               ralink,group = "i2c", "jtag";
-               ralink,function = "gpio";
+               groups = "i2c", "jtag";
+               function = "gpio";
        };
 };