riscv:dts:jh7110: Modify CMA reserved space to better support 2G DRAM
authorJianlong Huang <jianlong.huang@starfivetech.com>
Mon, 17 Oct 2022 13:45:03 +0000 (21:45 +0800)
committerJianlong Huang <jianlong.huang@starfivetech.com>
Thu, 3 Nov 2022 09:24:52 +0000 (17:24 +0800)
When the DDR is 2G (0x40000000-0xc0000000), it may cause address usage
problems.

Signed-off-by: Samin Guo <samin.guo@starfivetech.com>
Signed-off-by: Jianlong Huang <jianlong.huang@starfivetech.com>
arch/riscv/boot/dts/starfive/jh7110-visionfive-v2.dtsi

index 43d8f5c..e3a66f1 100644 (file)
@@ -59,7 +59,7 @@
                        reusable;
                        size = <0x0 0x20000000>;
                        alignment = <0x0 0x1000>;
-                       alloc-ranges = <0x0 0xa0000000 0x0 0x20000000>;
+                       alloc-ranges = <0x0 0x80000000 0x0 0x20000000>;
                        linux,cma-default;
                };