summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@foss.st.com>2025-11-13 18:14:03 +0300
committerAlexandre Torgue <alexandre.torgue@foss.st.com>2026-01-20 11:45:28 +0300
commit7f2815c962039965b01de8e0c01dc6baa6726fbd (patch)
treee1073b3c276d200de3a5bb5e43bc93b853b8e56a
parent31f0d9a486a8c7361692fd5e9d77e187720a5ece (diff)
downloadlinux-7f2815c962039965b01de8e0c01dc6baa6726fbd.tar.xz
ARM: dts: stm32: Add red LED for stm32mp157c-ed1 board
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>
-rw-r--r--arch/arm/boot/dts/st/stm32mp157c-ed1.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/st/stm32mp157c-ed1.dts b/arch/arm/boot/dts/st/stm32mp157c-ed1.dts
index f6c478dbd041..6a1c4e5d31a4 100644
--- a/arch/arm/boot/dts/st/stm32mp157c-ed1.dts
+++ b/arch/arm/boot/dts/st/stm32mp157c-ed1.dts
@@ -81,6 +81,12 @@
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 {