Add the missing pinctrl properties on the ethernet node.
GMAC1 will start working with this change.

Link: 
https://lore.kernel.org/netdev/83a35aa3-6cb8-2bc4-2ff4-64278bbcd...@arinc9.com/

Signed-off-by: Arınç ÜNAL <arinc.u...@arinc9.com>
---
 target/linux/ramips/dts/mt7621.dtsi | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/target/linux/ramips/dts/mt7621.dtsi 
b/target/linux/ramips/dts/mt7621.dtsi
index 9256e118e4..95113d4e11 100644
--- a/target/linux/ramips/dts/mt7621.dtsi
+++ b/target/linux/ramips/dts/mt7621.dtsi
@@ -456,6 +456,9 @@
 
                mediatek,ethsys = <&sysc>;
 
+               pinctrl-names = "default";
+               pinctrl-0 = <&rgmii1_pins &rgmii2_pins &mdio_pins>;
+
                gmac0: mac@0 {
                        compatible = "mediatek,eth-mac";
                        reg = <0>;
-- 
2.25.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to