RISCV: dts: starfive: Fix the property of memory 79/296979/1 accepted/tizen/unified/riscv/20230809.013305
authorJaehoon Chung <jh80.chung@samsung.com>
Tue, 8 Aug 2023 05:18:43 +0000 (14:18 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 8 Aug 2023 05:18:43 +0000 (14:18 +0900)
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 <jh80.chung@samsung.com>
arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi

index d81366a..1a8db60 100644 (file)
@@ -32,7 +32,7 @@
 
        memory@40000000 {
                device_type = "memory";
-               reg = <0x0 0x40000000 0x1 0x0>;
+               reg = <0x0 0x40000000 0x2 0x0>;
        };
 
        thermal-zones {