]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: tqmls1046a: Move BMAN/QMAN buffers to DRAM1 area
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Mon, 1 Dec 2025 07:03:33 +0000 (08:03 +0100)
committerShawn Guo <shawnguo@kernel.org>
Tue, 30 Dec 2025 02:05:31 +0000 (10:05 +0800)
DRAM1 is only 2GiB in size (0x00_8000_0000 - 0x01_0000_0000) which is
already used by Linux kernel, etc. Move the allocation area of BMAN and
QMAN to DRAM1 region. This frees the complete DRAM2 area for e.g. CMA.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1046a-tqmls1046a.dtsi

index fa543db99def6b055be9ab7ce24a215d2b0e57cc..7059ab8bc9d464f9a56e0e68dddf2f65344babf2 100644 (file)
 #include "fsl-ls1046a.dtsi"
 #include "tqmls10xxa.dtsi"
 
+&bman_fbpr {
+       alloc-ranges = <0 0x88000000 1 0x00000000>;
+};
+
+&qman_fqd {
+       alloc-ranges = <0 0x88000000 1 0x00000000>;
+};
+
+&qman_pfdr {
+       alloc-ranges = <0 0x88000000 1 0x00000000>;
+};
+
 &qspi {
        num-cs = <2>;
        status = "okay";