From a45cde91183753d5e909c31f07370c5755113439 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 25 Apr 2017 14:56:57 +0200 Subject: [PATCH] ramips: ZTE-Q7: fix switch driver initialization in DTS (FS#716) Add the changes suggested by FS#716 to fix the switch driver initialization on the ZTE Q7. Also remove the `pinctrl-names` field obsoleted by the changes. Reported-by: Harry Lau Signed-off-by: Jo-Philipp Wich --- target/linux/ramips/dts/ZTE-Q7.dts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/target/linux/ramips/dts/ZTE-Q7.dts b/target/linux/ramips/dts/ZTE-Q7.dts index 9ec1d89a41..c2db43e3cd 100644 --- a/target/linux/ramips/dts/ZTE-Q7.dts +++ b/target/linux/ramips/dts/ZTE-Q7.dts @@ -89,8 +89,6 @@ }; ðernet { - pinctrl-names = "default"; - pinctrl-0 = <&ephy_pins>; mtd-mac-address = <&factory 0x4>; mediatek,portmap = "wllll"; }; @@ -110,3 +108,7 @@ &ohci { status = "okay"; }; + +&gsw { + mediatek,port4 = "ephy"; +}; -- 2.25.1