ramips: mt7621-dts: remove DTS_LEGACY from ethernet node
authorArınç ÜNAL <arinc.unal@arinc9.com>
Tue, 5 Jul 2022 14:34:11 +0000 (17:34 +0300)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 20 Aug 2022 20:56:12 +0000 (22:56 +0200)
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@arinc9.com>
target/linux/ramips/dts/mt7621.dtsi

index 3e86a7894abc610e510dc2a9dd3059b95a95e772..c9f50a62f3477962988ccf09bc0273afb11d2423 100644 (file)
 
                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";