1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 14:08:17 +02:00

ramips: remove redundant status for USB controllers

mt7621, mt7628an and rt5350 have USB controllers (ehci/ohci or xhci)
enabled by default. Thus, this patch drops redundant status=okay
statements in derived device DTS files.

While at it, also drop an explicit status=okay in mt7621.dtsi, as
this is default.

Note:

For rt5350, about 50 % of the devices enabled ehci/ohci in the DTS
files, and there is actually no device actively disabling it.
It looks like only a few people are aware that the controllers are
enabled by default here.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler 2020-12-01 14:48:42 +01:00
parent e6a181dcea
commit 66d12ce667
32 changed files with 0 additions and 245 deletions

@ -371,7 +371,6 @@
xhci: xhci@1E1C0000 {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
compatible = "mediatek,mt8173-xhci";
reg = <0x1e1c0000 0x1000

@ -63,10 +63,6 @@
status = "okay";
};
&xhci {
status = "okay";
};
&spi0 {
status = "okay";

@ -131,11 +131,3 @@
&uart1 {
status = "okay";
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};

@ -93,14 +93,6 @@
};
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};
&sdhci {
status = "okay";
};

@ -97,11 +97,3 @@
&uart1 {
status = "okay";
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};

@ -37,18 +37,10 @@
};
};
&ehci {
status = "okay";
};
&ethernet {
mtd-mac-address = <&factory 0x28>;
};
&ohci {
status = "okay";
};
&state_default {
gpio {
groups = "uart1", "p0led_an", "wdt";

@ -114,14 +114,6 @@
};
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};
&state_default {
gpio {
groups = "i2s", "refclk", "wdt", "p2led_an", "p1led_an", "p0led_an", "wled_an";

@ -167,14 +167,6 @@
};
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};
&ethernet {
mtd-mac-address = <&factory 0x4>;
};

@ -101,11 +101,3 @@
&wmac {
ralink,mtd-eeprom = <&factory 0x0>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};

@ -61,11 +61,3 @@
&esw {
mediatek,portmap = <0x3f>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};

@ -104,11 +104,3 @@
&wmac {
ralink,mtd-eeprom = <&factory 0x0>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};

@ -127,11 +127,3 @@
&wmac {
ralink,mtd-eeprom = <&factory 0x0>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};

@ -64,14 +64,6 @@
mediatek,portmap = <0x2f>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};
&wmac {
ralink,mtd-eeprom = <&factory 0x0>;
};

@ -119,11 +119,3 @@
&wmac {
ralink,mtd-eeprom = <&factory 0x0>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};

@ -116,11 +116,3 @@
&wmac {
ralink,mtd-eeprom = <&factory 0x0>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};

@ -109,11 +109,3 @@
&wmac {
ralink,mtd-eeprom = <&factory 0x0>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};

@ -106,11 +106,3 @@
&wmac {
ralink,mtd-eeprom = <&factory 0x0>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};

@ -105,14 +105,6 @@
mediatek,portmap = <0x2f>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};
&wmac {
ralink,mtd-eeprom = <&factory 0x0>;
};

@ -32,11 +32,3 @@
&wmac {
ralink,mtd-eeprom = <&factory 0x0>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};

@ -139,11 +139,3 @@
&wmac {
ralink,mtd-eeprom = <&factory 0x0>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};

@ -78,14 +78,6 @@
ralink,led-polarity = <1>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};
&i2c {
status = "okay";
};

@ -111,11 +111,3 @@
&wmac {
ralink,mtd-eeprom = <&factory 0x0>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};

@ -102,11 +102,3 @@
ralink,mtd-eeprom = <&factory 0x0>;
ralink,led-polarity = <1>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};

@ -54,11 +54,3 @@
ralink,mtd-eeprom = <&factory 0x0>;
ralink,led-polarity = <1>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};

@ -134,11 +134,3 @@
ralink,mtd-eeprom = <&factory 0x0>;
ralink,led-polarity = <1>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};

@ -95,11 +95,3 @@
ralink,mtd-eeprom = <&factory 0x0>;
ralink,led-polarity = <1>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};

@ -116,11 +116,3 @@
ralink,mtd-eeprom = <&factory 0x0>;
ralink,led-polarity = <1>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};

@ -115,11 +115,3 @@
&wmac {
ralink,mtd-eeprom = <&factory 0x0>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};

@ -121,11 +121,3 @@
&wmac {
ralink,mtd-eeprom = <&factory 0x0>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};

@ -184,14 +184,6 @@
ralink,mtd-eeprom = <&factory 0x0>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};
&spi1 {
status = "okay";

@ -63,11 +63,3 @@
&wmac {
ralink,mtd-eeprom = <&factory 0x0>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};

@ -144,11 +144,3 @@
&wmac {
ralink,mtd-eeprom = <&factory 0x0>;
};
&ehci {
status = "okay";
};
&ohci {
status = "okay";
};