]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: stm32: Add red LED for stm32mp157c-ed1 board
authorPatrice Chotard <patrice.chotard@foss.st.com>
Thu, 13 Nov 2025 15:14:03 +0000 (16:14 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Tue, 20 Jan 2026 08:45:28 +0000 (09:45 +0100)
Add led-red node for stm32mp157c-ed1.
This LED is used as status LED in U-Boot.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Link: https://lore.kernel.org/r/20251113-upstream_update_led_nodes-v2-12-45090db9e2e5@foss.st.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32mp157c-ed1.dts

index f6c478dbd0418e456078fae3bdc1bd69c1041210..6a1c4e5d31a41980febf68acdd5a714941efdd1f 100644 (file)
                        function = LED_FUNCTION_HEARTBEAT;
                        color = <LED_COLOR_ID_BLUE>;
                };
+
+               led-red {
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_RED>;
+                       gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
+               };
        };
 
        sd_switch: regulator-sd_switch {