diff mbox series

[U-Boot,v2,25/28] dts: mtmips: add default pinctrl to eth nodes for all boards

Message ID 1568772962-18697-26-git-send-email-weijie.gao@mediatek.com
State Superseded
Delegated to: Daniel Schwierzeck
Headers show
Series Add and update drivers for MediaTek MT76x8 SoCs | expand

Commit Message

Weijie Gao (高惟杰) Sept. 18, 2019, 2:15 a.m. UTC
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 <sr@denx.de>
Signed-off-by: Weijie Gao <weijie.gao@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 mbox series

Patch

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>;
 };