Просмотр исходного кода

ramips: don't enable usb for the WT3020-4M

That device does not have a USB port. It as the same board as the
WT3020-8M, but without soldered USB port port. Also the case lacks the
opening for the port.

Reported-by: Alberto Bursi <[email protected]>
Signed-off-by: Mathias Kresin <[email protected]>
Mathias Kresin 8 лет назад
Родитель
Сommit
dcf62cb24e
2 измененных файлов с 8 добавлено и 9 удалено
  1. 8 0
      target/linux/ramips/dts/WT3020-8M.dts
  2. 0 9
      target/linux/ramips/dts/WT3020.dtsi

+ 8 - 0
target/linux/ramips/dts/WT3020-8M.dts

@@ -7,6 +7,14 @@
 	model = "Nexx WT3020 (8M)";
 };
 
+&ehci {
+	status = "okay";
+};
+
+&ohci {
+	status = "okay";
+};
+
 &spi0 {
 	status = "okay";
 

+ 0 - 9
target/linux/ramips/dts/WT3020.dtsi

@@ -37,15 +37,6 @@
 	status = "okay";
 };
 
-
-&ehci {
-	status = "okay";
-};
-
-&ohci {
-	status = "okay";
-};
-
 &ethernet {
 	mtd-mac-address = <&factory 0x4>;
 	mediatek,portmap = "wllll";