U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] stm32mp2: Fix stm32mp2xx-dk board boot issue
@ 2025-10-17 12:18 Patrice Chotard
  2025-10-17 12:18 ` [PATCH 1/5] ARM: dts: Add stm32mp257f-dk-u-boot.dtsi Patrice Chotard
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Patrice Chotard @ 2025-10-17 12:18 UTC (permalink / raw)
  To: u-boot; +Cc: Patrice CHOTARD, Patrick DELAUNAY, U-Boot STM32, Tom Rini

This series is fixing boot issue for STM32MP235F-DK and STM32MP257F-DK
boards.
STM32MP235F-DK:
  - Update syscon compatible list in STM32 syscon driver
  - Temporarily fix watchdog arm,smc-id value
  - Add txbyteclk to avoid error during clock registration.

STM32MP257F-DK:
  - Add STM32MP257F-DK-U-Boot file
  - Temporarily fix watchdog arm,smc-id value

Patrice Chotard (5):
  ARM: dts: Add stm32mp257f-dk-u-boot.dtsi
  ARM: dts: Fix "arm,smc-id" value for stm32mp23-u-boot.dtsi
  ARM: dts: Fix "arm,smc-id" value for stm32mp25-u-boot.dtsi
  ARM: dts: Add txbyteclk clock in stm32mp235f-dk-u-boot.dtsi
  stm32mp: Add stm32mp23 support for syscon driver

 arch/arm/dts/stm32mp23-u-boot.dtsi      |  5 +++++
 arch/arm/dts/stm32mp235f-dk-u-boot.dtsi |  8 ++++++++
 arch/arm/dts/stm32mp25-u-boot.dtsi      |  5 +++++
 arch/arm/dts/stm32mp257f-dk-u-boot.dtsi | 26 +++++++++++++++++++++++++
 arch/arm/mach-stm32mp/syscon.c          |  1 +
 5 files changed, 45 insertions(+)
 create mode 100644 arch/arm/dts/stm32mp257f-dk-u-boot.dtsi

-- 
2.43.0

base-commit: 22859b2fb25cb5c6cccc48a7dda49a05e9276e12
branch: upstream_stm32mp2x-dk_board_fixes

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

* [PATCH 1/5] ARM: dts: Add stm32mp257f-dk-u-boot.dtsi
  2025-10-17 12:18 [PATCH 0/5] stm32mp2: Fix stm32mp2xx-dk board boot issue Patrice Chotard
@ 2025-10-17 12:18 ` Patrice Chotard
  2025-11-13 17:28   ` Patrick DELAUNAY
  2025-10-17 12:18 ` [PATCH 2/5] ARM: dts: Fix "arm, smc-id" value for stm32mp23-u-boot.dtsi Patrice Chotard
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 16+ messages in thread
From: Patrice Chotard @ 2025-10-17 12:18 UTC (permalink / raw)
  To: u-boot; +Cc: Patrice CHOTARD, Patrick DELAUNAY, U-Boot STM32, Tom Rini

Add U-Boot support for stm32mp257f-dk board.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---

 arch/arm/dts/stm32mp257f-dk-u-boot.dtsi | 26 +++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 arch/arm/dts/stm32mp257f-dk-u-boot.dtsi

diff --git a/arch/arm/dts/stm32mp257f-dk-u-boot.dtsi b/arch/arm/dts/stm32mp257f-dk-u-boot.dtsi
new file mode 100644
index 00000000000..fe3fe9c5166
--- /dev/null
+++ b/arch/arm/dts/stm32mp257f-dk-u-boot.dtsi
@@ -0,0 +1,26 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-3-Clause
+/*
+ * Copyright (C) STMicroelectronics 2025 - All Rights Reserved
+ */
+
+#include "stm32mp25-u-boot.dtsi"
+
+/ {
+	config {
+		u-boot,mmc-env-partition = "u-boot-env";
+	};
+};
+
+&usart2 {
+	bootph-all;
+};
+
+&usart2_pins_a {
+	bootph-all;
+	pins1 {
+		bootph-all;
+	};
+	pins2 {
+		bootph-all;
+	};
+};
-- 
2.43.0


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

