ARM: dts: qcom: sdx65: Add reserved memory nodes
authorRohit Agarwal <quic_rohiagar@quicinc.com>
Mon, 11 Apr 2022 09:50:09 +0000 (15:20 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Wed, 13 Apr 2022 03:35:04 +0000 (22:35 -0500)
Add reserved memory nodes to the SDX65 dtsi as defined by
the memory map.

Signed-off-by: Rohit Agarwal <quic_rohiagar@quicinc.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/1649670615-21268-2-git-send-email-quic_rohiagar@quicinc.com
arch/arm/boot/dts/qcom-sdx65-mtp.dts
arch/arm/boot/dts/qcom-sdx65.dtsi

index ad99f56..79dc31a 100644 (file)
                stdout-path = "serial0:115200n8";
        };
 
+       reserved-memory {
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+
+               mpss_dsm: memory@8c400000 {
+                       no-map;
+                       reg = <0x8c400000 0x3200000>;
+               };
+
+               ipa_fw_mem: memory@8fced000 {
+                       no-map;
+                       reg = <0x8fced000 0x10000>;
+               };
+
+               mpss_adsp_mem: memory@90800000 {
+                       no-map;
+                       reg = <0x90800000 0x10000000>;
+               };
+       };
+
        vph_pwr: vph-pwr-regulator {
                compatible = "regulator-fixed";
                regulator-name = "vph_pwr";
index 7e2697f..dcc94c2 100644 (file)
                #size-cells = <1>;
                ranges;
 
+               tz_heap_mem: memory@8fcad000 {
+                       no-map;
+                       reg = <0x8fcad000 0x40000>;
+               };
+
+               secdata_mem: memory@8fcfd000 {
+                       no-map;
+                       reg = <0x8fcfd000 0x1000>;
+               };
+
+               hyp_mem: memory@8fd00000 {
+                       no-map;
+                       reg = <0x8fd00000 0x80000>;
+               };
+
+               access_control_mem: memory@8fd80000 {
+                       no-map;
+                       reg = <0x8fd80000 0x80000>;
+               };
+
+               aop_mem: memory@8fe00000 {
+                       no-map;
+                       reg = <0x8fe00000 0x20000>;
+               };
+
+               smem_mem: memory@8fe20000 {
+                       no-map;
+                       reg = <0x8fe20000 0xc0000>;
+               };
+
                cmd_db: reserved-memory@8fee0000 {
                        compatible = "qcom,cmd-db";
                        reg = <0x8fee0000 0x20000>;
                        no-map;
                };
+
+               tz_mem: memory@8ff00000 {
+                       no-map;
+                       reg = <0x8ff00000 0x100000>;
+               };
+
+               tz_apps_mem: memory@90000000 {
+                       no-map;
+                       reg = <0x90000000 0x500000>;
+               };
+
+               llcc_tcm_mem: memory@15800000 {
+                       no-map;
+                       reg = <0x15800000 0x800000>;
+               };
        };
 
        soc: soc {