This series adds support for DM firmware reserved memory fixup in device tree for K3 SoCs that use separate DM firmware (K3_DM_FW enabled).
The series includes: 1. Fix for phandle corruption in FDT reserved memory fixup 2. Enable OF_SYSTEM_SETUP for AM62D2 to allow device tree fixups 3. Add Kconfig options for DM firmware reserved memory for other K3 SoCs 4. Add DM reserved memory fixup implementation The main issue being addressed is that the current reserved DDR carveout for DM firmware in device tree is insufficient to accommodate the DM firmware binary on AM62A7, and potentially other K3 SoCs in the future. Currently, the size is only modified for AM62A7 SoC. For rest of SocS existing values from device tree is taken. For vendor boards, please verify boot and check for errors if any. This series depends on dts update for effected devices. If "dm" node is not found then the existing mechanism creates a new node with same address, which cause memory overlap issue. https://lore.kernel.org/all/[email protected]/ Change log v1->v2: - Extended DM firmware reserved memory Kconfig support from AM62A7 only to other K3 SoCs. - Added memory configuration for all K3 SoCs - Update fdt_fixup_reserved_memory() to remove redundant code. v1 https://lore.kernel.org/all/178219072988.1099376.16053199642199625548.b4-review@b4/ Paresh Bhagat (4): arm: mach-k3: Fix phandle corruption in fdt fixup arm: mach-k3: am62ax: Enable OF_SYSTEM_SETUP for AM62D2 arm: mack-k3: Kconfig: Add DM firmware reserved memory configs arm: mach-k3: Add DM reserved memory fixup arch/arm/mach-k3/Kconfig | 21 ++++++++++++++ arch/arm/mach-k3/am62ax/Kconfig | 1 + arch/arm/mach-k3/common_fdt.c | 51 ++++++++++++++++----------------- 3 files changed, 46 insertions(+), 27 deletions(-) -- 2.34.1

