linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] arm64: dts: qcom: enable CDSP and MSS on ifc6560 board
@ 2022-05-14  0:03 Dmitry Baryshkov
  2022-05-14  0:03 ` [PATCH 1/3] arm64: dts: qcom: sdm630: add device node for the modem PAS Dmitry Baryshkov
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Dmitry Baryshkov @ 2022-05-14  0:03 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski
  Cc: linux-arm-msm, devicetree

Add support for the CDSP (existing only on SDM660) and MSS remote
processors. Enable them on the IFC6560 board.

Dmitry Baryshkov (3):
  arm64: dts: qcom: sdm630: add device node for the modem PAS
  arm64: dts: qcom: sdm660: add device node for the compute PAS
  arm64: dts: qcom: sda660-inforce-ifc6560: enable cdsp and modem

 .../boot/dts/qcom/sda660-inforce-ifc6560.dts  | 10 +++
 arch/arm64/boot/dts/qcom/sdm630.dtsi          | 59 ++++++++++++++++
 arch/arm64/boot/dts/qcom/sdm660.dtsi          | 68 +++++++++++++++++++
 3 files changed, 137 insertions(+)

-- 
2.35.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 1/3] arm64: dts: qcom: sdm630: add device node for the modem PAS
  2022-05-14  0:03 [PATCH 0/3] arm64: dts: qcom: enable CDSP and MSS on ifc6560 board Dmitry Baryshkov
@ 2022-05-14  0:03 ` Dmitry Baryshkov
  2022-05-14  0:03 ` [PATCH 2/3] arm64: dts: qcom: sdm660: add device node for the compute PAS Dmitry Baryshkov
  2022-05-14  0:03 ` [PATCH 3/3] arm64: dts: qcom: sda660-inforce-ifc6560: enable cdsp and modem Dmitry Baryshkov
  2 siblings, 0 replies; 7+ messages in thread
From: Dmitry Baryshkov @ 2022-05-14  0:03 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski
  Cc: linux-arm-msm, devicetree

Add device tree node describing modem device found on the SDM630/SDM660
devices.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/sdm630.dtsi | 59 ++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi
index b06e87152cd4..1bc0602e9f64 100644
--- a/arch/arm64/boot/dts/qcom/sdm630.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi
@@ -1018,6 +1018,65 @@ sd-cd {
 			};
 		};
 
+		mss_pil: remoteproc@4080000 {
+			compatible = "qcom,sdm660-mss-pil";
+			reg = <0x04080000 0x408>, <0x04180000 0x48>;
+			reg-names = "qdsp6", "rmb";
+
+			interrupts-extended =
+				<&intc GIC_SPI 448 IRQ_TYPE_EDGE_RISING>,
+				<&modem_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
+				<&modem_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
+				<&modem_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
+				<&modem_smp2p_in 3 IRQ_TYPE_EDGE_RISING>,
+				<&modem_smp2p_in 7 IRQ_TYPE_EDGE_RISING>;
+			interrupt-names = "wdog", "fatal", "ready",
+					  "handover", "stop-ack",
+					  "shutdown-ack";
+
+			clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
+				 <&gcc GCC_BIMC_MSS_Q6_AXI_CLK>,
+				 <&gcc GCC_BOOT_ROM_AHB_CLK>,
+				 <&gcc GCC_MSS_GPLL0_DIV_CLK>,
+				 <&gcc GCC_MSS_SNOC_AXI_CLK>,
+				 <&gcc GCC_MSS_MNOC_BIMC_AXI_CLK>,
+				 <&rpmcc RPM_SMD_XO_CLK_SRC>,
+				 <&rpmcc RPM_SMD_QDSS_CLK>;
+			clock-names = "iface", "bus", "mem", "gpll0_mss",
+				      "snoc_axi", "mnoc_axi", "xo", "qdss";
+
+			qcom,smem-states = <&modem_smp2p_out 0>;
+			qcom,smem-state-names = "stop";
+
+			resets = <&gcc GCC_MSS_RESTART>;
+			reset-names = "mss_restart";
+
+			qcom,halt-regs = <&tcsr_mutex_regs 0x23000 0x25000 0x24000>;
+
+			power-domains = <&rpmpd SDM660_VDDCX>,
+					<&rpmpd SDM660_VDDMX>;
+			power-domain-names = "cx", "mx";
+
+			status = "disabled";
+
+			mba {
+				memory-region = <&mba_region>;
+			};
+
+			mpss {
+				memory-region = <&mpss_region>;
+			};
+
+			glink-edge {
+				interrupts = <GIC_SPI 452 IRQ_TYPE_EDGE_RISING>;
+				label = "modem";
+				qcom,remote-pid = <1>;
+				mboxes = <&apcs_glb 15>;
+				#address-cells = <1>;
+				#size-cells = <0>;
+			};
+		};
+
 		adreno_gpu: gpu@5000000 {
 			compatible = "qcom,adreno-508.0", "qcom,adreno";
 
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 2/3] arm64: dts: qcom: sdm660: add device node for the compute PAS
  2022-05-14  0:03 [PATCH 0/3] arm64: dts: qcom: enable CDSP and MSS on ifc6560 board Dmitry Baryshkov
  2022-05-14  0:03 ` [PATCH 1/3] arm64: dts: qcom: sdm630: add device node for the modem PAS Dmitry Baryshkov
@ 2022-05-14  0:03 ` Dmitry Baryshkov
  2022-05-14 22:51   ` Konrad Dybcio
  2022-05-14  0:03 ` [PATCH 3/3] arm64: dts: qcom: sda660-inforce-ifc6560: enable cdsp and modem Dmitry Baryshkov
  2 siblings, 1 reply; 7+ messages in thread
