aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2021-02-19 07:58:36 +0100
committerÁlvaro Fernández Rojas <noltari@gmail.com>2021-02-19 08:09:11 +0100
commit5bab472a111c7dc255bd85546a271a8d31ccac1f (patch)
treeb16cc0c15b6ebd9270e9a3f9ae84b3f5e75420a4 /target
parent0aaa2cce1c7c5bb49e04b3c8a060e7cbb2f2ad48 (diff)
downloadupstream-5bab472a111c7dc255bd85546a271a8d31ccac1f.tar.gz
upstream-5bab472a111c7dc255bd85546a271a8d31ccac1f.tar.bz2
upstream-5bab472a111c7dc255bd85546a271a8d31ccac1f.zip
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@gmail.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/bcm27xx/base-files/etc/diag.sh7
1 files changed, 7 insertions, 0 deletions
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)