[PATCH 3/3] arm64: dts: sprd: Change 2 cells to provide DMA controller specific information

From: Baolin Wang
Date: Tue Jan 22 2019 - 08:21:56 EST


Change to use 2 cells to provide the channel id and slave id for client.

Signed-off-by: Baolin Wang <baolin.wang@xxxxxxxxxx>
---
arch/arm64/boot/dts/sprd/whale2.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/sprd/whale2.dtsi b/arch/arm64/boot/dts/sprd/whale2.dtsi
index 34b6ca0..dbd61f8 100644
--- a/arch/arm64/boot/dts/sprd/whale2.dtsi
+++ b/arch/arm64/boot/dts/sprd/whale2.dtsi
@@ -117,7 +117,7 @@
compatible = "sprd,sc9860-dma";
reg = <0 0x20100000 0 0x4000>;
interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
- #dma-cells = <1>;
+ #dma-cells = <2>;
#dma-channels = <32>;
clock-names = "enable";
clocks = <&apahb_gate CLK_DMA_EB>;
@@ -273,7 +273,7 @@
agcp_dma: dma-controller@41580000 {
compatible = "sprd,sc9860-dma";
reg = <0 0x41580000 0 0x4000>;
- #dma-cells = <1>;
+ #dma-cells = <2>;
#dma-channels = <32>;
clock-names = "enable", "ashb_eb";
clocks = <&agcp_gate CLK_AGCP_DMAAP_EB>,
--
1.7.9.5