Browse Source

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 <[email protected]>
Arınç ÜNAL 3 years ago
parent
commit
81bd10e4a2
1 changed files with 0 additions and 2 deletions
  1. 0 2
      target/linux/ramips/dts/mt7621.dtsi

+ 0 - 2
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";