devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/16] Led update for STMicrolectronics boards
@ 2025-11-12 14:40 Patrice Chotard
  2025-11-12 14:40 ` [PATCH 01/16] ARM: dts: stm32: reorder nodes for stm32429i-eval Patrice Chotard
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: Patrice Chotard @ 2025-11-12 14:40 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

This series adds/updates LED nodes for STMicroelectronics boards by
adding new LED nodes and function/color properties.

On STM32 MCUs boards (F4/F7 and H7 series) green LED is
used as heartbeat.

On STM32MP1/2, blue LED is used as heartbeat.

On STM32MP1, red LED is used as status LED.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
Patrice Chotard (16):
      ARM: dts: stm32: reorder nodes for stm32429i-eval
      ARM: dts: stm32: Update LED nodes for stm32429i-eval
      ARM: dts: stm32: Update LED nodes for stm32f429-disco
      ARM: dts: stm32: Update LED nodes for stm32f469-disco
      ARM: dts: stm32: Update LED node for stm32f746-disco
      ARM: dts: stm32: Update LED nodes for stm32f769-disco
      ARM: dts: stm32: Update LED nodes for stm32746g-eval
      ARM: dts: stm32: Add LED support for stm32h743i-disco
      ARM: dts: stm32: Add LED support for stm32h743i-eval
      ARM: dts: stm32: Update LED nodes for stm32h747i-disco
      ARM: dts: stm32: Add red LED for stm32mp135f-dk board
      ARM: dts: stm32: Add red LED for stm32mp157c-ed1 board
      ARM: dts: stm32: Update LED node for stm32mp15xx-dkx board
      arm64: dts: st: Add green and orange LED for stm32mp235f-dk
      arm64: dts: st: Add green and orange LED for stm32mp257f-dk
      arm64: dts: st: Add green and orange LED for stm32mp235f-dk

 arch/arm/boot/dts/st/stm32429i-eval.dts    | 65 +++++++++++++++++-------------
 arch/arm/boot/dts/st/stm32746g-eval.dts    |  6 +++
 arch/arm/boot/dts/st/stm32f429-disco.dts   |  6 ++-
 arch/arm/boot/dts/st/stm32f469-disco.dts   |  6 +++
 arch/arm/boot/dts/st/stm32f746-disco.dts   |  3 ++
 arch/arm/boot/dts/st/stm32f769-disco.dts   |  5 +++
 arch/arm/boot/dts/st/stm32h743i-disco.dts  | 27 +++++++++++++
 arch/arm/boot/dts/st/stm32h743i-eval.dts   | 18 +++++++++
 arch/arm/boot/dts/st/stm32h747i-disco.dts  |  6 +++
 arch/arm/boot/dts/st/stm32mp135f-dk.dts    |  6 +++
 arch/arm/boot/dts/st/stm32mp157c-ed1.dts   |  6 +++
 arch/arm/boot/dts/st/stm32mp15xx-dkx.dtsi  | 10 ++++-
 arch/arm64/boot/dts/st/stm32mp235f-dk.dts  | 10 +++++
 arch/arm64/boot/dts/st/stm32mp257f-dk.dts  | 10 +++++
 arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 23 +++++++++++
 15 files changed, 176 insertions(+), 31 deletions(-)
---
base-commit: 53c18dc078bb6d9e9dfe2cc0671ab78588c44723
change-id: 20251112-upstream_update_led_nodes-30e8ca390161

Best regards,
-- 
Patrice Chotard <patrice.chotard@foss.st.com>


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [PATCH 01/16] ARM: dts: stm32: reorder nodes for stm32429i-eval
  2025-11-12 14:40 [PATCH 00/16] Led update for STMicrolectronics boards Patrice Chotard
@ 2025-11-12 14:40 ` Patrice Chotard
  2025-11-12 14:40 ` [PATCH 02/16] ARM: dts: stm32: Update LED " Patrice Chotard
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Patrice Chotard @ 2025-11-12 14:40 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

Reorder nodes by alphabetical order.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
 arch/arm/boot/dts/st/stm32429i-eval.dts | 57 +++++++++++++++++----------------
 1 file changed, 29 insertions(+), 28 deletions(-)

diff --git a/arch/arm/boot/dts/st/stm32429i-eval.dts b/arch/arm/boot/dts/st/stm32429i-eval.dts
index afa417b34b25..aa224d7a9e2b 100644
--- a/arch/arm/boot/dts/st/stm32429i-eval.dts
+++ b/arch/arm/boot/dts/st/stm32429i-eval.dts
@@ -82,27 +82,6 @@ soc {
 		dma-ranges = <0xc0000000 0x0 0x10000000>;
 	};
 
-	vdda: regulator-vdda {
-		compatible = "regulator-fixed";
-		regulator-name = "vdda";
-		regulator-min-microvolt = <3300000>;
-		regulator-max-microvolt = <3300000>;
-	};
-
-	vref: regulator-vref {
-		compatible = "regulator-fixed";
-		regulator-name = "vref";
-		regulator-min-microvolt = <3300000>;
-		regulator-max-microvolt = <3300000>;
-	};
-
-	vdd_panel: vdd-panel {
-		compatible = "regulator-fixed";
-		regulator-name = "vdd_panel";
-		regulator-min-microvolt = <3300000>;
-		regulator-max-microvolt = <3300000>;
-	};
-
 	leds {
 		compatible = "gpio-leds";
 		led-green {
@@ -135,11 +114,12 @@ button-1 {
 		};
 	};
 
-	usbotg_hs_phy: usbphy {
-		#phy-cells = <0>;
-		compatible = "usb-nop-xceiv";
-		clocks = <&rcc 0 STM32F4_AHB1_CLOCK(OTGHSULPI)>;
-		clock-names = "main_clk";
+	mmc_vcard: mmc_vcard {
+		compatible = "regulator-fixed";
+		regulator-name = "mmc_vcard";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+	};
 	};
 
 	panel_rgb: panel-rgb {
@@ -153,9 +133,30 @@ panel_in_rgb: endpoint {
 		};
 	};
 
-	mmc_vcard: mmc_vcard {
+	vdda: regulator-vdda {
 		compatible = "regulator-fixed";
-		regulator-name = "mmc_vcard";
+		regulator-name = "vdda";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+	};
+
+	vref: regulator-vref {
+		compatible = "regulator-fixed";
+		regulator-name = "vref";
+		regulator-min-microvolt = <3300000>;
+		regulator-max-microvolt = <3300000>;
+	};
+
+	usbotg_hs_phy: usbphy {
+		#phy-cells = <0>;
+		compatible = "usb-nop-xceiv";
+		clocks = <&rcc 0 STM32F4_AHB1_CLOCK(OTGHSULPI)>;
+		clock-names = "main_clk";
+	};
+
+	vdd_panel: vdd-panel {
+		compatible = "regulator-fixed";
+		regulator-name = "vdd_panel";
 		regulator-min-microvolt = <3300000>;
 		regulator-max-microvolt = <3300000>;
 	};

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 02/16] ARM: dts: stm32: Update LED nodes for stm32429i-eval
  2025-11-12 14:40 [PATCH 00/16] Led update for STMicrolectronics boards Patrice Chotard
  2025-11-12 14:40 ` [PATCH 01/16] ARM: dts: stm32: reorder nodes for stm32429i-eval Patrice Chotard
