From: Jo-Philipp Wich Date: Tue, 25 Apr 2017 12:56:57 +0000 (+0200) Subject: ramips: ZTE-Q7: fix switch driver initialization in DTS (FS#716) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a45cde91183753d5e909c31f07370c5755113439;p=openwrt%2Fstaging%2Fjogo.git 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 --- 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"; +};