summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2017-04-25 14:56:57 +0200
committerJo-Philipp Wich <jo@mein.io>2017-04-27 10:44:28 +0200
commita45cde91183753d5e909c31f07370c5755113439 (patch)
tree98a515ab1416f007ac307d18d2f1b969a4688cd1 /target
parent76871a8dbbf26ea68b1f95b2e46774def87930d3 (diff)
downloadmtk-20170518-a45cde91183753d5e909c31f07370c5755113439.zip
mtk-20170518-a45cde91183753d5e909c31f07370c5755113439.tar.gz
mtk-20170518-a45cde91183753d5e909c31f07370c5755113439.tar.bz2
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@gmail.com> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/dts/ZTE-Q7.dts6
1 files 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 @@
};
&ethernet {
- 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";
+};