From: Jaehoon Chung Date: Tue, 8 Aug 2023 05:18:43 +0000 (+0900) Subject: RISCV: dts: starfive: Fix the property of memory X-Git-Tag: accepted/tizen/unified/riscv/20230809.013305^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e750d985a70a0ceab8166131c39a73b962f91fd6;p=platform%2Fkernel%2Flinux-starfive.git RISCV: dts: starfive: Fix the property of memory Current is getting the memory size from devicetree node. Until supporting eeprom, it needs to use the memory node. After applied this patch, Visionfive2 is showing 8GiB. Change-Id: Ic96c2a7d373b9fccee830f3e34bbd9a2d6a3d6c3 Signed-off-by: Jaehoon Chung --- diff --git a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi index d81366a319f0..1a8db6038346 100644 --- a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi @@ -32,7 +32,7 @@ memory@40000000 { device_type = "memory"; - reg = <0x0 0x40000000 0x1 0x0>; + reg = <0x0 0x40000000 0x2 0x0>; }; thermal-zones {