* [PATCH 2/5] ARM: dts: Fix "arm, smc-id" value for stm32mp23-u-boot.dtsi
  2025-10-17 12:18 [PATCH 0/5] stm32mp2: Fix stm32mp2xx-dk board boot issue Patrice Chotard
  2025-10-17 12:18 ` [PATCH 1/5] ARM: dts: Add stm32mp257f-dk-u-boot.dtsi Patrice Chotard
@ 2025-10-17 12:18 ` Patrice Chotard
  2025-11-13 17:40   ` [PATCH 2/5] ARM: dts: Fix "arm,smc-id" " Patrick DELAUNAY
  2025-10-17 12:18 ` [PATCH 3/5] ARM: dts: Fix "arm, smc-id" value for stm32mp25-u-boot.dtsi Patrice Chotard
                   ` (2 subsequent siblings)
  4 siblings, 1 reply; 16+ messages in thread
From: Patrice Chotard @ 2025-10-17 12:18 UTC (permalink / raw)
  To: u-boot; +Cc: Patrice CHOTARD, Patrick DELAUNAY, U-Boot STM32, Tom Rini

OP-TEE "arm,smc-id" is equal to 0xbc000000 but kernel DT has been
upstream with an incorrect value.
Fix it temporarily until kernel DT is fixed.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---

 arch/arm/dts/stm32mp23-u-boot.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/dts/stm32mp23-u-boot.dtsi b/arch/arm/dts/stm32mp23-u-boot.dtsi
index 872a8739c54..5a9436dd193 100644
--- a/arch/arm/dts/stm32mp23-u-boot.dtsi
+++ b/arch/arm/dts/stm32mp23-u-boot.dtsi
@@ -37,6 +37,11 @@
 	soc@0 {
 		bootph-all;
 	};
+
+	/* temporary until kernel DT update */
+	watchdog {
+		arm,smc-id = <0xbc000000>;
+	};
 };
 
 &bsec {
-- 
2.43.0


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

* [PATCH 3/5] ARM: dts: Fix "arm, smc-id" value for stm32mp25-u-boot.dtsi
  2025-10-17 12:18 [PATCH 0/5] stm32mp2: Fix stm32mp2xx-dk board boot issue Patrice Chotard
  2025-10-17 12:18 ` [PATCH 1/5] ARM: dts: Add stm32mp257f-dk-u-boot.dtsi Patrice Chotard
  2025-10-17 12:18 ` [PATCH 2/5] ARM: dts: Fix "arm, smc-id" value for stm32mp23-u-boot.dtsi Patrice Chotard
@ 2025-10-17 12:18 ` Patrice Chotard
  2025-11-13 17:40   ` [PATCH 3/5] ARM: dts: Fix "arm,smc-id" " Patrick DELAUNAY
  2025-10-17 12:18 ` [PATCH 4/5] ARM: dts: Add txbyteclk clock in stm32mp235f-dk-u-boot.dtsi Patrice Chotard
  2025-10-17 12:18 ` [PATCH 5/5] stm32mp: Add stm32mp23 support for syscon driver Patrice Chotard
  4 siblings, 1 reply; 16+ messages in thread
From: Patrice Chotard @ 2025-10-17 12:18 UTC (permalink / raw)
  To: u-boot; +Cc: Patrice CHOTARD, Patrick DELAUNAY, U-Boot STM32, Tom Rini

OP-TEE "arm,smc-id" is equal to 0xbc000000 but kernel DT has been
upstream with an incorrect value.
Fix it temporarily until kernel DT is fixed.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---

 arch/arm/dts/stm32mp25-u-boot.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/dts/stm32mp25-u-boot.dtsi b/arch/arm/dts/stm32mp25-u-boot.dtsi
index d9aeeb6d510..ee82a0289e2 100644
--- a/arch/arm/dts/stm32mp25-u-boot.dtsi
+++ b/arch/arm/dts/stm32mp25-u-boot.dtsi
@@ -39,6 +39,11 @@
 	soc@0 {
 		bootph-all;
 	};
+
+	/* temporary until kernel DT update */
+	watchdog {
+		arm,smc-id = <0xbc000000>;
+	};
 };
 
 &bsec {
-- 
2.43.0


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

* [PATCH 4/5] ARM: dts: Add txbyteclk clock in stm32mp235f-dk-u-boot.dtsi
  2025-10-17 12:18 [PATCH 0/5] stm32mp2: Fix stm32mp2xx-dk board boot issue Patrice Chotard
                   ` (2 preceding siblings ...)
  2025-10-17 12:18 ` [PATCH 3/5] ARM: dts: Fix "arm, smc-id" value for stm32mp25-u-boot.dtsi Patrice Chotard
@ 2025-10-17 12:18 ` Patrice Chotard
  2025-11-13 17:44   ` Patrick DELAUNAY
  2025-10-17 12:18 ` [PATCH 5/5] stm32mp: Add stm32mp23 support for syscon driver Patrice Chotard
  4 siblings, 1 reply; 16+ messages in thread
