From dcf62cb24efb2fd69eca921085c3f4306e76e8a2 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Mon, 23 Oct 2017 08:17:44 +0200 Subject: [PATCH] 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 Signed-off-by: Mathias Kresin --- target/linux/ramips/dts/WT3020-8M.dts | 8 ++++++++ target/linux/ramips/dts/WT3020.dtsi | 9 --------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/target/linux/ramips/dts/WT3020-8M.dts b/target/linux/ramips/dts/WT3020-8M.dts index 05ade7c5a43a..b2397d2cd501 100644 --- a/target/linux/ramips/dts/WT3020-8M.dts +++ b/target/linux/ramips/dts/WT3020-8M.dts @@ -7,6 +7,14 @@ model = "Nexx WT3020 (8M)"; }; +&ehci { + status = "okay"; +}; + +&ohci { + status = "okay"; +}; + &spi0 { status = "okay"; diff --git a/target/linux/ramips/dts/WT3020.dtsi b/target/linux/ramips/dts/WT3020.dtsi index 6bea6cc1f3e1..91720e32c917 100644 --- a/target/linux/ramips/dts/WT3020.dtsi +++ b/target/linux/ramips/dts/WT3020.dtsi @@ -37,15 +37,6 @@ status = "okay"; }; - -&ehci { - status = "okay"; -}; - -&ohci { - status = "okay"; -}; - ðernet { mtd-mac-address = <&factory 0x4>; mediatek,portmap = "wllll"; -- 2.30.2