]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: stm32: Add led-blue for stm32mp157c-ed1-scmi-u-boot
authorPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 9 Apr 2024 15:02:15 +0000 (17:02 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 19 Apr 2024 10:05:10 +0000 (12:05 +0200)
The blue led is used to indicate U-Boot entering / exit indication
then Linux heartbeat.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/dts/stm32mp157c-ed1-scmi-u-boot.dtsi

index b38e816f888290a036a906e3d398a6803aee59b1..7c0d1bab11acd4a90ae0f10b449e94556e54f2cc 100644 (file)
@@ -12,7 +12,7 @@
        };
 
        config {
-               u-boot,boot-led = "heartbeat";
+               u-boot,boot-led = "led-blue";
                u-boot,error-led = "led-red";
                u-boot,mmc-env-partition = "u-boot-env";
        };
        led {
                compatible = "gpio-leds";
 
+               led-blue {
+                       gpios = <&gpiod 9 GPIO_ACTIVE_HIGH>;
+               };
+
                led-red {
                        gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
                };