mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] arm64: dts: st: Couple of updates for STM32MP23
@ 2025-09-10  8:24 Amelie Delaunay
  2025-09-10  8:24 ` [PATCH v2 1/2] arm64: dts: st: remove gpioj and gpiok banks from stm32mp231 Amelie Delaunay
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Amelie Delaunay @ 2025-09-10  8:24 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel, Amelie Delaunay

Remove gpioj and gpiok nodes, as J and K banks are unavailable
on STM32MP23x packages and resize memory on stm32mp235f-dk
because DDR controller control pin is not routed, so it is not
possible to configure 4GB/16-bit.

Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
---
Changes in v2:
- Typo fixed in first commit message
- Second patch added to fix memory size on stm32mp235f-dk
- Link to v1: https://lore.kernel.org/r/20250904-stm32mp231_gpio_update-v1-1-bcc7531cd00e@foss.st.com

---
Amelie Delaunay (2):
      arm64: dts: st: remove gpioj and gpiok banks from stm32mp231
      arm64: dts: st: fix memory region size on stm32mp235f-dk

 arch/arm64/boot/dts/st/stm32mp231.dtsi    | 22 ----------------------
 arch/arm64/boot/dts/st/stm32mp235f-dk.dts |  2 +-
 2 files changed, 1 insertion(+), 23 deletions(-)
---
base-commit: 6d40d5ecf683e31a5e204d0a2f57035c39fc9c5f
change-id: 20250904-stm32mp231_gpio_update-7550ce44ec03

Best regards,
-- 
Amelie Delaunay <amelie.delaunay@foss.st.com>


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

* [PATCH v2 1/2] arm64: dts: st: remove gpioj and gpiok banks from stm32mp231
  2025-09-10  8:24 [PATCH v2 0/2] arm64: dts: st: Couple of updates for STM32MP23 Amelie Delaunay
@ 2025-09-10  8:24 ` Amelie Delaunay
  2025-09-10  8:24 ` [PATCH v2 2/2] arm64: dts: st: fix memory region size on stm32mp235f-dk Amelie Delaunay
  2025-09-15 15:42 ` [PATCH v2 0/2] arm64: dts: st: Couple of updates for STM32MP23 Alexandre TORGUE
  2 siblings, 0 replies; 4+ messages in thread
From: Amelie Delaunay @ 2025-09-10  8:24 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel, Amelie Delaunay

STM32MP23x supports AJ, AK and AL packages, where PI12 to PI15, PJ0 to
PJ15 (whole J bank) and PK0 to PK7 (whole K bank) pins are not available.

It means gpioj and gpiok nodes are useless in stm32mp231. Remove them.

Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
---
Changes in v2:
- Fix typo in commit message ('whole K bank' was repeated twice)
- Link to v1: https://lore.kernel.org/r/20250904-stm32mp231_gpio_update-v1-1-bcc7531cd00e@foss.st.com
---
 arch/arm64/boot/dts/st/stm32mp231.dtsi | 22 ----------------------
 1 file changed, 22 deletions(-)

diff --git a/arch/arm64/boot/dts/st/stm32mp231.dtsi b/arch/arm64/boot/dts/st/stm32mp231.dtsi
index 75697acd1345b2a1cdf963300c0a64608bbb52de..88e214d395ab7af53e2707dbc2dfc6b3d000a798 100644
--- a/arch/arm64/boot/dts/st/stm32mp231.dtsi
+++ b/arch/arm64/boot/dts/st/stm32mp231.dtsi
@@ -1064,28 +1064,6 @@ gpioi: gpio@442c0000 {
 				st,bank-name = "GPIOI";
 				status = "disabled";
 			};
