dts: mtmips: add default pinctrl to eth nodes for all boards
authorWeijie Gao <weijie.gao@mediatek.com>
Wed, 25 Sep 2019 09:45:41 +0000 (17:45 +0800)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 25 Oct 2019 15:20:44 +0000 (17:20 +0200)
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
arch/mips/dts/linkit-smart-7688.dts

index 987824a76c910717929f9f5e29aa0cfbb2c493f7..b7b5a240589ef6ab224cef331d059bad389e72be 100644 (file)
 };
 
 &eth {
+       pinctrl-names = "default";
+       pinctrl-0 = <&ephy_iot_mode>;
        mediatek,poll-link-phy = <0>;
 };
index 740b73b3d14caa456ef2949c70cdc289c69575da..f154aae1904f2197ec3588aa06d3a0722e6105de 100644 (file)
@@ -53,5 +53,7 @@
 };
 
 &eth {
+       pinctrl-names = "default";
+       pinctrl-0 = <&ephy_iot_mode>;
        mediatek,poll-link-phy = <0>;
 };