Skip to content

Commit 55fb886

Browse files
Patrice ChotardAlexandre Torgue
authored andcommitted
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>
1 parent 7f2815c commit 55fb886

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

arch/arm/boot/dts/st/stm32mp15xx-dkx.dtsi

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
*/
66

77
#include <dt-bindings/gpio/gpio.h>
8+
#include <dt-bindings/leds/common.h>
89
#include <dt-bindings/mfd/st,stpmic1.h>
910

1011
/ {
@@ -64,11 +65,18 @@
6465
led {
6566
compatible = "gpio-leds";
6667
led-blue {
67-
label = "heartbeat";
68+
function = LED_FUNCTION_HEARTBEAT;
69+
color = <LED_COLOR_ID_BLUE>;
6870
gpios = <&gpiod 11 GPIO_ACTIVE_HIGH>;
6971
linux,default-trigger = "heartbeat";
7072
default-state = "off";
7173
};
74+
75+
led-red {
76+
function = LED_FUNCTION_STATUS;
77+
color = <LED_COLOR_ID_RED>;
78+
gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
79+
};
7280
};
7381

7482
sound {

0 commit comments

Comments
 (0)