bcm27xx: add diag LEDs
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Fri, 19 Feb 2021 06:58:36 +0000 (07:58 +0100)
committerÁlvaro Fernández Rojas <noltari@gmail.com>
Fri, 19 Feb 2021 07:11:07 +0000 (08:11 +0100)
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>
(cherry-picked from commit 5bab472a11)

target/linux/bcm27xx/base-files/etc/diag.sh

index ce0f59151750d0a039520eee836ed49977a1d0f2..f5e9ee0111e6546c2d0af12f8ad660a319206d46 100644 (file)
@@ -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)