@ 2025-11-12 14:40 ` Patrice Chotard
  2025-11-12 14:40 ` [PATCH 03/16] ARM: dts: stm32: Update LED nodes for stm32f429-disco Patrice Chotard
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Patrice Chotard @ 2025-11-12 14:40 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

Add function porperty for led-green node.
Add LED color property for LED nodes.
Reorder include dt-bindings.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
 arch/arm/boot/dts/st/stm32429i-eval.dts | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/st/stm32429i-eval.dts b/arch/arm/boot/dts/st/stm32429i-eval.dts
index aa224d7a9e2b..36415d4d2ffd 100644
--- a/arch/arm/boot/dts/st/stm32429i-eval.dts
+++ b/arch/arm/boot/dts/st/stm32429i-eval.dts
@@ -48,8 +48,9 @@
 /dts-v1/;
 #include "stm32f429.dtsi"
 #include "stm32f429-pinctrl.dtsi"
-#include <dt-bindings/input/input.h>
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 #include <dt-bindings/media/video-interfaces.h>
 
 / {
@@ -85,16 +86,21 @@ soc {
 	leds {
 		compatible = "gpio-leds";
 		led-green {
+			function = LED_FUNCTION_HEARTBEAT;
+			color = <LED_COLOR_ID_GREEN>;
 			gpios = <&gpiog 6 1>;
 			linux,default-trigger = "heartbeat";
 		};
 		led-orange {
+			color = <LED_COLOR_ID_ORANGE>;
 			gpios = <&gpiog 7 1>;
 		};
 		led-red {
+			color = <LED_COLOR_ID_RED>;
 			gpios = <&gpiog 10 1>;
 		};
 		led-blue {
+			color = <LED_COLOR_ID_BLUE>;
 			gpios = <&gpiog 12 1>;
 		};
 	};

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 03/16] ARM: dts: stm32: Update LED nodes for stm32f429-disco
  2025-11-12 14:40 [PATCH 00/16] Led update for STMicrolectronics boards Patrice Chotard
  2025-11-12 14:40 ` [PATCH 01/16] ARM: dts: stm32: reorder nodes for stm32429i-eval Patrice Chotard
  2025-11-12 14:40 ` [PATCH 02/16] ARM: dts: stm32: Update LED " Patrice Chotard
@ 2025-11-12 14:40 ` Patrice Chotard
  2025-11-12 14:40 ` [PATCH 04/16] ARM: dts: stm32: Update LED nodes for stm32f469-disco Patrice Chotard
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Patrice Chotard @ 2025-11-12 14:40 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

Add function property for led-green node.
Add color property for LED nodes.
Reorder include dt-bindings.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
 arch/arm/boot/dts/st/stm32f429-disco.dts | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/st/stm32f429-disco.dts b/arch/arm/boot/dts/st/stm32f429-disco.dts
index a3cb4aabdd5a..15f92842c8e1 100644
--- a/arch/arm/boot/dts/st/stm32f429-disco.dts
+++ b/arch/arm/boot/dts/st/stm32f429-disco.dts
@@ -48,9 +48,10 @@
 /dts-v1/;
 #include "stm32f429.dtsi"
 #include "stm32f429-pinctrl.dtsi"
+#include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 #include <dt-bindings/interrupt-controller/irq.h>
-#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/leds/common.h>
 
 / {
 	model = "STMicroelectronics STM32F429i-DISCO board";
@@ -73,9 +74,12 @@ aliases {
 	leds {
 		compatible = "gpio-leds";
 		led-red {
+			color = <LED_COLOR_ID_RED>;
 			gpios = <&gpiog 14 0>;
 		};
 		led-green {
+			function = LED_FUNCTION_HEARTBEAT;
+			color = <LED_COLOR_ID_GREEN>;
 			gpios = <&gpiog 13 0>;
 			linux,default-trigger = "heartbeat";
 		};

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 04/16] ARM: dts: stm32: Update LED nodes for stm32f469-disco
  2025-11-12 14:40 [PATCH 00/16] Led update for STMicrolectronics boards Patrice Chotard
                   ` (2 preceding siblings ...)
  2025-11-12 14:40 ` [PATCH 03/16] ARM: dts: stm32: Update LED nodes for stm32f429-disco Patrice Chotard
@ 2025-11-12 14:40 ` Patrice Chotard
  2025-11-12 14:40 ` [PATCH 05/16] ARM: dts: stm32: Update LED node for stm32f746-disco Patrice Chotard
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Patrice Chotard @ 2025-11-12 14:40 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

Add function property for led-green node.
Add color property for LED nodes.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
 arch/arm/boot/dts/st/stm32f469-disco.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/st/stm32f469-disco.dts b/arch/arm/boot/dts/st/stm32f469-disco.dts
index 8a4f8ddd083d..f43547ec436d 100644
--- a/arch/arm/boot/dts/st/stm32f469-disco.dts
+++ b/arch/arm/boot/dts/st/stm32f469-disco.dts
@@ -50,6 +50,7 @@
 #include "stm32f469-pinctrl.dtsi"
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
 	model = "STMicroelectronics STM32F469i-DISCO board";
@@ -83,16 +84,21 @@ soc {
 	leds {
 		compatible = "gpio-leds";
 		led-green {
+			function = LED_FUNCTION_HEARTBEAT;
+			color = <LED_COLOR_ID_GREEN>;
 			gpios = <&gpiog 6 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "heartbeat";
 		};
 		led-orange {
+			color = <LED_COLOR_ID_ORANGE>;
 			gpios = <&gpiod 4 GPIO_ACTIVE_LOW>;
 		};
 		led-red {
+			color = <LED_COLOR_ID_RED>;
 			gpios = <&gpiod 5 GPIO_ACTIVE_LOW>;
 		};
 		led-blue {
+			color = <LED_COLOR_ID_BLUE>;
 			gpios = <&gpiok 3 GPIO_ACTIVE_LOW>;
 		};
 	};

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 05/16] ARM: dts: stm32: Update LED node for stm32f746-disco
  2025-11-12 14:40 [PATCH 00/16] Led update for STMicrolectronics boards Patrice Chotard
                   ` (3 preceding siblings ...)
  2025-11-12 14:40 ` [PATCH 04/16] ARM: dts: stm32: Update LED nodes for stm32f469-disco Patrice Chotard
@ 2025-11-12 14:40 ` Patrice Chotard
  2025-11-12 14:40 ` [PATCH 06/16] ARM: dts: stm32: Update LED nodes for stm32f769-disco Patrice Chotard
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Patrice Chotard @ 2025-11-12 14:40 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

Add function and color properties for led-usr node.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
 arch/arm/boot/dts/st/stm32f746-disco.dts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/boot/dts/st/stm32f746-disco.dts b/arch/arm/boot/dts/st/stm32f746-disco.dts
index b57dbdce2f40..2e6086eea6ed 100644
--- a/arch/arm/boot/dts/st/stm32f746-disco.dts
+++ b/arch/arm/boot/dts/st/stm32f746-disco.dts
@@ -46,6 +46,7 @@
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
 #include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/leds/common.h>
 
 / {
 	model = "STMicroelectronics STM32F746-DISCO board";
@@ -81,6 +82,8 @@ aliases {
 	leds {
 		compatible = "gpio-leds";
 		led-usr {
+			function = LED_FUNCTION_HEARTBEAT;
+			color = <LED_COLOR_ID_GREEN>;
 			gpios = <&gpioi 1 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "heartbeat";
 		};

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 06/16] ARM: dts: stm32: Update LED nodes for stm32f769-disco
  2025-11-12 14:40 [PATCH 00/16] Led update for STMicrolectronics boards Patrice Chotard
                   ` (4 preceding siblings ...)
  2025-11-12 14:40 ` [PATCH 05/16] ARM: dts: stm32: Update LED node for stm32f746-disco Patrice Chotard
@ 2025-11-12 14:40 ` Patrice Chotard
  2025-11-12 14:40 ` [PATCH 07/16] ARM: dts: stm32: Update LED nodes for stm32746g-eval Patrice Chotard
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Patrice Chotard @ 2025-11-12 14:40 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

Add function property for led-green node
Add color property for LED nodes.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
 arch/arm/boot/dts/st/stm32f769-disco.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/st/stm32f769-disco.dts b/arch/arm/boot/dts/st/stm32f769-disco.dts
index 535cfdc4681c..97c276f81f9a 100644
--- a/arch/arm/boot/dts/st/stm32f769-disco.dts
+++ b/arch/arm/boot/dts/st/stm32f769-disco.dts
@@ -45,6 +45,7 @@
 #include "stm32f769-pinctrl.dtsi"
 #include <dt-bindings/input/input.h>
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/leds/common.h>
 
 / {
 	model = "STMicroelectronics STM32F769-DISCO board";
@@ -80,13 +81,17 @@ aliases {
 	leds {
 		compatible = "gpio-leds";
 		led-usr2 {
+			function = LED_FUNCTION_HEARTBEAT;
+			color = <LED_COLOR_ID_GREEN>;
 			gpios = <&gpioj 5 GPIO_ACTIVE_HIGH>;
 			linux,default-trigger = "heartbeat";
 		};
 		led-usr1 {
+			color = <LED_COLOR_ID_RED>;
 			gpios = <&gpioj 13 GPIO_ACTIVE_HIGH>;
 		};
 		led-usr3 {
+			color = <LED_COLOR_ID_GREEN>;
 			gpios = <&gpioa 12 GPIO_ACTIVE_HIGH>;
 		};
 	};

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 07/16] ARM: dts: stm32: Update LED nodes for stm32746g-eval
  2025-11-12 14:40 [PATCH 00/16] Led update for STMicrolectronics boards Patrice Chotard
                   ` (5 preceding siblings ...)
  2025-11-12 14:40 ` [PATCH 06/16] ARM: dts: stm32: Update LED nodes for stm32f769-disco Patrice Chotard
@ 2025-11-12 14:40 ` Patrice Chotard
  2025-11-12 14:40 ` [PATCH 08/16] ARM: dts: stm32: Add LED support for stm32h743i-disco Patrice Chotard
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Patrice Chotard @ 2025-11-12 14:40 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

Add function property for led-green node.
Add color property for LED nodes.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
 arch/arm/boot/dts/st/stm32746g-eval.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/st/stm32746g-eval.dts b/arch/arm/boot/dts/st/stm32746g-eval.dts
index e9ac37b6eca0..78ceec4a9487 100644
--- a/arch/arm/boot/dts/st/stm32746g-eval.dts
+++ b/arch/arm/boot/dts/st/stm32746g-eval.dts
@@ -45,6 +45,7 @@
 #include "stm32f746-pinctrl.dtsi"
 #include <dt-bindings/input/input.h>
 #include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/leds/common.h>
 
 / {
 	model = "STMicroelectronics STM32746g-EVAL board";
@@ -67,16 +68,21 @@ aliases {
 	leds {
 		compatible = "gpio-leds";
 		led-green {
+			function = LED_FUNCTION_HEARTBEAT;
+			color = <LED_COLOR_ID_GREEN>;
 			gpios = <&gpiof 10 1>;
 			linux,default-trigger = "heartbeat";
 		};
 		led-orange {
+			color = <LED_COLOR_ID_ORANGE>;
 			gpios = <&stmfx_pinctrl 17 1>;
 		};
 		led-red {
+			color = <LED_COLOR_ID_RED>;
 			gpios = <&gpiob 7 1>;
 		};
 		led-blue {
+			color = <LED_COLOR_ID_BLUE>;
 			gpios = <&stmfx_pinctrl 19 1>;
 		};
 	};

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 08/16] ARM: dts: stm32: Add LED support for stm32h743i-disco
  2025-11-12 14:40 [PATCH 00/16] Led update for STMicrolectronics boards Patrice Chotard
                   ` (6 preceding siblings ...)
  2025-11-12 14:40 ` [PATCH 07/16] ARM: dts: stm32: Update LED nodes for stm32746g-eval Patrice Chotard
@ 2025-11-12 14:40 ` Patrice Chotard
  2025-11-12 14:40 ` [PATCH 09/16] ARM: dts: stm32: Add LED support for stm32h743i-eval Patrice Chotard
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Patrice Chotard @ 2025-11-12 14:40 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

Add gpio led support for LED green,orange,red and blue
in stm32h743i-disco.dts.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
 arch/arm/boot/dts/st/stm32h743i-disco.dts | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/arch/arm/boot/dts/st/stm32h743i-disco.dts b/arch/arm/boot/dts/st/stm32h743i-disco.dts
index 8451a54a9a08..f20266de4e7f 100644
--- a/arch/arm/boot/dts/st/stm32h743i-disco.dts
+++ b/arch/arm/boot/dts/st/stm32h743i-disco.dts
@@ -43,6 +43,8 @@
 /dts-v1/;
 #include "stm32h743.dtsi"
 #include "stm32h7-pinctrl.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/leds/common.h>
 
 / {
 	model = "STMicroelectronics STM32H743i-Discovery board";
@@ -69,6 +71,31 @@ v3v3: regulator-v3v3 {
 		regulator-max-microvolt = <3300000>;
 		regulator-always-on;
 	};
+
+	leds {
+		compatible = "gpio-leds";
+		led-green {
+			function = LED_FUNCTION_HEARTBEAT;
+			color = <LED_COLOR_ID_GREEN>;
+			gpios = <&gpioi 12 GPIO_ACTIVE_LOW>;
+			linux,default-trigger = "heartbeat";
+		};
+
+		led-orange {
+			color = <LED_COLOR_ID_ORANGE>;
+			gpios = <&gpioi 13 GPIO_ACTIVE_LOW>;
+		};
+
+		led-red {
+			color = <LED_COLOR_ID_RED>;
+			gpios = <&gpioi 14 GPIO_ACTIVE_LOW>;
+		};
+
+		led-blue {
+			color = <LED_COLOR_ID_BLUE>;
+			gpios = <&gpioi 15 GPIO_ACTIVE_LOW>;
+		};
+	};
 };
 
 &clk_hse {

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 09/16] ARM: dts: stm32: Add LED support for stm32h743i-eval
  2025-11-12 14:40 [PATCH 00/16] Led update for STMicrolectronics boards Patrice Chotard
                   ` (7 preceding siblings ...)
  2025-11-12 14:40 ` [PATCH 08/16] ARM: dts: stm32: Add LED support for stm32h743i-disco Patrice Chotard
@ 2025-11-12 14:40 ` Patrice Chotard
  2025-11-12 14:40 ` [PATCH 10/16] ARM: dts: stm32: Update LED nodes for stm32h747i-disco Patrice Chotard
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Patrice Chotard @ 2025-11-12 14:40 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

Add green and red LEDs support for stm32h743-eval.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
 arch/arm/boot/dts/st/stm32h743i-eval.dts | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/arm/boot/dts/st/stm32h743i-eval.dts b/arch/arm/boot/dts/st/stm32h743i-eval.dts
index 4b0ced27b80e..4b3e0c5a9009 100644
--- a/arch/arm/boot/dts/st/stm32h743i-eval.dts
+++ b/arch/arm/boot/dts/st/stm32h743i-eval.dts
@@ -43,6 +43,8 @@
 /dts-v1/;
 #include "stm32h743.dtsi"
 #include "stm32h7-pinctrl.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/leds/common.h>
 
 / {
 	model = "STMicroelectronics STM32H743i-EVAL board";
@@ -62,6 +64,22 @@ aliases {
 		serial0 = &usart1;
 	};
 
+	led {
+		compatible = "gpio-leds";
+		led-green {
+			function = LED_FUNCTION_HEARTBEAT;
+			color = <LED_COLOR_ID_GREEN>;
+			gpios = <&gpiof 10 GPIO_ACTIVE_LOW>;
+			linux,default-trigger = "heartbeat";
+			default-state = "off";
+		};
+
+		led-red {
+			color = <LED_COLOR_ID_RED>;
+			gpios = <&gpioa 4 GPIO_ACTIVE_LOW>;
+		};
+	};
+
 	vdda: regulator-vdda {
 		compatible = "regulator-fixed";
 		regulator-name = "vdda";

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 10/16] ARM: dts: stm32: Update LED nodes for stm32h747i-disco
  2025-11-12 14:40 [PATCH 00/16] Led update for STMicrolectronics boards Patrice Chotard
                   ` (8 preceding siblings ...)
  2025-11-12 14:40 ` [PATCH 09/16] ARM: dts: stm32: Add LED support for stm32h743i-eval Patrice Chotard
@ 2025-11-12 14:40 ` Patrice Chotard
  2025-11-12 14:40 ` [PATCH 11/16] ARM: dts: stm32: Add red LED for stm32mp135f-dk board Patrice Chotard
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Patrice Chotard @ 2025-11-12 14:40 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

Add function property for led-green node.
Add color property for LED nodes.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
 arch/arm/boot/dts/st/stm32h747i-disco.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/st/stm32h747i-disco.dts b/arch/arm/boot/dts/st/stm32h747i-disco.dts
index 99f0255dae8e..bb6649a58bc1 100644
--- a/arch/arm/boot/dts/st/stm32h747i-disco.dts
+++ b/arch/arm/boot/dts/st/stm32h747i-disco.dts
@@ -8,6 +8,7 @@
 #include "stm32h7-pinctrl.dtsi"
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
 	model = "STMicroelectronics STM32H747i-Discovery board";
@@ -39,16 +40,21 @@ v3v3: regulator-v3v3 {
 	leds {
 		compatible = "gpio-leds";
 		led-green {
+			function = LED_FUNCTION_HEARTBEAT;
+			color = <LED_COLOR_ID_GREEN>;
 			gpios = <&gpioi 12 GPIO_ACTIVE_LOW>;
 			linux,default-trigger = "heartbeat";
 		};
 		led-orange {
+			color = <LED_COLOR_ID_ORANGE>;
 			gpios = <&gpioi 13 GPIO_ACTIVE_LOW>;
 		};
 		led-red {
+			color = <LED_COLOR_ID_RED>;
 			gpios = <&gpioi 14 GPIO_ACTIVE_LOW>;
 		};
 		led-blue {
+			color = <LED_COLOR_ID_BLUE>;
 			gpios = <&gpioi 15 GPIO_ACTIVE_LOW>;
 		};
 	};

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 11/16] ARM: dts: stm32: Add red LED for stm32mp135f-dk board
  2025-11-12 14:40 [PATCH 00/16] Led update for STMicrolectronics boards Patrice Chotard
                   ` (9 preceding siblings ...)
  2025-11-12 14:40 ` [PATCH 10/16] ARM: dts: stm32: Update LED nodes for stm32h747i-disco Patrice Chotard
@ 2025-11-12 14:40 ` Patrice Chotard
  2025-11-12 14:40 ` [PATCH 12/16] ARM: dts: stm32: Add red LED for stm32mp157c-ed1 board Patrice Chotard
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Patrice Chotard @ 2025-11-12 14:40 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

Add LED red node for stm32mp135f-dk.
This LED is used as status lLED in U-Boot.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
 arch/arm/boot/dts/st/stm32mp135f-dk.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/st/stm32mp135f-dk.dts b/arch/arm/boot/dts/st/stm32mp135f-dk.dts
index 9764a6bfa5b4..909372da711b 100644
--- a/arch/arm/boot/dts/st/stm32mp135f-dk.dts
+++ b/arch/arm/boot/dts/st/stm32mp135f-dk.dts
@@ -80,6 +80,12 @@ led-blue {
 			linux,default-trigger = "heartbeat";
 			default-state = "off";
 		};
+
+		led-red {
+			function = LED_FUNCTION_STATUS;
+			color = <LED_COLOR_ID_RED>;
+			gpios = <&gpioa 13 GPIO_ACTIVE_LOW>;
+		};
 	};
 
 	panel_backlight: panel-backlight {

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 12/16] ARM: dts: stm32: Add red LED for stm32mp157c-ed1 board
  2025-11-12 14:40 [PATCH 00/16] Led update for STMicrolectronics boards Patrice Chotard
                   ` (10 preceding siblings ...)
  2025-11-12 14:40 ` [PATCH 11/16] ARM: dts: stm32: Add red LED for stm32mp135f-dk board Patrice Chotard
@ 2025-11-12 14:40 ` Patrice Chotard
  2025-11-12 14:40 ` [PATCH 13/16] ARM: dts: stm32: Update LED node for stm32mp15xx-dkx board Patrice Chotard
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Patrice Chotard @ 2025-11-12 14:40 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

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>
---
 arch/arm/boot/dts/st/stm32mp157c-ed1.dts | 6 ++++++
 1 file changed, 6 insertions(+)

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 @@ led-blue {
 			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 {

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 13/16] ARM: dts: stm32: Update LED node for stm32mp15xx-dkx board
  2025-11-12 14:40 [PATCH 00/16] Led update for STMicrolectronics boards Patrice Chotard
                   ` (11 preceding siblings ...)
  2025-11-12 14:40 ` [PATCH 12/16] ARM: dts: stm32: Add red LED for stm32mp157c-ed1 board Patrice Chotard
@ 2025-11-12 14:40 ` Patrice Chotard
  2025-11-12 14:40 ` [PATCH 14/16] arm64: dts: st: Add green and orange LED for stm32mp235f-dk Patrice Chotard
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Patrice Chotard @ 2025-11-12 14:40 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

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>
---
 arch/arm/boot/dts/st/stm32mp15xx-dkx.dtsi | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

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 @@ retram: retram@38000000 {
 	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 {

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 14/16] arm64: dts: st: Add green and orange LED for stm32mp235f-dk
  2025-11-12 14:40 [PATCH 00/16] Led update for STMicrolectronics boards Patrice Chotard
                   ` (12 preceding siblings ...)
  2025-11-12 14:40 ` [PATCH 13/16] ARM: dts: stm32: Update LED node for stm32mp15xx-dkx board Patrice Chotard
@ 2025-11-12 14:40 ` Patrice Chotard
  2025-11-12 14:40 ` [PATCH 15/16] arm64: dts: st: Add green and orange LED for stm32mp257f-dk Patrice Chotard
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: Patrice Chotard @ 2025-11-12 14:40 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

Add green and orange LED support on stm32mp235f-dk board.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
 arch/arm64/boot/dts/st/stm32mp235f-dk.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/st/stm32mp235f-dk.dts b/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
index c3e688068223..ab9a30103db7 100644
--- a/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
+++ b/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
@@ -53,6 +53,16 @@ led-blue {
 			linux,default-trigger = "heartbeat";
 			default-state = "off";
 		};
+
+		led-green {
+			color = <LED_COLOR_ID_GREEN>;
+			gpios = <&gpioh 5 GPIO_ACTIVE_HIGH>;
+		};
+
+		led-orange {
+			color = <LED_COLOR_ID_ORANGE>;
+			gpios = <&gpioh 6 GPIO_ACTIVE_HIGH>;
+		};
 	};
 
 	memory@80000000 {

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 15/16] arm64: dts: st: Add green and orange LED for stm32mp257f-dk
  2025-11-12 14:40 [PATCH 00/16] Led update for STMicrolectronics boards Patrice Chotard
                   ` (13 preceding siblings ...)
  2025-11-12 14:40 ` [PATCH 14/16] arm64: dts: st: Add green and orange LED for stm32mp235f-dk Patrice Chotard
@ 2025-11-12 14:40 ` Patrice Chotard
  2025-11-12 14:40 ` [PATCH 16/16] arm64: dts: st: Add green and orange LED for stm32mp235f-dk Patrice Chotard
  2025-11-13 13:29 ` [PATCH 00/16] Led update for STMicrolectronics boards Rob Herring (Arm)
  16 siblings, 0 replies; 18+ messages in thread
From: Patrice Chotard @ 2025-11-12 14:40 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

Add green and orange LED support on stm32mp235f-dk board.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
 arch/arm64/boot/dts/st/stm32mp257f-dk.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
index e718d888ce21..dc1a75f10f49 100644
--- a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
+++ b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
@@ -53,6 +53,16 @@ led-blue {
 			linux,default-trigger = "heartbeat";
 			default-state = "off";
 		};
+
+		led-green {
+			color = <LED_COLOR_ID_GREEN>;
+			gpios = <&gpioh 5 GPIO_ACTIVE_HIGH>;
+		};
+
+		led-orange {
+			color = <LED_COLOR_ID_ORANGE>;
+			gpios = <&gpioh 6 GPIO_ACTIVE_HIGH>;
+		};
 	};
 
 	memory@80000000 {

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* [PATCH 16/16] arm64: dts: st: Add green and orange LED for stm32mp235f-dk
  2025-11-12 14:40 [PATCH 00/16] Led update for STMicrolectronics boards Patrice Chotard
                   ` (14 preceding siblings ...)
  2025-11-12 14:40 ` [PATCH 15/16] arm64: dts: st: Add green and orange LED for stm32mp257f-dk Patrice Chotard
@ 2025-11-12 14:40 ` Patrice Chotard
  2025-11-13 13:29 ` [PATCH 00/16] Led update for STMicrolectronics boards Rob Herring (Arm)
  16 siblings, 0 replies; 18+ messages in thread
From: Patrice Chotard @ 2025-11-12 14:40 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel,
	Patrice Chotard

Add blue, green and orange LED support on stm32mp235f-dk board.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---
 arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
index 6e165073f732..f41213187723 100644
--- a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
+++ b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts
@@ -7,6 +7,7 @@
 /dts-v1/;
 
 #include <dt-bindings/gpio/gpio.h>
+#include <dt-bindings/leds/common.h>
 #include <dt-bindings/regulator/st,stm32mp25-regulator.h>
 #include "stm32mp257.dtsi"
 #include "stm32mp25xf.dtsi"
@@ -42,6 +43,28 @@ pad_clk: pad-clk {
 		};
 	};
 
+	gpio-leds {
+		compatible = "gpio-leds";
+
+		led-blue {
+			function = LED_FUNCTION_HEARTBEAT;
+			color = <LED_COLOR_ID_BLUE>;
+			gpios = <&gpioj 7 GPIO_ACTIVE_HIGH>;
+			linux,default-trigger = "heartbeat";
+			default-state = "off";
+		};
+
+		led-green {
+			color = <LED_COLOR_ID_GREEN>;
+			gpios = <&gpiod 8 GPIO_ACTIVE_HIGH>;
+		};
+
+		led-orange {
+			color = <LED_COLOR_ID_ORANGE>;
+			gpios = <&gpioj 6 GPIO_ACTIVE_HIGH>;
+		};
+	};
+
 	imx335_2v9: regulator-2v9 {
 		compatible = "regulator-fixed";
 		regulator-name = "imx335-avdd";

-- 
2.43.0


^ permalink raw reply related	[flat|nested] 18+ messages in thread

* Re: [PATCH 00/16] Led update for STMicrolectronics boards
  2025-11-12 14:40 [PATCH 00/16] Led update for STMicrolectronics boards Patrice Chotard
                   ` (15 preceding siblings ...)
  2025-11-12 14:40 ` [PATCH 16/16] arm64: dts: st: Add green and orange LED for stm32mp235f-dk Patrice Chotard
@ 2025-11-13 13:29 ` Rob Herring (Arm)
  16 siblings, 0 replies; 18+ messages in thread
From: Rob Herring (Arm) @ 2025-11-13 13:29 UTC (permalink / raw)
  To: Patrice Chotard
  Cc: linux-stm32, Conor Dooley, Alexandre Torgue, Maxime Coquelin,
	Krzysztof Kozlowski, devicetree, linux-kernel, linux-arm-kernel


On Wed, 12 Nov 2025 15:40:17 +0100, Patrice Chotard wrote:
> This series adds/updates LED nodes for STMicroelectronics boards by
> adding new LED nodes and function/color properties.
> 
> On STM32 MCUs boards (F4/F7 and H7 series) green LED is
> used as heartbeat.
> 
> On STM32MP1/2, blue LED is used as heartbeat.
> 
> On STM32MP1, red LED is used as status LED.
> 
> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
> ---
> Patrice Chotard (16):
>       ARM: dts: stm32: reorder nodes for stm32429i-eval
>       ARM: dts: stm32: Update LED nodes for stm32429i-eval
>       ARM: dts: stm32: Update LED nodes for stm32f429-disco
>       ARM: dts: stm32: Update LED nodes for stm32f469-disco
>       ARM: dts: stm32: Update LED node for stm32f746-disco
>       ARM: dts: stm32: Update LED nodes for stm32f769-disco
>       ARM: dts: stm32: Update LED nodes for stm32746g-eval
>       ARM: dts: stm32: Add LED support for stm32h743i-disco
>       ARM: dts: stm32: Add LED support for stm32h743i-eval
>       ARM: dts: stm32: Update LED nodes for stm32h747i-disco
>       ARM: dts: stm32: Add red LED for stm32mp135f-dk board
>       ARM: dts: stm32: Add red LED for stm32mp157c-ed1 board
>       ARM: dts: stm32: Update LED node for stm32mp15xx-dkx board
>       arm64: dts: st: Add green and orange LED for stm32mp235f-dk
>       arm64: dts: st: Add green and orange LED for stm32mp257f-dk
>       arm64: dts: st: Add green and orange LED for stm32mp235f-dk
> 
>  arch/arm/boot/dts/st/stm32429i-eval.dts    | 65 +++++++++++++++++-------------
>  arch/arm/boot/dts/st/stm32746g-eval.dts    |  6 +++
>  arch/arm/boot/dts/st/stm32f429-disco.dts   |  6 ++-
>  arch/arm/boot/dts/st/stm32f469-disco.dts   |  6 +++
>  arch/arm/boot/dts/st/stm32f746-disco.dts   |  3 ++
>  arch/arm/boot/dts/st/stm32f769-disco.dts   |  5 +++
>  arch/arm/boot/dts/st/stm32h743i-disco.dts  | 27 +++++++++++++
>  arch/arm/boot/dts/st/stm32h743i-eval.dts   | 18 +++++++++
>  arch/arm/boot/dts/st/stm32h747i-disco.dts  |  6 +++
>  arch/arm/boot/dts/st/stm32mp135f-dk.dts    |  6 +++
>  arch/arm/boot/dts/st/stm32mp157c-ed1.dts   |  6 +++
>  arch/arm/boot/dts/st/stm32mp15xx-dkx.dtsi  | 10 ++++-
>  arch/arm64/boot/dts/st/stm32mp235f-dk.dts  | 10 +++++
>  arch/arm64/boot/dts/st/stm32mp257f-dk.dts  | 10 +++++
>  arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 23 +++++++++++
>  15 files changed, 176 insertions(+), 31 deletions(-)
> ---
> base-commit: 53c18dc078bb6d9e9dfe2cc0671ab78588c44723
> change-id: 20251112-upstream_update_led_nodes-30e8ca390161
> 
> Best regards,
> --
> Patrice Chotard <patrice.chotard@foss.st.com>
> 
> 
> 


My bot found new DTB warnings on the .dts files added or changed in this
series.

Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.

If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:

  pip3 install dtschema --upgrade


This patch series was applied (using b4) to base:
 Base: 53c18dc078bb6d9e9dfe2cc0671ab78588c44723 (use --merge-base to override)

If this is not the correct base, please add 'base-commit' tag
(or use b4 which does this automatically)

New warnings running 'make CHECK_DTBS=y for arch/arm/boot/dts/st/' for 20251112-upstream_update_led_nodes-v1-0-f6c77739113c@foss.st.com:

Error: arch/arm/boot/dts/st/stm32429i-eval.dts:131.13-22 syntax error
FATAL ERROR: Unable to parse input tree
make[3]: *** [scripts/Makefile.dtbs:131: arch/arm/boot/dts/st/stm32429i-eval.dtb] Error 1
make[2]: *** [scripts/Makefile.build:556: arch/arm/boot/dts/st] Error 2
make[2]: Target 'arch/arm/boot/dts/st/stm32429i-eval.dtb' not remade because of errors.
make[1]: *** [/home/rob/proj/linux-dt-testing/Makefile:1480: st/stm32429i-eval.dtb] Error 2
make: *** [Makefile:248: __sub-make] Error 2
make: Target 'st/spear310-evb.dtb' not remade because of errors.
make: Target 'st/spear300-evb.dtb' not remade because of errors.
make: Target 'st/stm32mp157c-dk2.dtb' not remade because of errors.
make: Target 'st/stm32mp157a-icore-stm32mp1-edimm2.2.dtb' not remade because of errors.
make: Target 'st/stm32mp157c-ev1.dtb' not remade because of errors.
make: Target 'st/stm32mp153c-lxa-tac-gen3.dtb' not remade because of errors.
make: Target 'st/stm32mp135f-dhcor-dhsbc.dtb' not remade because of errors.
make: Target 'st/stm32mp157c-odyssey.dtb' not remade because of errors.
make: Target 'st/stih407-b2120.dtb' not remade because of errors.
make: Target 'st/ste-ux500-samsung-codina.dtb' not remade because of errors.
make: Target 'st/stm32h747i-disco.dtb' not remade because of errors.
make: Target 'st/ste-ux500-samsung-codina-tmo.dtb' not remade because of errors.
make: Target 'st/ste-hrefv60plus-tvk.dtb' not remade because of errors.
make: Target 'st/stm32mp151a-dhcor-testbench.dtb' not remade because of errors.
make: Target 'st/stih410-b2120.dtb' not remade because of errors.
make: Target 'st/stm32mp157c-phycore-stm32mp1-3.dtb' not remade because of errors.
make: Target 'st/stm32h750i-art-pi.dtb' not remade because of errors.
make: Target 'st/stm32mp157c-dhcom-picoitx.dtb' not remade because of errors.
make: Target 'st/stm32mp153c-lxa-fairytux2-gen2.dtb' not remade because of errors.
make: Target 'st/stm32mp157c-dhcom-pdk2.dtb' not remade because of errors.
make: Target 'st/spear320-hmi.dtb' not remade because of errors.
make: Target 'st/stm32mp157c-ed1.dtb' not remade because of errors.
make: Target 'st/ste-nomadik-s8815.dtb' not remade because of errors.
make: Target 'st/ste-hrefprev60-tvk.dtb' not remade because of errors.
make: Target 'st/spear320-evb.dtb' not remade because of errors.
make: Target 'st/stm32mp153c-lxa-fairytux2-gen1.dtb' not remade because of errors.
make: Target 'st/stm32mp153c-dhcor-drc-compact.dtb' not remade because of errors.
make: Target 'st/ste-ux500-samsung-skomer.dtb' not remade because of errors.
make: Target 'st/stm32mp157a-microgea-stm32mp1-microdev2.0.dtb' not remade because of errors.
make: Target 'st/stih418-b2264.dtb' not remade because of errors.
make: Target 'st/stm32f769-disco-mb1166-reva09.dtb' not remade because of errors.
make: Target 'st/stm32f429-disco.dtb' not remade because of errors.
make: Target 'st/stm32mp157a-microgea-stm32mp1-microdev2.0-of7.dtb' not remade because of errors.
make: Target 'st/stm32mp151a-prtt1a.dtb' not remade because of errors.
make: Target 'st/ste-hrefv60plus-stuib.dtb' not remade because of errors.
make: Target 'st/stm32746g-eval.dtb' not remade because of errors.
make: Target 'st/stm32mp157a-dk1-scmi.dtb' not remade because of errors.
make: Target 'st/stm32mp151c-mect1s.dtb' not remade because of errors.
make: Target 'st/ste-href520-tvk.dtb' not remade because of errors.
make: Target 'st/stm32mp157a-stinger96.dtb' not remade because of errors.
make: Target 'st/stih418-b2199.dtb' not remade because of errors.
make: Target 'st/ste-snowball.dtb' not remade because of errors.
make: Target 'st/stm32f469-disco.dtb' not remade because of errors.
make: Target 'st/stm32h743i-eval.dtb' not remade because of errors.
make: Target 'st/stm32f769-disco.dtb' not remade because of errors.
make: Target 'st/ste-nomadik-nhk15.dtb' not remade because of errors.
make: Target 'st/stm32429i-eval.dtb' not remade because of errors.
make: Target 'st/stm32mp157a-dhcor-avenger96.dtb' not remade because of errors.
make: Target 'st/stm32mp153c-mecio1r1.dtb' not remade because of errors.
make: Target 'st/stm32mp157c-ultra-fly-sbc.dtb' not remade because of errors.
make: Target 'st/stm32mp151a-prtt1s.dtb' not remade because of errors.
make: Target 'st/spear1340-evb.dtb' not remade because of errors.
make: Target 'st/stm32mp157a-icore-stm32mp1-ctouch2-of10.dtb' not remade because of errors.
make: Target 'st/stm32mp151a-prtt1c.dtb' not remade because of errors.
make: Target 'st/ste-ux500-samsung-golden.dtb' not remade because of errors.
make: Target 'st/stm32mp157c-osd32mp1-red.dtb' not remade because of errors.
make: Target 'st/stm32mp157a-dk1.dtb' not remade because of errors.
make: Target 'st/ste-ux500-samsung-kyle.dtb' not remade because of errors.
make: Target 'st/ste-ux500-samsung-janice.dtb' not remade because of errors.
make: Target 'st/stm32mp153c-dhcom-drc02.dtb' not remade because of errors.
make: Target 'st/spear600-evb.dtb' not remade because of errors.
make: Target 'st/stm32mp157f-dk2.dtb' not remade because of errors.
make: Target 'st/stm32mp157c-emsbc-argon.dtb' not remade because of errors.
make: Target 'st/stm32f746-disco.dtb' not remade because of errors.
make: Target 'st/stm32mp151c-plyaqm.dtb' not remade because of errors.
make: Target 'st/stm32mp133c-prihmb.dtb' not remade because of errors.
make: Target 'st/stm32mp157a-iot-box.dtb' not remade because of errors.
make: Target 'st/stm32mp157c-lxa-mc1.dtb' not remade because of errors.
make: Target 'st/stm32mp135f-dk.dtb' not remade because of errors.
make: Target 'st/stm32mp157c-lxa-tac-gen2.dtb' not remade because of errors.
make: Target 'st/stm32mp157c-ev1-scmi.dtb' not remade because of errors.
make: Target 'st/stm32mp157a-avenger96.dtb' not remade because of errors.
make: Target 'st/ste-ux500-samsung-gavini.dtb' not remade because of errors.
make: Target 'st/stm32mp157c-ed1-scmi.dtb' not remade because of errors.
make: Target 'st/stm32mp157c-lxa-tac-gen1.dtb' not remade because of errors.
make: Target 'st/stih410-b2260.dtb' not remade because of errors.
make: Target 'st/stm32mp151c-mecio1r0.dtb' not remade because of errors.
make: Target 'st/spear1310-evb.dtb' not remade because of errors.
make: Target 'st/stm32h743i-disco.dtb' not remade because of errors.
make: Target 'st/stm32mp157a-icore-stm32mp1-ctouch2.dtb' not remade because of errors.
make: Target 'st/ste-hrefprev60-stuib.dtb' not remade because of errors.
make: Target 'st/stm32mp157c-dk2-scmi.dtb' not remade because of errors.






^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2025-11-13 13:29 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-12 14:40 [PATCH 00/16] Led update for STMicrolectronics boards Patrice Chotard
2025-11-12 14:40 ` [PATCH 01/16] ARM: dts: stm32: reorder nodes for stm32429i-eval Patrice Chotard
2025-11-12 14:40 ` [PATCH 02/16] ARM: dts: stm32: Update LED " Patrice Chotard
2025-11-12 14:40 ` [PATCH 03/16] ARM: dts: stm32: Update LED nodes for stm32f429-disco Patrice Chotard
2025-11-12 14:40 ` [PATCH 04/16] ARM: dts: stm32: Update LED nodes for stm32f469-disco Patrice Chotard
2025-11-12 14:40 ` [PATCH 05/16] ARM: dts: stm32: Update LED node for stm32f746-disco Patrice Chotard
2025-11-12 14:40 ` [PATCH 06/16] ARM: dts: stm32: Update LED nodes for stm32f769-disco Patrice Chotard
2025-11-12 14:40 ` [PATCH 07/16] ARM: dts: stm32: Update LED nodes for stm32746g-eval Patrice Chotard
2025-11-12 14:40 ` [PATCH 08/16] ARM: dts: stm32: Add LED support for stm32h743i-disco Patrice Chotard
2025-11-12 14:40 ` [PATCH 09/16] ARM: dts: stm32: Add LED support for stm32h743i-eval Patrice Chotard
2025-11-12 14:40 ` [PATCH 10/16] ARM: dts: stm32: Update LED nodes for stm32h747i-disco Patrice Chotard
2025-11-12 14:40 ` [PATCH 11/16] ARM: dts: stm32: Add red LED for stm32mp135f-dk board Patrice Chotard
2025-11-12 14:40 ` [PATCH 12/16] ARM: dts: stm32: Add red LED for stm32mp157c-ed1 board Patrice Chotard
2025-11-12 14:40 ` [PATCH 13/16] ARM: dts: stm32: Update LED node for stm32mp15xx-dkx board Patrice Chotard
2025-11-12 14:40 ` [PATCH 14/16] arm64: dts: st: Add green and orange LED for stm32mp235f-dk Patrice Chotard
2025-11-12 14:40 ` [PATCH 15/16] arm64: dts: st: Add green and orange LED for stm32mp257f-dk Patrice Chotard
2025-11-12 14:40 ` [PATCH 16/16] arm64: dts: st: Add green and orange LED for stm32mp235f-dk Patrice Chotard
2025-11-13 13:29 ` [PATCH 00/16] Led update for STMicrolectronics boards Rob Herring (Arm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).