arm64: dts: qcom: sm8450: Add IMEM and PIL info region
authorMukesh Ojha <quic_mojha@quicinc.com>
Wed, 22 Feb 2023 15:30:45 +0000 (21:00 +0530)
committerBjorn Andersson <andersson@kernel.org>
Wed, 15 Mar 2023 02:30:48 +0000 (19:30 -0700)
Add a simple-mfd representing IMEM on SM8450 and define the PIL
relocation info region, so that post mortem tools will be able
to locate the loaded remoteprocs.

Signed-off-by: Mukesh Ojha <quic_mojha@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/1677079845-17650-1-git-send-email-quic_mojha@quicinc.com
arch/arm64/boot/dts/qcom/sm8450.dtsi

index 1a744a33bcf4bbdd1fc0595669777c09a41cf67f..7671f15d639b7fa82cb1a4535b4cdbabf0d9a386 100644 (file)
                        };
                };
 
+               sram@146aa000 {
+                       compatible = "qcom,sm8450-imem", "syscon", "simple-mfd";
+                       reg = <0 0x146aa000 0 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,sm8450-smmu-500", "arm,mmu-500";
                        reg = <0 0x15000000 0 0x100000>;