diff mbox series

[2/4] arm64: dts: fsl: ls1028a: Add eDMA node

Message ID 20190506090344.37784-2-peng.ma@nxp.com (mailing list archive)
State New, archived
Headers show
Series [1/4] arm64: dts: fsl: ls1028a: Add qDMA node | expand

Commit Message

Peng Ma May 6, 2019, 9:03 a.m. UTC
Add the eDMA device tree nodes for LS1028A devices

Signed-off-by: Peng Ma <peng.ma@nxp.com>
---
 arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

Comments

Shawn Guo June 18, 2019, 1:13 p.m. UTC | #1
On Mon, May 06, 2019 at 09:03:42AM +0000, Peng Ma wrote:
> Add the eDMA device tree nodes for LS1028A devices
> 
> Signed-off-by: Peng Ma <peng.ma@nxp.com>
> ---
>  arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi |   15 +++++++++++++++
>  1 files changed, 15 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
> index 8116fb3..71b87cb 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
> @@ -235,6 +235,21 @@
>  			status = "disabled";
>  		};
>  
> +		edma0: edma@22c0000 {
> +			#dma-cells = <2>;
> +			compatible = "fsl,vf610-edma";
> +			reg = <0x0 0x22c0000 0x0 0x10000>,
> +			      <0x0 0x22d0000 0x0 0x10000>,
> +			      <0x0 0x22e0000 0x0 0x10000>;
> +			interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
> +				     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
> +			interrupt-names = "edma-tx", "edma-err";
> +			dma-channels = <32>;
> +			clock-names = "dmamux0", "dmamux1";
> +			clocks = <&clockgen 4 1>,
> +				 <&clockgen 4 1>;
> +		};
> +

The edma@22c0000 node had already been added by commit below:

  f54f7be5c5ac ("arm64: dts: ls1028a: Add Audio DT nodes")

Shawn

>  		gpio1: gpio@2300000 {
>  			compatible = "fsl,qoriq-gpio";
>  			reg = <0x0 0x2300000 0x0 0x10000>;
> -- 
> 1.7.1
>
Peng Ma June 19, 2019, 1:47 a.m. UTC | #2
>-----Original Message-----
>From: Shawn Guo <shawnguo@kernel.org>
>Sent: 2019年6月18日 21:13
>To: Peng Ma <peng.ma@nxp.com>
>Cc: vkoul@kernel.org; robh+dt@kernel.org; mark.rutland@arm.com; Leo Li
><leoyang.li@nxp.com>; dan.j.williams@intel.com; dmaengine@vger.kernel.org;
>devicetree@vger.kernel.org; linux-kernel@vger.kernel.org;
>linux-arm-kernel@lists.infradead.org
>Subject: [EXT] Re: [PATCH 2/4] arm64: dts: fsl: ls1028a: Add eDMA node
>
>Caution: EXT Email
>
>On Mon, May 06, 2019 at 09:03:42AM +0000, Peng Ma wrote:
>> Add the eDMA device tree nodes for LS1028A devices
>>
>> Signed-off-by: Peng Ma <peng.ma@nxp.com>
>> ---
>>  arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi |   15 +++++++++++++++
>>  1 files changed, 15 insertions(+), 0 deletions(-)
>>
>> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
>b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
>> index 8116fb3..71b87cb 100644
>> --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
>> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
>> @@ -235,6 +235,21 @@
>>                       status = "disabled";
>>               };
>>
>> +             edma0: edma@22c0000 {
>> +                     #dma-cells = <2>;
>> +                     compatible = "fsl,vf610-edma";
>> +                     reg = <0x0 0x22c0000 0x0 0x10000>,
>> +                           <0x0 0x22d0000 0x0 0x10000>,
>> +                           <0x0 0x22e0000 0x0 0x10000>;
>> +                     interrupts = <GIC_SPI 56
>IRQ_TYPE_LEVEL_HIGH>,
>> +                                  <GIC_SPI 56
>IRQ_TYPE_LEVEL_HIGH>;
>> +                     interrupt-names = "edma-tx", "edma-err";
>> +                     dma-channels = <32>;
>> +                     clock-names = "dmamux0", "dmamux1";
>> +                     clocks = <&clockgen 4 1>,
>> +                              <&clockgen 4 1>;
>> +             };
>> +
>
>The edma@22c0000 node had already been added by commit below:
>
>  f54f7be5c5ac ("arm64: dts: ls1028a: Add Audio DT nodes")
>
[Peng Ma] OK, got it, thanks.

Best Regards,
Peng
>Shawn
>
>>               gpio1: gpio@2300000 {
>>                       compatible = "fsl,qoriq-gpio";
>>                       reg = <0x0 0x2300000 0x0 0x10000>;
>> --
>> 1.7.1
>>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
index 8116fb3..71b87cb 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
@@ -235,6 +235,21 @@ 
 			status = "disabled";
 		};
 
+		edma0: edma@22c0000 {
+			#dma-cells = <2>;
+			compatible = "fsl,vf610-edma";
+			reg = <0x0 0x22c0000 0x0 0x10000>,
+			      <0x0 0x22d0000 0x0 0x10000>,
+			      <0x0 0x22e0000 0x0 0x10000>;
+			interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
+			interrupt-names = "edma-tx", "edma-err";
+			dma-channels = <32>;
+			clock-names = "dmamux0", "dmamux1";
+			clocks = <&clockgen 4 1>,
+				 <&clockgen 4 1>;
+		};
+
 		gpio1: gpio@2300000 {
 			compatible = "fsl,qoriq-gpio";
 			reg = <0x0 0x2300000 0x0 0x10000>;