]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: st: Add boot-led for stm32mp2 ST boards
authorPatrice Chotard <patrice.chotard@foss.st.com>
Wed, 12 Nov 2025 15:48:16 +0000 (16:48 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Tue, 20 Jan 2026 08:53:15 +0000 (09:53 +0100)
Add options/u-boot/boot-led property to specify to U-Boot
the LED which indicates a successful boot.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Link: https://lore.kernel.org/r/20251112-upstream_add_boot-led_for_stm32_boards-v1-13-50a3a9b339a8@foss.st.com
Link: https://lore.kernel.org/r/20251112-upstream_add_boot-led_for_stm32_boards-v1-14-50a3a9b339a8@foss.st.com
Link: https://lore.kernel.org/r/20251112-upstream_add_boot-led_for_stm32_boards-v1-15-50a3a9b339a8@foss.st.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm64/boot/dts/st/stm32mp235f-dk.dts
arch/arm64/boot/dts/st/stm32mp257f-dk.dts
arch/arm64/boot/dts/st/stm32mp257f-ev1.dts

index ab9a30103db7d56ee8759400020a8393848edb29..4d7e3939ba5c80bac513bbe07ca07daa5513f8db 100644 (file)
@@ -46,7 +46,7 @@
        gpio-leds {
                compatible = "gpio-leds";
 
-               led-blue {
+               led_blue: led-blue {
                        function = LED_FUNCTION_HEARTBEAT;
                        color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpioh 7 GPIO_ACTIVE_HIGH>;
                reg = <0x0 0x80000000 0x0 0x80000000>;
        };
 
+       options {
+               u-boot {
+                       compatible = "u-boot,config";
+                       boot-led = <&led_blue>;
+               };
+       };
+
        reserved-memory {
                #address-cells = <2>;
                #size-cells = <2>;
index dc1a75f10f496fc4d52ee90d805e9c9c93d66729..d260e18cc1c9ef8720a7403dfbbad519eecacdf9 100644 (file)
@@ -46,7 +46,7 @@
        gpio-leds {
                compatible = "gpio-leds";
 
-               led-blue {
+               led_blue: led-blue {
                        function = LED_FUNCTION_HEARTBEAT;
                        color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpioh 7 GPIO_ACTIVE_HIGH>;
                reg = <0x0 0x80000000 0x1 0x0>;
        };
 
+       options {
+               u-boot {
+                       compatible = "u-boot,config";
+                       boot-led = <&led_blue>;
+               };
+       };
+
        reserved-memory {
                #address-cells = <2>;
                #size-cells = <2>;
index 6e9aa392ba9a0c612e33cc7bed0ca78f8f57a651..9821ef14e8f28fdfaf86c87c3125eb4467fdbcd5 100644 (file)
@@ -46,7 +46,7 @@
        gpio-leds {
                compatible = "gpio-leds";
 
-               led-blue {
+               led_blue: led-blue {
                        function = LED_FUNCTION_HEARTBEAT;
                        color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpioj 7 GPIO_ACTIVE_HIGH>;
                reg = <0x0 0x80000000 0x1 0x0>;
        };
 
+       options {
+               u-boot {
+                       compatible = "u-boot,config";
+                       boot-led = <&led_blue>;
+               };
+       };
+
        panel_lvds: display {
                compatible = "edt,etml0700z9ndha", "panel-lvds";
                enable-gpios = <&gpiog 15 GPIO_ACTIVE_HIGH>;