Просмотр исходного кода

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 <[email protected]>
Álvaro Fernández Rojas 4 лет назад
Родитель
Сommit
5bab472a11
1 измененных файлов с 7 добавлено и 0 удалено
  1. 7 0
      target/linux/bcm27xx/base-files/etc/diag.sh

+ 7 - 0
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)