[openwrt/openwrt] ath79: remove USB port definition for TP-Link TL-WR810N v1

LEDE Commits lede-commits at lists.infradead.org
Fri Jan 15 13:46:26 EST 2021


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/3bbdc72b53ea7a69718b81d7c2d3b230ee8e8dae

commit 3bbdc72b53ea7a69718b81d7c2d3b230ee8e8dae
Author: Adrian Schmutzler <freifunk at adrianschmutzler.de>
AuthorDate: Sat Jan 2 15:09:09 2021 +0100

    ath79: remove USB port definition for TP-Link TL-WR810N v1
    
    The USB port definition is only needed when it is linked to a USB
    LED. Since there is none for this device, we might as well remove
    the port definition.
    
    Signed-off-by: Adrian Schmutzler <freifunk at adrianschmutzler.de>
---
 target/linux/ath79/dts/qca9531_tplink_tl-wr810n-v1.dts | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/target/linux/ath79/dts/qca9531_tplink_tl-wr810n-v1.dts b/target/linux/ath79/dts/qca9531_tplink_tl-wr810n-v1.dts
index c792df60df..36f83809b8 100644
--- a/target/linux/ath79/dts/qca9531_tplink_tl-wr810n-v1.dts
+++ b/target/linux/ath79/dts/qca9531_tplink_tl-wr810n-v1.dts
@@ -17,15 +17,9 @@
 };
 
 &usb0 {
-	#address-cells = <1>;
-	#size-cells = <0>;
-	vbus-supply = <&reg_usb_vbus>;
 	status = "okay";
 
-	hub_port: port at 1 {
-		reg = <1>;
-		#trigger-source-cells = <0>;
-	};
+	vbus-supply = <&reg_usb_vbus>;
 };
 
 &usb_phy {



More information about the lede-commits mailing list