浏览代码

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 <[email protected]>
Signed-off-by: Jo-Philipp Wich <[email protected]>
Jo-Philipp Wich 8 年之前
父节点
当前提交
a45cde9118
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      target/linux/ramips/dts/ZTE-Q7.dts

+ 4 - 2
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";
+};