-
-			gpioj: gpio@442d0000 {
-				reg = <0x90000 0x400>;
-				gpio-controller;
-				#gpio-cells = <2>;
-				interrupt-controller;
-				#interrupt-cells = <2>;
-				clocks = <&scmi_clk CK_SCMI_GPIOJ>;
-				st,bank-name = "GPIOJ";
-				status = "disabled";
-			};
-
-			gpiok: gpio@442e0000 {
-				reg = <0xa0000 0x400>;
-				gpio-controller;
-				#gpio-cells = <2>;
-				interrupt-controller;
-				#interrupt-cells = <2>;
-				clocks = <&scmi_clk CK_SCMI_GPIOK>;
-				st,bank-name = "GPIOK";
-				status = "disabled";
-			};
 		};
 
 		rtc: rtc@46000000 {

-- 
2.25.1


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

* [PATCH v2 2/2] arm64: dts: st: fix memory region size on stm32mp235f-dk
  2025-09-10  8:24 [PATCH v2 0/2] arm64: dts: st: Couple of updates for STM32MP23 Amelie Delaunay
  2025-09-10  8:24 ` [PATCH v2 1/2] arm64: dts: st: remove gpioj and gpiok banks from stm32mp231 Amelie Delaunay
@ 2025-09-10  8:24 ` Amelie Delaunay
  2025-09-15 15:42 ` [PATCH v2 0/2] arm64: dts: st: Couple of updates for STM32MP23 Alexandre TORGUE
  2 siblings, 0 replies; 4+ messages in thread
From: Amelie Delaunay @ 2025-09-10  8:24 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
	Alexandre Torgue
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel, Amelie Delaunay

STM32MP23x SoCs provide a DDR controller supporting up to 4GB/16-bit.
The control pin to properly configure 4GB/16-bit is not routed on
stm32mp235f-dk, that's why the board only supports 2GB.

Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
---
 arch/arm64/boot/dts/st/stm32mp235f-dk.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/st/stm32mp235f-dk.dts b/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
index 04d1b434c433e5f76d120f4bd254c15a2de3fb94..1d0ccf4a03314703553facffde3d41647645ea3e 100644
--- a/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
+++ b/arch/arm64/boot/dts/st/stm32mp235f-dk.dts
@@ -56,7 +56,7 @@ led-blue {
 
 	memory@80000000 {
 		device_type = "memory";
-		reg = <0x0 0x80000000 0x1 0x0>;
+		reg = <0x0 0x80000000 0x0 0x80000000>;
 	};
 
 	reserved-memory {

-- 
2.25.1


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

* Re: [PATCH v2 0/2] arm64: dts: st: Couple of updates for STM32MP23
  2025-09-10  8:24 [PATCH v2 0/2] arm64: dts: st: Couple of updates for STM32MP23 Amelie Delaunay
  2025-09-10  8:24 ` [PATCH v2 1/2] arm64: dts: st: remove gpioj and gpiok banks from stm32mp231 Amelie Delaunay
  2025-09-10  8:24 ` [PATCH v2 2/2] arm64: dts: st: fix memory region size on stm32mp235f-dk Amelie Delaunay
@ 2025-09-15 15:42 ` Alexandre TORGUE
  2 siblings, 0 replies; 4+ messages in thread
From: Alexandre TORGUE @ 2025-09-15 15:42 UTC (permalink / raw)
  To: Amelie Delaunay, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Maxime Coquelin
  Cc: devicetree, linux-stm32, linux-arm-kernel, linux-kernel

Dear Amélie

On 9/10/25 10:24, Amelie Delaunay wrote:
> Remove gpioj and gpiok nodes, as J and K banks are unavailable
> on STM32MP23x packages and resize memory on stm32mp235f-dk
> because DDR controller control pin is not routed, so it is not
> possible to configure 4GB/16-bit.
> 
> Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
> ---
> Changes in v2:
> - Typo fixed in first commit message
> - Second patch added to fix memory size on stm32mp235f-dk
> - Link to v1: https://lore.kernel.org/r/20250904-stm32mp231_gpio_update-v1-1-bcc7531cd00e@foss.st.com
> 
> ---
> Amelie Delaunay (2):
>        arm64: dts: st: remove gpioj and gpiok banks from stm32mp231
>        arm64: dts: st: fix memory region size on stm32mp235f-dk
> 
>   arch/arm64/boot/dts/st/stm32mp231.dtsi    | 22 ----------------------
>   arch/arm64/boot/dts/st/stm32mp235f-dk.dts |  2 +-
>   2 files changed, 1 insertion(+), 23 deletions(-)
> ---
> base-commit: 6d40d5ecf683e31a5e204d0a2f57035c39fc9c5f
> change-id: 20250904-stm32mp231_gpio_update-7550ce44ec03
> 
> Best regards,

Series applied on stm32-next.

cheers
Alex

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

end of thread, other threads:[~2025-09-15 15:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-10  8:24 [PATCH v2 0/2] arm64: dts: st: Couple of updates for STM32MP23 Amelie Delaunay
2025-09-10  8:24 ` [PATCH v2 1/2] arm64: dts: st: remove gpioj and gpiok banks from stm32mp231 Amelie Delaunay
2025-09-10  8:24 ` [PATCH v2 2/2] arm64: dts: st: fix memory region size on stm32mp235f-dk Amelie Delaunay
2025-09-15 15:42 ` [PATCH v2 0/2] arm64: dts: st: Couple of updates for STM32MP23 Alexandre TORGUE

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

all inboxes | Powered by JetHome®