arm64: dts: qcom: sdm845: Add IMEM and PIL info region
authorBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 22 Jun 2020 19:19:42 +0000 (12:19 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 2 Jul 2020 05:10:44 +0000 (22:10 -0700)
Add a simple-mfd representing IMEM on SDM845 and define the PIL
relocation info region, so that post mortem tools will be able to locate
the loaded remoteprocs.

Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20200622191942.255460-6-bjorn.andersson@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
arch/arm64/boot/dts/qcom/sdm845.dtsi

index 8eb5a31..fee50d9 100644 (file)
                        cell-index = <0>;
                };
 
+               imem@146bf000 {
+                       compatible = "simple-mfd";
+                       reg = <0 0x146bf000 0 0x1000>;
+
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       ranges = <0 0 0x146bf000 0x1000>;
+
+                       pil-reloc@94c {
+                               compatible = "qcom,pil-reloc-info";
+                               reg = <0x94c 0xc8>;
+                       };
+               };
+
                apps_smmu: iommu@15000000 {
                        compatible = "qcom,sdm845-smmu-500", "arm,mmu-500";
                        reg = <0 0x15000000 0 0x80000>;