From: Patrice Chotard @ 2025-10-17 12:18 UTC (permalink / raw)
  To: u-boot; +Cc: Patrice CHOTARD, Patrick DELAUNAY, U-Boot STM32, Tom Rini

Add txbyteclk to avoid error during clock registration.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
---

 arch/arm/dts/stm32mp235f-dk-u-boot.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/dts/stm32mp235f-dk-u-boot.dtsi b/arch/arm/dts/stm32mp235f-dk-u-boot.dtsi
index 1bc77874050..84279c4712a 100644
--- a/arch/arm/dts/stm32mp235f-dk-u-boot.dtsi
+++ b/arch/arm/dts/stm32mp235f-dk-u-boot.dtsi
@@ -10,6 +10,14 @@
 		u-boot,boot-led = "led-blue";
 		u-boot,mmc-env-partition = "u-boot-env";
 	};
+
+	clocks {
+		txbyteclk {
+			#clock-cells = <0>;
+			compatible = "fixed-clock";
+			clock-frequency = <0>;
+		};
+	};
 };
 
 &usart2 {
-- 
2.43.0


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

* [PATCH 5/5] stm32mp: Add stm32mp23 support for syscon driver
  2025-10-17 12:18 [PATCH 0/5] stm32mp2: Fix stm32mp2xx-dk board boot issue Patrice Chotard
                   ` (3 preceding siblings ...)
  2025-10-17 12:18 ` [PATCH 4/5] ARM: dts: Add txbyteclk clock in stm32mp235f-dk-u-boot.dtsi Patrice Chotard
@ 2025-10-17 12:18 ` Patrice Chotard
  2025-11-13 17:45   ` Patrick DELAUNAY
  4 siblings, 1 reply; 16+ messages in thread
From: Patrice Chotard @ 2025-10-17 12:18 UTC (permalink / raw)
  To: u-boot; +Cc: Patrice CHOTARD, Patrick DELAUNAY, U-Boot STM32, Tom Rini

Add "st,stm32mp23-syscfg" compatible.

Fixes: fdd30ee308a2 ("ARM: stm32mp: Add STM32MP23 support")

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>

---

 arch/arm/mach-stm32mp/syscon.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-stm32mp/syscon.c b/arch/arm/mach-stm32mp/syscon.c
index 8bcbd979340..b00897e87ec 100644
--- a/arch/arm/mach-stm32mp/syscon.c
+++ b/arch/arm/mach-stm32mp/syscon.c
@@ -10,6 +10,7 @@
 
 static const struct udevice_id stm32mp_syscon_ids[] = {
 	{ .compatible = "st,stm32mp157-syscfg", .data = STM32MP_SYSCON_SYSCFG },
+	{ .compatible = "st,stm32mp23-syscfg", .data = STM32MP_SYSCON_SYSCFG},
 	{ .compatible = "st,stm32mp25-syscfg", .data = STM32MP_SYSCON_SYSCFG},
 	{ }
 };
-- 
2.43.0


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

* Re: [PATCH 1/5] ARM: dts: Add stm32mp257f-dk-u-boot.dtsi
  2025-10-17 12:18 ` [PATCH 1/5] ARM: dts: Add stm32mp257f-dk-u-boot.dtsi Patrice Chotard
@ 2025-11-13 17:28   ` Patrick DELAUNAY
  2025-11-14 16:45     ` Patrice CHOTARD
  0 siblings, 1 reply; 16+ messages in thread
From: Patrick DELAUNAY @ 2025-11-13 17:28 UTC (permalink / raw)
  To: Patrice Chotard, u-boot; +Cc: U-Boot STM32, Tom Rini

Hi,

On 10/17/25 14:18, Patrice Chotard wrote:
> Add U-Boot support for stm32mp257f-dk board.
>
> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
> ---
>
>   arch/arm/dts/stm32mp257f-dk-u-boot.dtsi | 26 +++++++++++++++++++++++++
>   1 file changed, 26 insertions(+)
>   create mode 100644 arch/arm/dts/stm32mp257f-dk-u-boot.dtsi
>
> diff --git a/arch/arm/dts/stm32mp257f-dk-u-boot.dtsi b/arch/arm/dts/stm32mp257f-dk-u-boot.dtsi
> new file mode 100644
> index 00000000000..fe3fe9c5166
> --- /dev/null
> +++ b/arch/arm/dts/stm32mp257f-dk-u-boot.dtsi
> @@ -0,0 +1,26 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-3-Clause
> +/*
> + * Copyright (C) STMicroelectronics 2025 - All Rights Reserved
> + */
> +
> +#include "stm32mp25-u-boot.dtsi"
> +
> +/ {
> +	config {
> +		u-boot,mmc-env-partition = "u-boot-env";
> +	};
> +};
> +
> +&usart2 {
> +	bootph-all;
> +};
> +
> +&usart2_pins_a {
> +	bootph-all;
> +	pins1 {
> +		bootph-all;
> +	};
> +	pins2 {
> +		bootph-all;
> +	};
> +};


Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>

Thanks
Patrick



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

* Re: [PATCH 2/5] ARM: dts: Fix "arm,smc-id" value for stm32mp23-u-boot.dtsi
  2025-10-17 12:18 ` [PATCH 2/5] ARM: dts: Fix "arm, smc-id" value for stm32mp23-u-boot.dtsi Patrice Chotard
@ 2025-11-13 17:40   ` Patrick DELAUNAY
  2025-11-14 16:45     ` Patrice CHOTARD
  0 siblings, 1 reply; 16+ messages in thread
From: Patrick DELAUNAY @ 2025-11-13 17:40 UTC (permalink / raw)
  To: Patrice Chotard, u-boot; +Cc: U-Boot STM32, Tom Rini

Hi,

On 10/17/25 14:18, Patrice Chotard wrote:
> OP-TEE "arm,smc-id" is equal to 0xbc000000 but kernel DT has been
> upstream with an incorrect value.
> Fix it temporarily until kernel DT is fixed.
>
> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
> ---
>
>   arch/arm/dts/stm32mp23-u-boot.dtsi | 5 +++++
>   1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/dts/stm32mp23-u-boot.dtsi b/arch/arm/dts/stm32mp23-u-boot.dtsi
> index 872a8739c54..5a9436dd193 100644
> --- a/arch/arm/dts/stm32mp23-u-boot.dtsi
> +++ b/arch/arm/dts/stm32mp23-u-boot.dtsi
> @@ -37,6 +37,11 @@
>   	soc@0 {
>   		bootph-all;
>   	};
> +
> +	/* temporary until kernel DT update */
> +	watchdog {
> +		arm,smc-id = <0xbc000000>;
> +	};
>   };
>   
>   &bsec {


Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>

Thanks
Patrick



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

* Re: [PATCH 3/5] ARM: dts: Fix "arm,smc-id" value for stm32mp25-u-boot.dtsi
  2025-10-17 12:18 ` [PATCH 3/5] ARM: dts: Fix "arm, smc-id" value for stm32mp25-u-boot.dtsi Patrice Chotard
@ 2025-11-13 17:40   ` Patrick DELAUNAY
  2025-11-14 16:45     ` Patrice CHOTARD
  0 siblings, 1 reply; 16+ messages in thread
From: Patrick DELAUNAY @ 2025-11-13 17:40 UTC (permalink / raw)
  To: Patrice Chotard, u-boot; +Cc: U-Boot STM32, Tom Rini

Hi,

On 10/17/25 14:18, Patrice Chotard wrote:
> OP-TEE "arm,smc-id" is equal to 0xbc000000 but kernel DT has been
> upstream with an incorrect value.
> Fix it temporarily until kernel DT is fixed.
>
> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
> ---
>
>   arch/arm/dts/stm32mp25-u-boot.dtsi | 5 +++++
>   1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/dts/stm32mp25-u-boot.dtsi b/arch/arm/dts/stm32mp25-u-boot.dtsi
> index d9aeeb6d510..ee82a0289e2 100644
> --- a/arch/arm/dts/stm32mp25-u-boot.dtsi
> +++ b/arch/arm/dts/stm32mp25-u-boot.dtsi
> @@ -39,6 +39,11 @@
>   	soc@0 {
>   		bootph-all;
>   	};
> +
> +	/* temporary until kernel DT update */
> +	watchdog {
> +		arm,smc-id = <0xbc000000>;
> +	};
>   };
>   
>   &bsec {


Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>

Thanks
Patrick


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

* Re: [PATCH 4/5] ARM: dts: Add txbyteclk clock in stm32mp235f-dk-u-boot.dtsi
  2025-10-17 12:18 ` [PATCH 4/5] ARM: dts: Add txbyteclk clock in stm32mp235f-dk-u-boot.dtsi Patrice Chotard
@ 2025-11-13 17:44   ` Patrick DELAUNAY
  2025-11-14 16:45     ` Patrice CHOTARD
  0 siblings, 1 reply; 16+ messages in thread
From: Patrick DELAUNAY @ 2025-11-13 17:44 UTC (permalink / raw)
  To: Patrice Chotard, u-boot; +Cc: U-Boot STM32, Tom Rini

Hi,

On 10/17/25 14:18, Patrice Chotard wrote:
> Add txbyteclk to avoid error during clock registration.
>
> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
> ---
>
>   arch/arm/dts/stm32mp235f-dk-u-boot.dtsi | 8 ++++++++
>   1 file changed, 8 insertions(+)
>
> diff --git a/arch/arm/dts/stm32mp235f-dk-u-boot.dtsi b/arch/arm/dts/stm32mp235f-dk-u-boot.dtsi
> index 1bc77874050..84279c4712a 100644
> --- a/arch/arm/dts/stm32mp235f-dk-u-boot.dtsi
> +++ b/arch/arm/dts/stm32mp235f-dk-u-boot.dtsi
> @@ -10,6 +10,14 @@
>   		u-boot,boot-led = "led-blue";
>   		u-boot,mmc-env-partition = "u-boot-env";
>   	};
> +
> +	clocks {
> +		txbyteclk {
> +			#clock-cells = <0>;
> +			compatible = "fixed-clock";
> +			clock-frequency = <0>;
> +		};
> +	};
>   };
>   
>   &usart2 {

Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>

Thanks
Patrick


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

* Re: [PATCH 5/5] stm32mp: Add stm32mp23 support for syscon driver
  2025-10-17 12:18 ` [PATCH 5/5] stm32mp: Add stm32mp23 support for syscon driver Patrice Chotard
@ 2025-11-13 17:45   ` Patrick DELAUNAY
  2025-11-14 16:45     ` Patrice CHOTARD
  0 siblings, 1 reply; 16+ messages in thread
From: Patrick DELAUNAY @ 2025-11-13 17:45 UTC (permalink / raw)
  To: Patrice Chotard, u-boot; +Cc: U-Boot STM32, Tom Rini

Hi,

On 10/17/25 14:18, Patrice Chotard wrote:
> Add "st,stm32mp23-syscfg" compatible.
>
> Fixes: fdd30ee308a2 ("ARM: stm32mp: Add STM32MP23 support")
>
> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
>
> ---
>
>   arch/arm/mach-stm32mp/syscon.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/mach-stm32mp/syscon.c b/arch/arm/mach-stm32mp/syscon.c
> index 8bcbd979340..b00897e87ec 100644
> --- a/arch/arm/mach-stm32mp/syscon.c
> +++ b/arch/arm/mach-stm32mp/syscon.c
> @@ -10,6 +10,7 @@
>   
>   static const struct udevice_id stm32mp_syscon_ids[] = {
>   	{ .compatible = "st,stm32mp157-syscfg", .data = STM32MP_SYSCON_SYSCFG },
> +	{ .compatible = "st,stm32mp23-syscfg", .data = STM32MP_SYSCON_SYSCFG},
>   	{ .compatible = "st,stm32mp25-syscfg", .data = STM32MP_SYSCON_SYSCFG},
>   	{ }
>   };



Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>

Thanks
Patrick


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

* Re: [PATCH 1/5] ARM: dts: Add stm32mp257f-dk-u-boot.dtsi
  2025-11-13 17:28   ` Patrick DELAUNAY
@ 2025-11-14 16:45     ` Patrice CHOTARD
  0 siblings, 0 replies; 16+ messages in thread
From: Patrice CHOTARD @ 2025-11-14 16:45 UTC (permalink / raw)
  To: Patrick DELAUNAY, u-boot; +Cc: U-Boot STM32, Tom Rini



On 11/13/25 18:28, Patrick DELAUNAY wrote:
> Hi,
> 
> On 10/17/25 14:18, Patrice Chotard wrote:
>> Add U-Boot support for stm32mp257f-dk board.
>>
>> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
>> ---
>>
>>   arch/arm/dts/stm32mp257f-dk-u-boot.dtsi | 26 +++++++++++++++++++++++++
>>   1 file changed, 26 insertions(+)
>>   create mode 100644 arch/arm/dts/stm32mp257f-dk-u-boot.dtsi
>>
>> diff --git a/arch/arm/dts/stm32mp257f-dk-u-boot.dtsi b/arch/arm/dts/stm32mp257f-dk-u-boot.dtsi
>> new file mode 100644
>> index 00000000000..fe3fe9c5166
>> --- /dev/null
>> +++ b/arch/arm/dts/stm32mp257f-dk-u-boot.dtsi
>> @@ -0,0 +1,26 @@
>> +// SPDX-License-Identifier: GPL-2.0-or-later OR BSD-3-Clause
>> +/*
>> + * Copyright (C) STMicroelectronics 2025 - All Rights Reserved
>> + */
>> +
>> +#include "stm32mp25-u-boot.dtsi"
>> +
>> +/ {
>> +    config {
>> +        u-boot,mmc-env-partition = "u-boot-env";
>> +    };
>> +};
>> +
>> +&usart2 {
>> +    bootph-all;
>> +};
>> +
>> +&usart2_pins_a {
>> +    bootph-all;
>> +    pins1 {
>> +        bootph-all;
>> +    };
>> +    pins2 {
>> +        bootph-all;
>> +    };
>> +};
> 
> 
> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> 
> Thanks
> Patrick
> 
> 
Applied to u-boot-stm32/master

Thanks
Patrice

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

* Re: [PATCH 2/5] ARM: dts: Fix "arm,smc-id" value for stm32mp23-u-boot.dtsi
  2025-11-13 17:40   ` [PATCH 2/5] ARM: dts: Fix "arm,smc-id" " Patrick DELAUNAY
@ 2025-11-14 16:45     ` Patrice CHOTARD
  0 siblings, 0 replies; 16+ messages in thread
From: Patrice CHOTARD @ 2025-11-14 16:45 UTC (permalink / raw)
  To: Patrick DELAUNAY, u-boot; +Cc: U-Boot STM32, Tom Rini



On 11/13/25 18:40, Patrick DELAUNAY wrote:
> Hi,
> 
> On 10/17/25 14:18, Patrice Chotard wrote:
>> OP-TEE "arm,smc-id" is equal to 0xbc000000 but kernel DT has been
>> upstream with an incorrect value.
>> Fix it temporarily until kernel DT is fixed.
>>
>> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
>> ---
>>
>>   arch/arm/dts/stm32mp23-u-boot.dtsi | 5 +++++
>>   1 file changed, 5 insertions(+)
>>
>> diff --git a/arch/arm/dts/stm32mp23-u-boot.dtsi b/arch/arm/dts/stm32mp23-u-boot.dtsi
>> index 872a8739c54..5a9436dd193 100644
>> --- a/arch/arm/dts/stm32mp23-u-boot.dtsi
>> +++ b/arch/arm/dts/stm32mp23-u-boot.dtsi
>> @@ -37,6 +37,11 @@
>>       soc@0 {
>>           bootph-all;
>>       };
>> +
>> +    /* temporary until kernel DT update */
>> +    watchdog {
>> +        arm,smc-id = <0xbc000000>;
>> +    };
>>   };
>>     &bsec {
> 
> 
> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> 
> Thanks
> Patrick
> 
> 
Applied to u-boot-stm32/master

Thanks
Patrice

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

* Re: [PATCH 3/5] ARM: dts: Fix "arm,smc-id" value for stm32mp25-u-boot.dtsi
  2025-11-13 17:40   ` [PATCH 3/5] ARM: dts: Fix "arm,smc-id" " Patrick DELAUNAY
@ 2025-11-14 16:45     ` Patrice CHOTARD
  0 siblings, 0 replies; 16+ messages in thread
From: Patrice CHOTARD @ 2025-11-14 16:45 UTC (permalink / raw)
  To: Patrick DELAUNAY, u-boot; +Cc: U-Boot STM32, Tom Rini



On 11/13/25 18:40, Patrick DELAUNAY wrote:
> Hi,
> 
> On 10/17/25 14:18, Patrice Chotard wrote:
>> OP-TEE "arm,smc-id" is equal to 0xbc000000 but kernel DT has been
>> upstream with an incorrect value.
>> Fix it temporarily until kernel DT is fixed.
>>
>> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
>> ---
>>
>>   arch/arm/dts/stm32mp25-u-boot.dtsi | 5 +++++
>>   1 file changed, 5 insertions(+)
>>
>> diff --git a/arch/arm/dts/stm32mp25-u-boot.dtsi b/arch/arm/dts/stm32mp25-u-boot.dtsi
>> index d9aeeb6d510..ee82a0289e2 100644
>> --- a/arch/arm/dts/stm32mp25-u-boot.dtsi
>> +++ b/arch/arm/dts/stm32mp25-u-boot.dtsi
>> @@ -39,6 +39,11 @@
>>       soc@0 {
>>           bootph-all;
>>       };
>> +
>> +    /* temporary until kernel DT update */
>> +    watchdog {
>> +        arm,smc-id = <0xbc000000>;
>> +    };
>>   };
>>     &bsec {
> 
> 
> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> 
> Thanks
> Patrick
> 
Applied to u-boot-stm32/master

Thanks
Patrice

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

* Re: [PATCH 4/5] ARM: dts: Add txbyteclk clock in stm32mp235f-dk-u-boot.dtsi
  2025-11-13 17:44   ` Patrick DELAUNAY
@ 2025-11-14 16:45     ` Patrice CHOTARD
  0 siblings, 0 replies; 16+ messages in thread
From: Patrice CHOTARD @ 2025-11-14 16:45 UTC (permalink / raw)
  To: Patrick DELAUNAY, u-boot; +Cc: U-Boot STM32, Tom Rini



On 11/13/25 18:44, Patrick DELAUNAY wrote:
> Hi,
> 
> On 10/17/25 14:18, Patrice Chotard wrote:
>> Add txbyteclk to avoid error during clock registration.
>>
>> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
>> ---
>>
>>   arch/arm/dts/stm32mp235f-dk-u-boot.dtsi | 8 ++++++++
>>   1 file changed, 8 insertions(+)
>>
>> diff --git a/arch/arm/dts/stm32mp235f-dk-u-boot.dtsi b/arch/arm/dts/stm32mp235f-dk-u-boot.dtsi
>> index 1bc77874050..84279c4712a 100644
>> --- a/arch/arm/dts/stm32mp235f-dk-u-boot.dtsi
>> +++ b/arch/arm/dts/stm32mp235f-dk-u-boot.dtsi
>> @@ -10,6 +10,14 @@
>>           u-boot,boot-led = "led-blue";
>>           u-boot,mmc-env-partition = "u-boot-env";
>>       };
>> +
>> +    clocks {
>> +        txbyteclk {
>> +            #clock-cells = <0>;
>> +            compatible = "fixed-clock";
>> +            clock-frequency = <0>;
>> +        };
>> +    };
>>   };
>>     &usart2 {
> 
> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> 
> Thanks
> Patrick
> 
Applied to u-boot-stm32/master

Thanks
Patrice

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

* Re: [PATCH 5/5] stm32mp: Add stm32mp23 support for syscon driver
  2025-11-13 17:45   ` Patrick DELAUNAY
@ 2025-11-14 16:45     ` Patrice CHOTARD
  0 siblings, 0 replies; 16+ messages in thread
From: Patrice CHOTARD @ 2025-11-14 16:45 UTC (permalink / raw)
  To: Patrick DELAUNAY, u-boot; +Cc: U-Boot STM32, Tom Rini



On 11/13/25 18:45, Patrick DELAUNAY wrote:
> Hi,
> 
> On 10/17/25 14:18, Patrice Chotard wrote:
>> Add "st,stm32mp23-syscfg" compatible.
>>
>> Fixes: fdd30ee308a2 ("ARM: stm32mp: Add STM32MP23 support")
>>
>> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
>>
>> ---
>>
>>   arch/arm/mach-stm32mp/syscon.c | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/arch/arm/mach-stm32mp/syscon.c b/arch/arm/mach-stm32mp/syscon.c
>> index 8bcbd979340..b00897e87ec 100644
>> --- a/arch/arm/mach-stm32mp/syscon.c
>> +++ b/arch/arm/mach-stm32mp/syscon.c
>> @@ -10,6 +10,7 @@
>>     static const struct udevice_id stm32mp_syscon_ids[] = {
>>       { .compatible = "st,stm32mp157-syscfg", .data = STM32MP_SYSCON_SYSCFG },
>> +    { .compatible = "st,stm32mp23-syscfg", .data = STM32MP_SYSCON_SYSCFG},
>>       { .compatible = "st,stm32mp25-syscfg", .data = STM32MP_SYSCON_SYSCFG},
>>       { }
>>   };
> 
> 
> 
> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> 
> Thanks
> Patrick
> 
Applied to u-boot-stm32/master

Thanks
Patrice

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

end of thread, other threads:[~2025-11-14 16:45 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-17 12:18 [PATCH 0/5] stm32mp2: Fix stm32mp2xx-dk board boot issue Patrice Chotard
2025-10-17 12:18 ` [PATCH 1/5] ARM: dts: Add stm32mp257f-dk-u-boot.dtsi Patrice Chotard
2025-11-13 17:28   ` Patrick DELAUNAY
2025-11-14 16:45     ` Patrice CHOTARD
2025-10-17 12:18 ` [PATCH 2/5] ARM: dts: Fix "arm, smc-id" value for stm32mp23-u-boot.dtsi Patrice Chotard
2025-11-13 17:40   ` [PATCH 2/5] ARM: dts: Fix "arm,smc-id" " Patrick DELAUNAY
2025-11-14 16:45     ` Patrice CHOTARD
2025-10-17 12:18 ` [PATCH 3/5] ARM: dts: Fix "arm, smc-id" value for stm32mp25-u-boot.dtsi Patrice Chotard
2025-11-13 17:40   ` [PATCH 3/5] ARM: dts: Fix "arm,smc-id" " Patrick DELAUNAY
2025-11-14 16:45     ` Patrice CHOTARD
2025-10-17 12:18 ` [PATCH 4/5] ARM: dts: Add txbyteclk clock in stm32mp235f-dk-u-boot.dtsi Patrice Chotard
2025-11-13 17:44   ` Patrick DELAUNAY
2025-11-14 16:45     ` Patrice CHOTARD
2025-10-17 12:18 ` [PATCH 5/5] stm32mp: Add stm32mp23 support for syscon driver Patrice Chotard
2025-11-13 17:45   ` Patrick DELAUNAY
2025-11-14 16:45     ` Patrice CHOTARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox