Re: [PATCH v2 16/17] MIPS: JZ4770: DTS: Add DMA nodes

From: Sergei Shtylyov
Date: Thu Jul 19 2018 - 04:07:10 EST


On 7/18/2018 9:20 PM, Paul Cercueil wrote:

Add the two devicetree nodes for the two DMA cores of the JZ4770 SoC,
disabled by default, as currently there are no clients for the DMA
driver (until the MMC driver and/or others get a devicetree node).

Signed-off-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx>
Tested-by: Mathieu Malaterre <malat@xxxxxxxxxx>
---
arch/mips/boot/dts/ingenic/jz4770.dtsi | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

v2: No change

diff --git a/arch/mips/boot/dts/ingenic/jz4770.dtsi b/arch/mips/boot/dts/ingenic/jz4770.dtsi
index 7c2804f3f5f1..fda17beeb08b 100644
--- a/arch/mips/boot/dts/ingenic/jz4770.dtsi
+++ b/arch/mips/boot/dts/ingenic/jz4770.dtsi
@@ -196,6 +196,36 @@
status = "disabled";
};
+ dmac0: jz4770-dma@13420000 {

dmac0: dma-controller@13420000 {

[...]

+ dmac1: jz4770-dma@13420100 {

dmac1: dma-controller@13420100 {

[...]

MBR, Sergei