]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: sa8775p: Add IMEM and PIL info region
authorTengfei Fan <quic_tengfan@quicinc.com>
Fri, 31 May 2024 09:35:31 +0000 (17:35 +0800)
committerBjorn Andersson <andersson@kernel.org>
Fri, 31 May 2024 22:53:02 +0000 (17:53 -0500)
Add a simple-mfd representing IMEM on SA8775p and define the PIL
relocation info region, so that post mortem tools will be able
to locate the loaded remoteprocs.

Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Mukesh Ojha <quic_mojha@quicinc.com>
Link: https://lore.kernel.org/r/20240531093531.238075-3-quic_tengfan@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sa8775p.dtsi

index eae0de9720b521117ac5c751f57e9285cfd0372d..89496728d84072a9dc67502c0b830edf95178209 100644 (file)
                        wakeup-parent = <&pdc>;
                };
 
+               sram: sram@146d8000 {
+                       compatible = "qcom,sa8775p-imem", "syscon", "simple-mfd";
+                       reg = <0x0 0x146d8000 0x0 0x1000>;
+                       ranges = <0x0 0x0 0x146d8000 0x1000>;
+
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       pil-reloc@94c {
+                               compatible = "qcom,pil-reloc-info";
+                               reg = <0x94c 0xc8>;
+                       };
+               };
+
                apps_smmu: iommu@15000000 {
                        compatible = "qcom,sa8775p-smmu-500", "qcom,smmu-500", "arm,mmu-500";
                        reg = <0x0 0x15000000 0x0 0x100000>;