[U-Boot] [PATCH v2 25/28] dts: mtmips: add default pinctrl to eth nodes for all boards
Weijie Gao
weijie.gao at mediatek.com
Wed Sep 18 02:15:59 UTC 2019
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 at denx.de>
Signed-off-by: Weijie Gao <weijie.gao at 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 @@
};
ð {
+ 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 @@
};
ð {
+ pinctrl-names = "default";
+ pinctrl-0 = <&ephy_iot_mode>;
mediatek,poll-link-phy = <0>;
};
--
2.17.1
More information about the U-Boot
mailing list