This patch adds default eth pinctrl for all boards.

There are two pinctrl nodes used for two scenarios:
ephy_iot_mode    - for IOT boards which have only one port (PHY0)
ephy_router_mode - For routers which have more than one ports

Reviewed-by: Stefan Roese <s...@denx.de>
Signed-off-by: Weijie Gao <weijie....@mediatek.com>
---
 arch/mips/dts/gardena-smart-gateway-mt7688.dts | 2 ++
 arch/mips/dts/linkit-smart-7688.dts            | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/arch/mips/dts/gardena-smart-gateway-mt7688.dts 
b/arch/mips/dts/gardena-smart-gateway-mt7688.dts
index 987824a76c..b7b5a24058 100644
--- a/arch/mips/dts/gardena-smart-gateway-mt7688.dts
+++ b/arch/mips/dts/gardena-smart-gateway-mt7688.dts
@@ -123,5 +123,7 @@
 };
 
 &eth {
+       pinctrl-names = "default";
+       pinctrl-0 = <&ephy_iot_mode>;
        mediatek,poll-link-phy = <0>;
 };
diff --git a/arch/mips/dts/linkit-smart-7688.dts 
b/arch/mips/dts/linkit-smart-7688.dts
index 740b73b3d1..f154aae190 100644
--- a/arch/mips/dts/linkit-smart-7688.dts
+++ b/arch/mips/dts/linkit-smart-7688.dts
@@ -53,5 +53,7 @@
 };
 
 &eth {
+       pinctrl-names = "default";
+       pinctrl-0 = <&ephy_iot_mode>;
        mediatek,poll-link-phy = <0>;
 };
-- 
2.17.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to