From: Arınç ÜNAL Date: Tue, 5 Jul 2022 14:34:11 +0000 (+0300) Subject: ramips: mt7621-dts: remove DTS_LEGACY from ethernet node X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=81bd10e4a2f49f8351779a4b464d331f79f6a15c;p=openwrt%2Fstaging%2Fwigyori.git ramips: mt7621-dts: remove DTS_LEGACY from ethernet node Remove DTS_LEGACY put for claiming pin groups for the ethernet node from the ethernet node. It's not an old kernel trait. These bindings need to be there on the newer kernels as well. Fixes: a3764ee29dd0 ("ramips: add linux 5.15 support for mt7621") Signed-off-by: Arınç ÜNAL --- diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index 3e86a7894a..c9f50a62f3 100644 --- a/target/linux/ramips/dts/mt7621.dtsi +++ b/target/linux/ramips/dts/mt7621.dtsi @@ -486,10 +486,8 @@ mediatek,ethsys = <&sysc>; -#ifdef DTS_LEGACY pinctrl-names = "default"; pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>, <&rgmii2_pins>; -#endif gmac0: mac@0 { compatible = "mediatek,eth-mac";