[source] ramips: ZTE-Q7: fix switch driver initialization in DTS (FS#716)
LEDE Commits
lede-commits at lists.infradead.org
Thu Apr 27 01:44:43 PDT 2017
jow pushed a commit to source.git, branch master:
https://git.lede-project.org/a45cde91183753d5e909c31f07370c5755113439
commit a45cde91183753d5e909c31f07370c5755113439
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Tue Apr 25 14:56:57 2017 +0200
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 <harrylwc at gmail.com>
Signed-off-by: Jo-Philipp Wich <jo at mein.io>
---
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 9ec1d89..c2db43e 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";
+};
More information about the lede-commits
mailing list