[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201110040553.1381-7-frank@allwinnertech.com>
Date: Tue, 10 Nov 2020 12:05:40 +0800
From: Frank Lee <frank@...winnertech.com>
To: vkoul@...nel.org, robh+dt@...nel.org, mripard@...nel.org,
wens@...e.org, ulf.hansson@...aro.org, kishon@...com,
wim@...ux-watchdog.org, linux@...ck-us.net,
dan.j.williams@...el.com, linus.walleij@...aro.org,
wsa+renesas@...g-engineering.com, dianders@...omium.org,
marex@...x.de, colin.king@...onical.com, rdunlap@...radead.org,
krzk@...nel.org, gregkh@...uxfoundation.org, megous@...ous.com,
rikard.falkeborn@...il.com, dmaengine@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-mmc@...r.kernel.org,
linux-watchdog@...r.kernel.org, linux-gpio@...r.kernel.org,
tiny.windzz@...il.com
Cc: Yangtao Li <frank@...winnertech.com>
Subject: [PATCH 06/19] arm64: allwinner: a100: Add device node for DMA controller
From: Yangtao Li <frank@...winnertech.com>
The A100 SoC has a DMA controller that supports 8 DMA channels
to and from various peripherals.
Add a device node for it.
Signed-off-by: Yangtao Li <frank@...winnertech.com>
---
arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi
index cc321c04f121..c34ed8045363 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi
@@ -101,6 +101,18 @@ ccu: clock@...1000 {
#reset-cells = <1>;
};
+ dma: dma-controller@...2000 {
+ compatible = "allwinner,sun50i-a100-dma";
+ reg = <0x03002000 0x1000>;
+ interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&ccu CLK_BUS_DMA>, <&ccu CLK_MBUS_DMA>;
+ clock-names = "bus", "mbus";
+ dma-channels = <8>;
+ dma-requests = <51>;
+ resets = <&ccu RST_BUS_DMA>;
+ #dma-cells = <1>;
+ };
+
gic: interrupt-controller@...1000 {
compatible = "arm,gic-400";
reg = <0x03021000 0x1000>, <0x03022000 0x2000>,
--
2.28.0
Powered by blists - more mailing lists