[openwrt/openwrt] ramips: mt7621-dts: remove DTS_LEGACY from ethernet node

LEDE Commits lede-commits at lists.infradead.org
Sat Aug 20 14:18:36 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/81bd10e4a2f49f8351779a4b464d331f79f6a15c

commit 81bd10e4a2f49f8351779a4b464d331f79f6a15c
Author: Arınç ÜNAL <arinc.unal at arinc9.com>
AuthorDate: Tue Jul 5 17:34:11 2022 +0300

    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 <arinc.unal at arinc9.com>
---
 target/linux/ramips/dts/mt7621.dtsi | 2 --
 1 file changed, 2 deletions(-)

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 at 0 {
 			compatible = "mediatek,eth-mac";




More information about the lede-commits mailing list