]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: rockchip: Move SHMEM memory to reserved memory on rk3588
authorChukun Pan <amadeus@jmu.edu.cn>
Tue, 1 Apr 2025 09:00:09 +0000 (17:00 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 10 Apr 2025 12:34:52 +0000 (14:34 +0200)
0x0 to 0xf0000000 are SDRAM memory areas where 0x10f000 is located.
So move the SHMEM memory of arm_scmi to the reserved memory node.

Fixes: c9211fa2602b ("arm64: dts: rockchip: Add base DT for rk3588 SoC")
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
Link: https://lore.kernel.org/r/20250401090009.733771-2-amadeus@jmu.edu.cn
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588-base.dtsi

index 1401d9fecfc4c94899ed325b84749bda030390c4..4e3c28d994598e77c4f79f4912ca5c1cf6e28797 100644 (file)
                #clock-cells = <0>;
        };
 
-       pmu_sram: sram@10f000 {
-               compatible = "mmio-sram";
-               reg = <0x0 0x0010f000 0x0 0x100>;
-               ranges = <0 0x0 0x0010f000 0x100>;
-               #address-cells = <1>;
-               #size-cells = <1>;
+       reserved-memory {
+               #address-cells = <2>;
+               #size-cells = <2>;
+               ranges;
 
-               scmi_shmem: sram@0 {
+               scmi_shmem: shmem@10f000 {
                        compatible = "arm,scmi-shmem";
-                       reg = <0x0 0x100>;
+                       reg = <0x0 0x0010f000 0x0 0x100>;
+                       no-map;
                };
        };