diff options
| author | Patrice Chotard <patrice.chotard@foss.st.com> | 2025-11-13 18:14:04 +0300 |
|---|---|---|
| committer | Alexandre Torgue <alexandre.torgue@foss.st.com> | 2026-01-20 11:45:29 +0300 |
| commit | 55fb8865f35336b04b1b27efe6ce2bbafcc2c507 (patch) | |
| tree | e278a4b9e90f3baf1bc0b2940445a0f8d6e6bcfb | |
| parent | 7f2815c962039965b01de8e0c01dc6baa6726fbd (diff) | |
| download | linux-55fb8865f35336b04b1b27efe6ce2bbafcc2c507.tar.xz | |
ARM: dts: stm32: Update LED node for stm32mp15xx-dkx board
Add led-red node for stm32mp15xx-dkx, this LED is used as status
LED in U-Boot.
Update led-blue node by adding color property and replacing obsolete
label property by function property.
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Link: https://lore.kernel.org/r/20251113-upstream_update_led_nodes-v2-13-45090db9e2e5@foss.st.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
| -rw-r--r-- | arch/arm/boot/dts/st/stm32mp15xx-dkx.dtsi | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/st/stm32mp15xx-dkx.dtsi b/arch/arm/boot/dts/st/stm32mp15xx-dkx.dtsi index 8cea6facd27b..fc0ff818e1fa 100644 --- a/arch/arm/boot/dts/st/stm32mp15xx-dkx.dtsi +++ b/arch/arm/boot/dts/st/stm32mp15xx-dkx.dtsi @@ -5,6 +5,7 @@ */ #include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/leds/common.h> #include <dt-bindings/mfd/st,stpmic1.h> / { @@ -64,11 +65,18 @@ led { compatible = "gpio-leds"; led-blue { - label = "heartbeat"; + function = LED_FUNCTION_HEARTBEAT; + color = <LED_COLOR_ID_BLUE>; gpios = <&gpiod 11 GPIO_ACTIVE_HIGH>; linux,default-trigger = "heartbeat"; default-state = "off"; }; + + led-red { + function = LED_FUNCTION_STATUS; + color = <LED_COLOR_ID_RED>; + gpios = <&gpioa 13 GPIO_ACTIVE_LOW>; + }; }; sound { |
