[openwrt/openwrt] bcm27xx: add diag LEDs

LEDE Commits lede-commits at lists.infradead.org
Fri Feb 19 02:09:22 EST 2021


noltari pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/5bab472a111c7dc255bd85546a271a8d31ccac1f

commit 5bab472a111c7dc255bd85546a271a8d31ccac1f
Author: Álvaro Fernández Rojas <noltari at gmail.com>
AuthorDate: Fri Feb 19 07:58:36 2021 +0100

    bcm27xx: add diag LEDs
    
    We can now use the power LED for diag in more devices thanks to the latest
    patches from the RPi foundation.
    
    Signed-off-by: Álvaro Fernández Rojas <noltari at gmail.com>
---
 target/linux/bcm27xx/base-files/etc/diag.sh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/target/linux/bcm27xx/base-files/etc/diag.sh b/target/linux/bcm27xx/base-files/etc/diag.sh
index ce0f591517..f5e9ee0111 100644
--- a/target/linux/bcm27xx/base-files/etc/diag.sh
+++ b/target/linux/bcm27xx/base-files/etc/diag.sh
@@ -8,9 +8,16 @@
 set_state() {
 	case "$(board_name)" in
 	raspberrypi,2-model-b |\
+	raspberrypi,2-model-b-rev2 |\
+	raspberrypi,3-model-b |\
+	raspberrypi,3-model-b-plus |\
+	raspberrypi,400 |\
+	raspberrypi,4-compute-module |\
+	raspberrypi,4-model-b |\
 	raspberrypi,model-b-plus)
 		status_led="led1"
 		;;
+	raspberrypi,3-compute-module |\
 	raspberrypi,model-b |\
 	raspberrypi,model-zero |\
 	raspberrypi,model-zero-w)



More information about the lede-commits mailing list