aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2017-03-03 17:17:24 +0100
committerNeil Armstrong <narmstrong@baylibre.com>2022-01-04 15:46:24 +0100
commit8a4b70b0d54020bfae32041369422c3b41c0cd56 (patch)
tree28af65165c1478353c9b69d1ff5dd496bc6cb51b
parentd4a1781d44ffa72e167b623b5e359353ca45ac8a (diff)
downloadlinux-oxnas-oxnas/v5.18/dma.tar.gz
ARM: dts: ox810se: Add DMA Supportoxnas/v5.18/dma
This adds the DMA engine node. Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
-rw-r--r--arch/arm/boot/dts/ox810se-wd-mbwe.dts4
-rw-r--r--arch/arm/boot/dts/ox810se.dtsi21
2 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ox810se-wd-mbwe.dts b/arch/arm/boot/dts/ox810se-wd-mbwe.dts
index 7e2fcb220aea32..19e5d510e425e5 100644
--- a/arch/arm/boot/dts/ox810se-wd-mbwe.dts
+++ b/arch/arm/boot/dts/ox810se-wd-mbwe.dts
@@ -103,6 +103,10 @@
};
};
+&dma {
+ status = "okay";
+};
+
&uart1 {
status = "okay";
diff --git a/arch/arm/boot/dts/ox810se.dtsi b/arch/arm/boot/dts/ox810se.dtsi
index 0755e5864c4a37..79b2b49dcfbbe8 100644
--- a/arch/arm/boot/dts/ox810se.dtsi
+++ b/arch/arm/boot/dts/ox810se.dtsi
@@ -334,6 +334,27 @@
interrupts = <4 5>;
};
};
+
+ dma: dma-controller@600000 {
+ compatible = "oxsemi,ox810se-dma";
+ reg = <0x600000 0x100000>,
+ <0xc00000 0x100000>;
+ reg-names = "dma", "sgdma";
+ interrupts = <13>, <14>, <15>, <16>, <20>;
+ clocks = <&stdclk 1>;
+ resets = <&reset 8>, <&reset 24>;
+ reset-names = "dma", "sgdma";
+
+ /* Encodes the authorized memory types */
+ oxsemi,targets-types =
+ <0x45900000 0x45a00000 0>, /* SATA */
+ <0x42000000 0x43000000 0>, /* SATA DATA */
+ <0x48000000 0x58000000 15>, /* DDR */
+ <0x58000000 0x58020000 15>; /* SRAM */
+
+ #dma-cells = <1>;
+ dma-channels = <5>;
+ };
};
};
};