From: Duje Mihanović Date: Sat, 13 Sep 2025 21:21:10 +0000 (+0200) Subject: arm64: dts: marvell: samsung,coreprimevelte: Fill in memory node X-Git-Tag: v6.19-rc1~100^2~34^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56985660120bd040a5d1205f86ba91f8a149a493;p=thirdparty%2Fkernel%2Flinux.git arm64: dts: marvell: samsung,coreprimevelte: Fill in memory node The board is known to have 1 GiB of DRAM with the first 16 MiB unusable. Instead of relying on the bootloader to fill in the memory node, do it ourselves. Signed-off-by: Duje Mihanović --- diff --git a/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts b/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts index 2f4f052ad890c..7fd5420937bd3 100644 --- a/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts +++ b/arch/arm64/boot/dts/marvell/mmp/pxa1908-samsung-coreprimevelte.dts @@ -31,13 +31,22 @@ }; }; - /* Bootloader fills this in */ memory@0 { device_type = "memory"; - reg = <0 0 0 0>; + reg = <0 0 0 0x40000000>; }; reserved-memory { + /* + * Reserved by the vendor bootloader as a "secure region". + * + * TODO: See if the responsible stage of the bootloader can be + * replaced + */ + secure-region@0 { + reg = <0 0 0 0x1000000>; + }; + framebuffer@17000000 { reg = <0 0x17000000 0 0x1800000>; no-map;