]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: mediatek: mt7988a-bpi-r4pro: update gpio-leds
authorFrank Wunderlich <frank-w@public-files.de>
Sun, 12 Apr 2026 09:23:31 +0000 (11:23 +0200)
committerAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Mon, 11 May 2026 11:57:21 +0000 (13:57 +0200)
On the official case the red LED is named ERR, the blue LED is named ACT.​​​​​​​​​​​​​​​​
Reflect these labels in function and set them default off.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-pro.dtsi

index 759f608d108129f0f0ca02efea8d104927f4b8a2..bbd6c16a8cb09fc0dfeb07f2c379b4569e11f93d 100644 (file)
 
                led_red: sys-led-red {
                        color = <LED_COLOR_ID_RED>;
+                       function = LED_FUNCTION_FAULT;
                        gpios = <&pca9555 15 GPIO_ACTIVE_HIGH>;
-                       default-state = "on";
                };
 
                led_blue: sys-led-blue {
                        color = <LED_COLOR_ID_BLUE>;
+                       function = LED_FUNCTION_ACTIVITY;
                        gpios = <&pca9555 14 GPIO_ACTIVE_HIGH>;
-                       default-state = "on";
                };
        };