summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorWeijie Gao <weijie.gao@mediatek.com>2019-09-25 17:45:41 +0800
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2019-10-25 17:20:44 +0200
commit4e2ccca26dae73d2b7b2858da412da23cd67210c (patch)
tree6418de0ffe6dd93ecefe2d94314c812d26630e47 /arch
parentef55fa03d49541080ba511a0588255bc377441fb (diff)
downloadu-boot-4e2ccca26dae73d2b7b2858da412da23cd67210c.tar.gz
u-boot-4e2ccca26dae73d2b7b2858da412da23cd67210c.tar.xz
u-boot-4e2ccca26dae73d2b7b2858da412da23cd67210c.zip
dts: mtmips: add default pinctrl to eth nodes for all boards
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/dts/gardena-smart-gateway-mt7688.dts2
-rw-r--r--arch/mips/dts/linkit-smart-7688.dts2
2 files changed, 4 insertions, 0 deletions
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>;
};