[PATCH v2] bcm53xx: complete Asus RT-AC88U support

Arınç ÜNAL arinc.unal at arinc9.com
Wed Mar 30 23:35:07 PDT 2022


Add white:lan LED configuration. Remove the BROKEN flag.

Signed-off-by: Arınç ÜNAL <arinc.unal at arinc9.com>
---
v2: remove adding rtl8365mb patch as it's already done.

---
 target/linux/bcm53xx/base-files/etc/board.d/01_leds | 3 +++
 target/linux/bcm53xx/image/Makefile                 | 1 -
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/target/linux/bcm53xx/base-files/etc/board.d/01_leds b/target/linux/bcm53xx/base-files/etc/board.d/01_leds
index aba526b9c3..bd24234046 100644
--- a/target/linux/bcm53xx/base-files/etc/board.d/01_leds
+++ b/target/linux/bcm53xx/base-files/etc/board.d/01_leds
@@ -4,6 +4,9 @@
 board_config_update
 
 case "$(board_name)" in
+asus,rt-ac88u)
+	ucidef_set_led_netdev "lan" "LAN" "white:lan" "eth1"
+	;;
 netgear,r8000)
 	ucidef_set_led_usbport "usb2" "USB 2.0" "bcm53xx:white:usb2" "usb1-port2" "usb2-port2"
 	ucidef_set_led_usbport "usb3" "USB 3.0" "bcm53xx:white:usb3" "usb1-port1" "usb2-port1" "usb4-port1"
diff --git a/target/linux/bcm53xx/image/Makefile b/target/linux/bcm53xx/image/Makefile
index 3df24013ce..fc85a131cc 100644
--- a/target/linux/bcm53xx/image/Makefile
+++ b/target/linux/bcm53xx/image/Makefile
@@ -172,7 +172,6 @@ define Device/asus_rt-ac88u
   DEVICE_MODEL := RT-AC88U
   DEVICE_PACKAGES := $(BRCMFMAC_4366C0) $(USB3_PACKAGES)
   ASUS_PRODUCTID := RT-AC88U
-  BROKEN := y
 endef
 TARGET_DEVICES += asus_rt-ac88u
 
-- 
2.25.1




More information about the openwrt-devel mailing list