diff mbox series

[2/2] arm64: dts: qcom: qdu1000: Add IMEM and PIL info region

Message ID 20230522151206.22654-3-quic_kbajaj@quicinc.com (mailing list archive)
State Accepted
Headers show
Series arm64: dts: qcom: qdu1000: add IMEM | expand

Commit Message

Komal Bajaj May 22, 2023, 3:12 p.m. UTC
Add a simple-mfd representing IMEM on QDU1000 and define the PIL
relocation info region, so that post mortem tools will be able
to locate the loaded remoteprocs.

Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
---
 arch/arm64/boot/dts/qcom/qdu1000.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

--
2.17.1

Comments

Konrad Dybcio May 22, 2023, 4:41 p.m. UTC | #1
On 22.05.2023 17:12, Komal Bajaj wrote:
> Add a simple-mfd representing IMEM on QDU1000 and define the PIL
> relocation info region, so that post mortem tools will be able
> to locate the loaded remoteprocs.
> 
> Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad
>  arch/arm64/boot/dts/qcom/qdu1000.dtsi | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/qdu1000.dtsi b/arch/arm64/boot/dts/qcom/qdu1000.dtsi
> index 734438113bba..4b52bebdbeeb 100644
> --- a/arch/arm64/boot/dts/qcom/qdu1000.dtsi
> +++ b/arch/arm64/boot/dts/qcom/qdu1000.dtsi
> @@ -1102,6 +1102,19 @@
>  			};
>  		};
> 
> +		sram@14680000 {
> +			compatible = "qcom,qdu1000-imem", "syscon", "simple-mfd";
> +			reg = <0 0x14680000 0 0x1000>;
> +			ranges = <0 0 0x14680000 0x1000>;
> +			#address-cells = <1>;
> +			#size-cells = <1>;
> +
> +			pil-reloc@94c {
> +				compatible = "qcom,pil-reloc-info";
> +				reg = <0x94c 0xc8>;
> +			};
> +		};
> +
>  		apps_smmu: iommu@15000000 {
>  			compatible = "qcom,qdu1000-smmu-500", "arm,mmu-500";
>  			reg = <0x0 0x15000000 0x0 0x100000>;
> --
> 2.17.1
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/qdu1000.dtsi b/arch/arm64/boot/dts/qcom/qdu1000.dtsi
index 734438113bba..4b52bebdbeeb 100644
--- a/arch/arm64/boot/dts/qcom/qdu1000.dtsi
+++ b/arch/arm64/boot/dts/qcom/qdu1000.dtsi
@@ -1102,6 +1102,19 @@ 
 			};
 		};

+		sram@14680000 {
+			compatible = "qcom,qdu1000-imem", "syscon", "simple-mfd";
+			reg = <0 0x14680000 0 0x1000>;
+			ranges = <0 0 0x14680000 0x1000>;
+			#address-cells = <1>;
+			#size-cells = <1>;
+
+			pil-reloc@94c {
+				compatible = "qcom,pil-reloc-info";
+				reg = <0x94c 0xc8>;
+			};
+		};
+
 		apps_smmu: iommu@15000000 {
 			compatible = "qcom,qdu1000-smmu-500", "arm,mmu-500";
 			reg = <0x0 0x15000000 0x0 0x100000>;