[PATCH v8 0/9] arm64: dts: ti: Split wkup R5F memory region for IO+DDR resume
Markus Schneider-Pargmann (TI)
msp at baylibre.com
Thu Sep 3 05:39:21 PDT 2026
Hi,
Split the firmware memory region in more specific parts so it is better
described where which information is stored. Specifically the LPM metadata
region is important as bootloader software like U-Boot has to know where
that data is to be able to read that data and resume from RAM.
The bindings are already applied. The remaining patches use the new
layout for the platforms that are capable to support IO+DDR. For IO+DDR
the new layout is necessary as it defines the location of the LPM
metadata.
Additionally the two important devicetree nodes for resuming from IO+DDR
have the bootph-pre-ram flag added as this data needs to be read before
the RAM is in use.
The changes in this series were suggested as part of the IO+DDR u-boot series:
https://lore.kernel.org/r/814c211f-a9eb-4311-bb84-165b1a69755f@ti.com
Note that concerns about uboot fixup of memory region fixups were
discussed here:
https://lore.kernel.org/r/DJD1Y3G9S1SP.2GHOZ5X4RYJFA@baylibre.com
Best
Markus
Signed-off-by: Markus Schneider-Pargmann (TI) <msp at baylibre.com>
---
Changes in v8:
- Rebase to v7.3-rc1
- Increase the AM62A wkup R5F memory region to end at 0x9e700000 to
also fit the edgeai DM firmware as requested by Paresh
- Move the memory region definitions back into the base board dts files
of all AM62A and AM62P boards
- Added bootph-pre-ram to the memory regions are merged into the
bootph-pre-ram at the end of the series
- Link to v7: https://lore.kernel.org/r/20260701-topic-am62a-ioddr-dt-v6-19-v7-0-e9db8b16821a@baylibre.com
Changes in v7:
- Rebase to v7.1-rc1
- Fix commit messages
- Link to v6: https://lore.kernel.org/r/20260609-topic-am62a-ioddr-dt-v6-19-v6-0-16afba97fbe0@baylibre.com
Changes in v6:
- Added fixes for the length of the wkup_r5fss0_core0_memory_region.
Thanks Francesco for pointing that out. am62a firmware is shorter than
am62p firmware. I calculated both and fixed all devicetrees using
them. All patches have different Fixes tags so I kept them separate.
- Fixed the length of the split memory layout as well.
- Removed the double definition of memory regions for the var-som board.
- Link to v5: https://lore.kernel.org/r/20260601-topic-am62a-ioddr-dt-v6-19-v5-0-3856a023aff2@baylibre.com
Changes in v5:
- Move all changes into k3-am62a/p-ti-ipc-firmware.dtsi
- Dropped the patch that adds bootph-pre-ram to k3-am62a stuff as it is
already present in k3-am62d2-evm.dts and got moved into the
firmware.dtsi file which covers am62a as well then.
- Link to v4: https://lore.kernel.org/r/20260429-topic-am62a-ioddr-dt-v6-19-v4-0-fc27d6ac753c@baylibre.com
Changes in v4:
- Rebased to v7.1-rc1
- Dropped all already applied patches that are the bindings and the
initial introduction of memory-region-names
- Link to v3: https://lore.kernel.org/r/20260318-topic-am62a-ioddr-dt-v6-19-v3-0-c41473cb23c3@baylibre.com
Changes in v3:
- Squash the enforcement of the memory-region-names requirement in the
patch adding the memory-region-names, as suggested.
- Link to v2: https://lore.kernel.org/r/20260312-topic-am62a-ioddr-dt-v6-19-v2-0-37cb7ceec658@baylibre.com
Changes in v2:
- Make memory-region-names required if memory-region is present
- Fixup memory-region and memory-region-names conditions. Require either
2 or 6 regions for memory-region and memory-region-names
- Reword and restructure the binding documentation for memory-region and
memory-region-names
- Add memory-region-names to all uses of memory-region
- Link to v1: https://lore.kernel.org/r/20260303-topic-am62a-ioddr-dt-v6-19-v1-0-12fe72bb40d2@baylibre.com
To: Nishanth Menon <nm at ti.com>
To: Vignesh Raghavendra <vigneshr at ti.com>
To: Tero Kristo <kristo at kernel.org>
To: Rob Herring <robh at kernel.org>
To: Krzysztof Kozlowski <krzk+dt at kernel.org>
To: Conor Dooley <conor+dt at kernel.org>
To: Nathan Chancellor <nathan at kernel.org>
To: Nick Desaulniers <ndesaulniers at google.com>
To: Bill Wendling <morbo at google.com>
To: Justin Stitt <justinstitt at google.com>
To: Andrew Davis <afd at ti.com>
To: Judith Mendez <jm at ti.com>
To: Daniel Schultz <d.schultz at phytec.de>
To: Siddharth Vadapalli <s-vadapalli at ti.com>
To: Bryan Brattlof <bb at ti.com>
To: Paresh Bhagat <p-bhagat at ti.com>
To: Devarsh Thakkar <devarsht at ti.com>
To: Jai Luthra <jai.luthra at ideasonboard.com>
To: Beleswar Padhi <b-padhi at ti.com>
To: Francesco Dolcini <francesco.dolcini at toradex.com>
To: Stefano Radaelli <stefano.radaelli21 at gmail.com>
Cc: linux-arm-kernel at lists.infradead.org
Cc: devicetree at vger.kernel.org
Cc: linux-kernel at vger.kernel.org
Cc: llvm at lists.linux.dev
Cc: Hari Nagalla <hnagalla at ti.com>
---
Markus Schneider-Pargmann (TI) (9):
arm64: dts: ti: k3-am62a-phycore-som: Fix wkup R5F memory region size
arm64: dts: ti: k3-am62d2-evm: Fix wkup R5F memory region size
arm64: dts: ti: k3-am62a7-sk: Fix wkup R5F memory region size
arm64: dts: ti: k3-am62p-verdin: Fix wkup R5F memory region size
arm64: dts: ti: k3-am62p5-sk: Fix wkup R5F memory region size
arm64: dts: ti: var-som-am62p: Fix wkup R5F memory region size
arm64: dts: ti: k3-am62a: Split r5f memory region
arm64: dts: ti: k3-am62p: Split r5f memory region
arm64: dts: ti: Add wkup R5F nodes to pre-ram bootphase
arch/arm64/boot/dts/ti/k3-am62a-phycore-som.dtsi | 29 ++++++++++++++++++--
.../boot/dts/ti/k3-am62a-ti-ipc-firmware.dtsi | 11 ++++++--
arch/arm64/boot/dts/ti/k3-am62a7-sk.dts | 29 ++++++++++++++++++--
arch/arm64/boot/dts/ti/k3-am62d2-evm.dts | 32 ++++++++++++++++++----
.../boot/dts/ti/k3-am62p-ti-ipc-firmware.dtsi | 11 ++++++--
arch/arm64/boot/dts/ti/k3-am62p-verdin.dtsi | 29 ++++++++++++++++++--
arch/arm64/boot/dts/ti/k3-am62p5-sk.dts | 29 ++++++++++++++++++--
arch/arm64/boot/dts/ti/k3-am62p5-var-som.dtsi | 29 ++++++++++++++++++--
8 files changed, 179 insertions(+), 20 deletions(-)
---
base-commit: cee9395acd8043be0644b25c34bfa86623f2b935
change-id: 20260210-topic-am62a-ioddr-dt-v6-19-0da7712081d7
Best regards,
--
Markus Schneider-Pargmann (TI) <msp at baylibre.com>
More information about the linux-arm-kernel
mailing list