diff --git a/target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts b/target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts index d72d07ae6..8a7acd7e5 100644 --- a/target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts +++ b/target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts @@ -12,7 +12,7 @@ led-failsafe = &led_power_blue; led-running = &led_power_blue; led-upgrade = &led_power_blue; - label-mac-device = ðernet; + label-mac-device = &gmac0; }; chosen { @@ -148,19 +148,25 @@ }; }; -ðernet { - compatible = "mediatek,ralink-mt7621-eth"; - mediatek,switch = <&gsw>; +&gmac0 { mtd-mac-address = <&factory 0xe000>; }; -&switch0 { - /delete-property/ compatible; - phy-mode = "rgmii"; +&gsw { + mediatek,portmap = "llllw"; + status = "okay"; }; -&gsw { - compatible = "mediatek,ralink-mt7621-gsw"; +&hnat { + mtketh-wan = "eth0.2"; + mtketh-ppd = "eth0.1"; + mtketh-lan = "eth0"; + mtketh-max-gmac = <1>; + /delete-property/ mtkdsa-wan-port; +}; + +&switch0 { + status = "disabled"; }; &state_default {