]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: stm32: phycore-stm32mp15: Add dummy memory-node
authorChristophe Parant <c.parant@phytec.fr>
Wed, 10 Dec 2025 10:16:07 +0000 (11:16 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Fri, 6 Mar 2026 09:39:14 +0000 (10:39 +0100)
"memory" node is not necessary as the bootloader is taking care of
passing the correct DDR size.
However keep a dummy memory node with the minimum DDR size (512MB) with
comment explaining that.

Signed-off-by: Christophe Parant <c.parant@phytec.fr>
Link: https://lore.kernel.org/r/20251210101611.27008-8-c.parant@phytec.fr
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32mp15xx-phycore-som.dtsi

index 72926c3de52c577f8168dc4bd94bbcd000e09307..ce859b94ae26ba55476738f512d91ca513dc1c4e 100644 (file)
                rtc1 = &rtc;
        };
 
+       /*
+        * Set the minimum memory size here and
+        * let the bootloader set the real size.
+        */
+       memory@c0000000 {
+               device_type = "memory";
+               reg = <0xc0000000 0x20000000>;
+       };
+
        reserved-memory {
                #address-cells = <1>;
                #size-cells = <1>;