]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commitdiff
ARM: dts: suniv: f1c100s: Add support for DMA
authorMesih Kilinc <mesihkilinc@gmail.com>
Fri, 22 Nov 2024 16:11:32 +0000 (17:11 +0100)
committerChen-Yu Tsai <wens@csie.org>
Thu, 5 Dec 2024 13:37:37 +0000 (21:37 +0800)
Allwinner suniv F1C100s now has DMA support. Enable it under device
tree.

Signed-off-by: Mesih Kilinc <mesihkilinc@gmail.com>
[ csokas.bence: Rebased on current master ]
Signed-off-by: Csókás, Bence <csokas.bence@prolan.hu>
Link: https://patch.msgid.link/20241122161128.2619172-6-csokas.bence@prolan.hu
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/arm/boot/dts/allwinner/suniv-f1c100s.dtsi

index 3c61d59ab5f86eb4724709c96cdebb3f0c93de12..290efe026cebe58a1fa54dec1b52bbe5671a8705 100644 (file)
@@ -6,6 +6,7 @@
 
 #include <dt-bindings/clock/suniv-ccu-f1c100s.h>
 #include <dt-bindings/reset/suniv-ccu-f1c100s.h>
+#include <dt-bindings/dma/sun4i-a10.h>
 
 / {
        #address-cells = <1>;
                        status = "disabled";
                };
 
+               dma: dma-controller@1c02000 {
+                       compatible = "allwinner,suniv-f1c100s-dma";
+                       reg = <0x01c02000 0x1000>;
+                       interrupts = <18>;
+                       clocks = <&ccu CLK_BUS_DMA>;
+                       resets = <&ccu RST_BUS_DMA>;
+                       #dma-cells = <2>;
+               };
+
                ccu: clock@1c20000 {
                        compatible = "allwinner,suniv-f1c100s-ccu";
                        reg = <0x01c20000 0x400>;