]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: tegra: Add reserved-memory node for P2180
authorAaron Kling <webgeek1234@gmail.com>
Mon, 4 Aug 2025 03:14:31 +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-p2180.dtsi

index e07aeeee35867145b83e41a218c86daa66f3f4a0..9ee7952af799773c34c5e1dd5892f54cec1f5122 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>;