From: Dmitry Baryshkov @ 2022-05-14  0:03 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski
  Cc: linux-arm-msm, devicetree

Add device tree node describing CDSP device found on the SDM660 (but not
on SDM630) platform.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/sdm660.dtsi | 68 ++++++++++++++++++++++++++++
 1 file changed, 68 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm660.dtsi b/arch/arm64/boot/dts/qcom/sdm660.dtsi
index 023b0ac4118c..3b70eff68807 100644
--- a/arch/arm64/boot/dts/qcom/sdm660.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm660.dtsi
@@ -9,6 +9,74 @@
 
 #include "sdm630.dtsi"
 
+/ {
+	reserved-memory {
+		/delete-node/ tzbuffer@94a00000;
+
+		cdsp_region: cdsp@94a00000 {
+			reg = <0x0 0x94a00000 0x0 0x600000>;
+			no-map;
+		};
+
+	};
+
+	smp2p-cdsp {
+		compatible = "qcom,smp2p";
+		qcom,smem = <94>, <432>;
+		interrupts = <GIC_SPI 514 IRQ_TYPE_EDGE_RISING>;
+		mboxes = <&apcs_glb 30>;
+		qcom,local-pid = <0>;
+		qcom,remote-pid = <5>;
+
+		cdsp_smp2p_out: master-kernel {
+			qcom,entry-name = "master-kernel";
+			#qcom,smem-state-cells = <1>;
+		};
+
+		cdsp_smp2p_in: slave-kernel {
+			qcom,entry-name = "slave-kernel";
+			interrupt-controller;
+			#interrupt-cells = <2>;
+		};
+	};
+
+	soc {
+		cdsp_pil: remoteproc@1a300000 {
+			compatible = "qcom,sdm660-cdsp-pas";
+			reg = <0x1a300000 0x4040>;
+
+			interrupts-extended =
+				<&intc GIC_SPI 518 IRQ_TYPE_EDGE_RISING>,
+				<&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
+				<&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
+				<&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
+				<&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
+			interrupt-names = "wdog", "fatal", "ready",
+					  "handover", "stop-ack";
+
+			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>;
+			clock-names = "xo";
+
+			memory-region = <&cdsp_region>;
+			power-domains = <&rpmpd SDM660_VDDCX>;
+			power-domain-names = "cx";
+
+			qcom,smem-states = <&cdsp_smp2p_out 0>;
+			qcom,smem-state-names = "stop";
+
+			glink-edge {
+				interrupts = <GIC_SPI 513 IRQ_TYPE_EDGE_RISING>;
+
+				label = "turing";
+				mboxes = <&apcs_glb 29>;
+				qcom,remote-pid = <5>;
+				#address-cells = <1>;
+				#size-cells = <0>;
+			};
+		};
+	};
+};
+
 &adreno_gpu {
 	compatible = "qcom,adreno-512.0", "qcom,adreno";
 	operating-points-v2 = <&gpu_sdm660_opp_table>;
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [PATCH 3/3] arm64: dts: qcom: sda660-inforce-ifc6560: enable cdsp and modem
  2022-05-14  0:03 [PATCH 0/3] arm64: dts: qcom: enable CDSP and MSS on ifc6560 board Dmitry Baryshkov
  2022-05-14  0:03 ` [PATCH 1/3] arm64: dts: qcom: sdm630: add device node for the modem PAS Dmitry Baryshkov
  2022-05-14  0:03 ` [PATCH 2/3] arm64: dts: qcom: sdm660: add device node for the compute PAS Dmitry Baryshkov
@ 2022-05-14  0:03 ` Dmitry Baryshkov
  2 siblings, 0 replies; 7+ messages in thread
From: Dmitry Baryshkov @ 2022-05-14  0:03 UTC (permalink / raw)
  To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
	Krzysztof Kozlowski
  Cc: linux-arm-msm, devicetree

Enable CDSP and modem devices on the Inforce IFC6560 board.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts b/arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts
index dc6e4de02b42..c2f98863c27c 100644
--- a/arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts
+++ b/arch/arm64/boot/dts/qcom/sda660-inforce-ifc6560.dts
@@ -102,6 +102,11 @@ &adsp_pil {
 	firmware-name = "qcom/ifc6560/adsp.mbn";
 };
 
+&cdsp_pil {
+	status = "okay";
+	firmware-name = "qcom/ifc6560/cdsp.mbn";
+};
+
 &blsp_i2c6 {
 	status = "okay";
 
@@ -194,6 +199,11 @@ &mmss_smmu {
 	status = "okay";
 };
 
+&mss_pil {
+	status = "okay";
+	firmware-name = "qcom/ifc6560/mba.mbn", "qcom/ifc6560/modem.mbn";
+};
+
 &pon_pwrkey {
 	status = "okay";
 };
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/3] arm64: dts: qcom: sdm660: add device node for the compute PAS
  2022-05-14  0:03 ` [PATCH 2/3] arm64: dts: qcom: sdm660: add device node for the compute PAS Dmitry Baryshkov
@ 2022-05-14 22:51   ` Konrad Dybcio
  2022-05-14 23:17     ` Dmitry Baryshkov
  0 siblings, 1 reply; 7+ messages in thread
From: Konrad Dybcio @ 2022-05-14 22:51 UTC (permalink / raw)
  To: Dmitry Baryshkov, Andy Gross, Bjorn Andersson, Rob Herring,
	Krzysztof Kozlowski
  Cc: linux-arm-msm, devicetree



On 14.05.2022 02:03, Dmitry Baryshkov wrote:
> Add device tree node describing CDSP device found on the SDM660 (but not
> on SDM630) platform.
> 
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> ---
Lookin' good, but this must be /delete-node/'d on sdm636. Also, I think 660 had a separate smmu for this hw block?

Konrad
>  arch/arm64/boot/dts/qcom/sdm660.dtsi | 68 ++++++++++++++++++++++++++++
>  1 file changed, 68 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sdm660.dtsi b/arch/arm64/boot/dts/qcom/sdm660.dtsi
> index 023b0ac4118c..3b70eff68807 100644
> --- a/arch/arm64/boot/dts/qcom/sdm660.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sdm660.dtsi
> @@ -9,6 +9,74 @@
>  
>  #include "sdm630.dtsi"
>  
> +/ {
> +	reserved-memory {
> +		/delete-node/ tzbuffer@94a00000;
> +
> +		cdsp_region: cdsp@94a00000 {
> +			reg = <0x0 0x94a00000 0x0 0x600000>;
> +			no-map;
> +		};
> +
> +	};
> +
> +	smp2p-cdsp {
> +		compatible = "qcom,smp2p";
> +		qcom,smem = <94>, <432>;
> +		interrupts = <GIC_SPI 514 IRQ_TYPE_EDGE_RISING>;
> +		mboxes = <&apcs_glb 30>;
> +		qcom,local-pid = <0>;
> +		qcom,remote-pid = <5>;
> +
> +		cdsp_smp2p_out: master-kernel {
> +			qcom,entry-name = "master-kernel";
> +			#qcom,smem-state-cells = <1>;
> +		};
> +
> +		cdsp_smp2p_in: slave-kernel {
> +			qcom,entry-name = "slave-kernel";
> +			interrupt-controller;
> +			#interrupt-cells = <2>;
> +		};
> +	};
> +
> +	soc {
> +		cdsp_pil: remoteproc@1a300000 {
> +			compatible = "qcom,sdm660-cdsp-pas";
> +			reg = <0x1a300000 0x4040>;
> +
> +			interrupts-extended =
> +				<&intc GIC_SPI 518 IRQ_TYPE_EDGE_RISING>,
> +				<&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
> +				<&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
> +				<&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
> +				<&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
> +			interrupt-names = "wdog", "fatal", "ready",
> +					  "handover", "stop-ack";
> +
> +			clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>;
> +			clock-names = "xo";
> +
> +			memory-region = <&cdsp_region>;
> +			power-domains = <&rpmpd SDM660_VDDCX>;
> +			power-domain-names = "cx";
> +
> +			qcom,smem-states = <&cdsp_smp2p_out 0>;
> +			qcom,smem-state-names = "stop";
> +
> +			glink-edge {
> +				interrupts = <GIC_SPI 513 IRQ_TYPE_EDGE_RISING>;
> +
> +				label = "turing";
> +				mboxes = <&apcs_glb 29>;
> +				qcom,remote-pid = <5>;
> +				#address-cells = <1>;
> +				#size-cells = <0>;
> +			};
> +		};
> +	};
> +};
> +
>  &adreno_gpu {
>  	compatible = "qcom,adreno-512.0", "qcom,adreno";
>  	operating-points-v2 = <&gpu_sdm660_opp_table>;

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/3] arm64: dts: qcom: sdm660: add device node for the compute PAS
  2022-05-14 22:51   ` Konrad Dybcio
@ 2022-05-14 23:17     ` Dmitry Baryshkov
  2022-05-15 11:02       ` Konrad Dybcio
  0 siblings, 1 reply; 7+ messages in thread
From: Dmitry Baryshkov @ 2022-05-14 23:17 UTC (permalink / raw)
  To: Konrad Dybcio
  Cc: Andy Gross, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
	linux-arm-msm, devicetree

On Sun, 15 May 2022 at 01:51, Konrad Dybcio
<konrad.dybcio@somainline.org> wrote:
>
>
>
> On 14.05.2022 02:03, Dmitry Baryshkov wrote:
> > Add device tree node describing CDSP device found on the SDM660 (but not
> > on SDM630) platform.
> >
> > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> > ---
> Lookin' good, but this must be /delete-node/'d on sdm636.

Ack for the sdm636, will fix in v2.

Or maybe you'd like another approach: move all devices to sdm636 and
make sdm660 include sdm636.dtsi?

> Also, I think 660 had a separate smmu for this hw block?

Yes, there is a separate smmu, however enabling it makes the board
reset. I can add it here, but I doubt it is going to be useful till
somebody lands IOMMU fixes for this platform.

>
> Konrad
> >  arch/arm64/boot/dts/qcom/sdm660.dtsi | 68 ++++++++++++++++++++++++++++
> >  1 file changed, 68 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/qcom/sdm660.dtsi b/arch/arm64/boot/dts/qcom/sdm660.dtsi
> > index 023b0ac4118c..3b70eff68807 100644
> > --- a/arch/arm64/boot/dts/qcom/sdm660.dtsi
> > +++ b/arch/arm64/boot/dts/qcom/sdm660.dtsi
> > @@ -9,6 +9,74 @@
> >
> >  #include "sdm630.dtsi"
> >
> > +/ {
> > +     reserved-memory {
> > +             /delete-node/ tzbuffer@94a00000;
> > +
> > +             cdsp_region: cdsp@94a00000 {
> > +                     reg = <0x0 0x94a00000 0x0 0x600000>;
> > +                     no-map;
> > +             };
> > +
> > +     };
> > +
> > +     smp2p-cdsp {
> > +             compatible = "qcom,smp2p";
> > +             qcom,smem = <94>, <432>;
> > +             interrupts = <GIC_SPI 514 IRQ_TYPE_EDGE_RISING>;
> > +             mboxes = <&apcs_glb 30>;
> > +             qcom,local-pid = <0>;
> > +             qcom,remote-pid = <5>;
> > +
> > +             cdsp_smp2p_out: master-kernel {
> > +                     qcom,entry-name = "master-kernel";
> > +                     #qcom,smem-state-cells = <1>;
> > +             };
> > +
> > +             cdsp_smp2p_in: slave-kernel {
> > +                     qcom,entry-name = "slave-kernel";
> > +                     interrupt-controller;
> > +                     #interrupt-cells = <2>;
> > +             };
> > +     };
> > +
> > +     soc {
> > +             cdsp_pil: remoteproc@1a300000 {
> > +                     compatible = "qcom,sdm660-cdsp-pas";
> > +                     reg = <0x1a300000 0x4040>;
> > +
> > +                     interrupts-extended =
> > +                             <&intc GIC_SPI 518 IRQ_TYPE_EDGE_RISING>,
> > +                             <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
> > +                             <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
> > +                             <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
> > +                             <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
> > +                     interrupt-names = "wdog", "fatal", "ready",
> > +                                       "handover", "stop-ack";
> > +
> > +                     clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>;
> > +                     clock-names = "xo";
> > +
> > +                     memory-region = <&cdsp_region>;
> > +                     power-domains = <&rpmpd SDM660_VDDCX>;
> > +                     power-domain-names = "cx";
> > +
> > +                     qcom,smem-states = <&cdsp_smp2p_out 0>;
> > +                     qcom,smem-state-names = "stop";
> > +
> > +                     glink-edge {
> > +                             interrupts = <GIC_SPI 513 IRQ_TYPE_EDGE_RISING>;
> > +
> > +                             label = "turing";
> > +                             mboxes = <&apcs_glb 29>;
> > +                             qcom,remote-pid = <5>;
> > +                             #address-cells = <1>;
> > +                             #size-cells = <0>;
> > +                     };
> > +             };
> > +     };
> > +};
> > +
> >  &adreno_gpu {
> >       compatible = "qcom,adreno-512.0", "qcom,adreno";
> >       operating-points-v2 = <&gpu_sdm660_opp_table>;



-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 2/3] arm64: dts: qcom: sdm660: add device node for the compute PAS
  2022-05-14 23:17     ` Dmitry Baryshkov
@ 2022-05-15 11:02       ` Konrad Dybcio
  0 siblings, 0 replies; 7+ messages in thread
From: Konrad Dybcio @ 2022-05-15 11:02 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: Andy Gross, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski,
	linux-arm-msm, devicetree



On 15.05.2022 01:17, Dmitry Baryshkov wrote:
> On Sun, 15 May 2022 at 01:51, Konrad Dybcio
> <konrad.dybcio@somainline.org> wrote:
>>
>>
>>
>> On 14.05.2022 02:03, Dmitry Baryshkov wrote:
>>> Add device tree node describing CDSP device found on the SDM660 (but not
>>> on SDM630) platform.
>>>
>>> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>>> ---
>> Lookin' good, but this must be /delete-node/'d on sdm636.
> 
> Ack for the sdm636, will fix in v2.
> 
> Or maybe you'd like another approach: move all devices to sdm636 and
> make sdm660 include sdm636.dtsi?
Hmm.. sounds like this could save some LoC without being unnecessarily confusing and we'd have a nice path of 'progression' with sdm630<sdm636<(sdm658 if that even really exists outside CAF kernels, never seen it irl)<sdm660

> 
>> Also, I think 660 had a separate smmu for this hw block?
> 
> Yes, there is a separate smmu, however enabling it makes the board
> reset. I can add it here, but I doubt it is going to be useful till
> somebody lands IOMMU fixes for this platform.
Right, I keep forgetting that it's one of the last very sad platforms on this front..

Konrad
> 
>>
>> Konrad
>>>  arch/arm64/boot/dts/qcom/sdm660.dtsi | 68 ++++++++++++++++++++++++++++
>>>  1 file changed, 68 insertions(+)
>>>
>>> diff --git a/arch/arm64/boot/dts/qcom/sdm660.dtsi b/arch/arm64/boot/dts/qcom/sdm660.dtsi
>>> index 023b0ac4118c..3b70eff68807 100644
>>> --- a/arch/arm64/boot/dts/qcom/sdm660.dtsi
>>> +++ b/arch/arm64/boot/dts/qcom/sdm660.dtsi
>>> @@ -9,6 +9,74 @@
>>>
>>>  #include "sdm630.dtsi"
>>>
>>> +/ {
>>> +     reserved-memory {
>>> +             /delete-node/ tzbuffer@94a00000;
>>> +
>>> +             cdsp_region: cdsp@94a00000 {
>>> +                     reg = <0x0 0x94a00000 0x0 0x600000>;
>>> +                     no-map;
>>> +             };
>>> +
>>> +     };
>>> +
>>> +     smp2p-cdsp {
>>> +             compatible = "qcom,smp2p";
>>> +             qcom,smem = <94>, <432>;
>>> +             interrupts = <GIC_SPI 514 IRQ_TYPE_EDGE_RISING>;
>>> +             mboxes = <&apcs_glb 30>;
>>> +             qcom,local-pid = <0>;
>>> +             qcom,remote-pid = <5>;
>>> +
>>> +             cdsp_smp2p_out: master-kernel {
>>> +                     qcom,entry-name = "master-kernel";
>>> +                     #qcom,smem-state-cells = <1>;
>>> +             };
>>> +
>>> +             cdsp_smp2p_in: slave-kernel {
>>> +                     qcom,entry-name = "slave-kernel";
>>> +                     interrupt-controller;
>>> +                     #interrupt-cells = <2>;
>>> +             };
>>> +     };
>>> +
>>> +     soc {
>>> +             cdsp_pil: remoteproc@1a300000 {
>>> +                     compatible = "qcom,sdm660-cdsp-pas";
>>> +                     reg = <0x1a300000 0x4040>;
>>> +
>>> +                     interrupts-extended =
>>> +                             <&intc GIC_SPI 518 IRQ_TYPE_EDGE_RISING>,
>>> +                             <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
>>> +                             <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
>>> +                             <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
>>> +                             <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
>>> +                     interrupt-names = "wdog", "fatal", "ready",
>>> +                                       "handover", "stop-ack";
>>> +
>>> +                     clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>;
>>> +                     clock-names = "xo";
>>> +
>>> +                     memory-region = <&cdsp_region>;
>>> +                     power-domains = <&rpmpd SDM660_VDDCX>;
>>> +                     power-domain-names = "cx";
>>> +
>>> +                     qcom,smem-states = <&cdsp_smp2p_out 0>;
>>> +                     qcom,smem-state-names = "stop";
>>> +
>>> +                     glink-edge {
>>> +                             interrupts = <GIC_SPI 513 IRQ_TYPE_EDGE_RISING>;
>>> +
>>> +                             label = "turing";
>>> +                             mboxes = <&apcs_glb 29>;
>>> +                             qcom,remote-pid = <5>;
>>> +                             #address-cells = <1>;
>>> +                             #size-cells = <0>;
>>> +                     };
>>> +             };
>>> +     };
>>> +};
>>> +
>>>  &adreno_gpu {
>>>       compatible = "qcom,adreno-512.0", "qcom,adreno";
>>>       operating-points-v2 = <&gpu_sdm660_opp_table>;
> 
> 
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-05-15 11:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-14  0:03 [PATCH 0/3] arm64: dts: qcom: enable CDSP and MSS on ifc6560 board Dmitry Baryshkov
2022-05-14  0:03 ` [PATCH 1/3] arm64: dts: qcom: sdm630: add device node for the modem PAS Dmitry Baryshkov
2022-05-14  0:03 ` [PATCH 2/3] arm64: dts: qcom: sdm660: add device node for the compute PAS Dmitry Baryshkov
2022-05-14 22:51   ` Konrad Dybcio
2022-05-14 23:17     ` Dmitry Baryshkov
2022-05-15 11:02       ` Konrad Dybcio
2022-05-14  0:03 ` [PATCH 3/3] arm64: dts: qcom: sda660-inforce-ifc6560: enable cdsp and modem Dmitry Baryshkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).