]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: tegra: Add reserved-memory node for P3450
authorAaron Kling <webgeek1234@gmail.com>
Mon, 4 Aug 2025 03:14:30 +0000 (22:14 -0500)
committerThierry Reding <treding@nvidia.com>
Fri, 14 Nov 2025 21:55:11 +0000 (22:55 +0100)
The Tegra210 L4T bootloader RAM training will corrupt the in-RAM kernel
DT if no reserved-memory node exists. This prevents said bootloader from
being able to boot a kernel without this node, unless a chainloaded
bootloader loads the DT. Add the node to eliminate the requirement for
extra boot stages.

Signed-off-by: Aaron Kling <webgeek1234@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts

index f1d2606d9808aa2004038a9701f353b1ac772d80..99b75a6b2dfeb4ed245d86cd0c2cb4f4c412f35b 100644 (file)
                stdout-path = "serial0:115200n8";
        };
 
+       reserved-memory {
+               #address-cells = <2>;
+               #size-cells = <2>;
+               ranges;
+       };
+
        memory@80000000 {
                device_type = "memory";
                reg = <0x0 0x80000000 0x1 0x0>;