From e6a181dceafbe2043931f6a048a40a4ed277537a Mon Sep 17 00:00:00 2001 From: Adrian Schmutzler Date: Tue, 1 Dec 2020 14:48:41 +0100 Subject: ramips: simplify status for ehci/ohci on mt7628 TP-Link devices At the moment, ehci/ohci is enabled in mt7628an SoC DTSI, then disabled in the TP-Link-specific DTSI files, and finally enabled again in the DTS files of the devices needing it. This on-off-on scheme is hard to grasp on a quick look. Thus, this patch drops the status in the TP-Link-specific DTSI files, having the TP-Link devices treated like the rest of mt7628an DTSes, i.e. ehci/ohci is enabled by default and needs to be disabled explicitly where needed. Signed-off-by: Adrian Schmutzler --- target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v4.dts | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v4.dts') diff --git a/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v4.dts b/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v4.dts index f960a0ae8f..8a8ba81ec3 100644 --- a/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v4.dts +++ b/target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v4.dts @@ -51,6 +51,14 @@ }; }; +&ehci { + status = "disabled"; +}; + +&ohci { + status = "disabled"; +}; + &state_default { gpio { groups = "p0led_an", "p2led_an", "perst", "refclk", "wdt", "wled_an"; -- cgit v1.2.3