Add a simple-mfd representing IMEM on QCS615 and define the PIL
relocation info region, so that post mortem tools will be able
to locate the loaded remoteprocs.

Signed-off-by: Lijuan Gao <quic_liju...@quicinc.com>
---
 arch/arm64/boot/dts/qcom/qcs615.dtsi | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/qcs615.dtsi 
b/arch/arm64/boot/dts/qcom/qcs615.dtsi
index ab3c6ba5842b..fe9fda6b71c4 100644
--- a/arch/arm64/boot/dts/qcom/qcs615.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs615.dtsi
@@ -3297,6 +3297,20 @@ sram@c3f0000 {
                        reg = <0x0 0x0c3f0000 0x0 0x400>;
                };
 
+               sram@146aa000 {
+                       compatible = "qcom,qcs615-imem", "syscon", "simple-mfd";
+                       reg = <0x0 0x146aa000 0x0 0x1000>;
+                       ranges = <0 0 0x146aa000 0x1000>;
+
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       pil-reloc@94c {
+                               compatible = "qcom,pil-reloc-info";
+                               reg = <0x94c 0xc8>;
+                       };
+               };
+
                apps_smmu: iommu@15000000 {
                        compatible = "qcom,qcs615-smmu-500", "qcom,smmu-500", 
"arm,mmu-500";
                        reg = <0x0 0x15000000 0x0 0x80000>;

-- 
2.46.0


Reply via email to