arm64: dts: qcom: sdm845: Add a carveout for modem metadata
authorSibi Sankar <quic_sibis@quicinc.com>
Tue, 17 Jan 2023 08:58:38 +0000 (14:28 +0530)
committerBjorn Andersson <andersson@kernel.org>
Thu, 19 Jan 2023 03:35:25 +0000 (21:35 -0600)
Add a new carveout for modem metadata on SDM845 SoCs.

Tested-by: Amit Pundir <amit.pundir@linaro.org>
Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230117085840.32356-10-quic_sibis@quicinc.com
arch/arm64/boot/dts/qcom/sdm845.dtsi

index 742c175..9ffc0fe 100644 (file)
                        reg = <0 0x97b00000 0 0x100000>;
                        no-map;
                };
+
+               mdata_mem: mpss-metadata {
+                       alloc-ranges = <0 0xa0000000 0 0x20000000>;
+                       size = <0 0x4000>;
+                       no-map;
+               };
        };
 
        adsp_pas: remoteproc-adsp {
                                memory-region = <&mpss_region>;
                        };
 
+                       metadata {
+                               memory-region = <&mdata_mem>;
+                       };
+
                        glink-edge {
                                interrupts = <GIC_SPI 449 IRQ_TYPE_EDGE_RISING>;
                                label = "modem";