提交 d07fe967 编写于 作者: C Chen-Yu Tsai 提交者: Maxime Ripard

ARM: dts: sun8i: Add DMA controller node

Add the DMA controller node and DMA bindings to the supported devices.
Signed-off-by: NChen-Yu Tsai <wens@csie.org>
Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
上级 6717f3d1
...@@ -247,6 +247,15 @@ ...@@ -247,6 +247,15 @@
#size-cells = <1>; #size-cells = <1>;
ranges; ranges;
dma: dma-controller@01c02000 {
compatible = "allwinner,sun8i-a23-dma";
reg = <0x01c02000 0x1000>;
interrupts = <0 50 4>;
clocks = <&ahb1_gates 6>;
resets = <&ahb1_rst 6>;
#dma-cells = <1>;
};
mmc0: mmc@01c0f000 { mmc0: mmc@01c0f000 {
compatible = "allwinner,sun5i-a13-mmc"; compatible = "allwinner,sun5i-a13-mmc";
reg = <0x01c0f000 0x1000>; reg = <0x01c0f000 0x1000>;
...@@ -376,6 +385,8 @@ ...@@ -376,6 +385,8 @@
reg-io-width = <4>; reg-io-width = <4>;
clocks = <&apb2_gates 16>; clocks = <&apb2_gates 16>;
resets = <&apb2_rst 16>; resets = <&apb2_rst 16>;
dmas = <&dma 6>, <&dma 6>;
dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
}; };
...@@ -387,6 +398,8 @@ ...@@ -387,6 +398,8 @@
reg-io-width = <4>; reg-io-width = <4>;
clocks = <&apb2_gates 17>; clocks = <&apb2_gates 17>;
resets = <&apb2_rst 17>; resets = <&apb2_rst 17>;
dmas = <&dma 7>, <&dma 7>;
dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
}; };
...@@ -398,6 +411,8 @@ ...@@ -398,6 +411,8 @@
reg-io-width = <4>; reg-io-width = <4>;
clocks = <&apb2_gates 18>; clocks = <&apb2_gates 18>;
resets = <&apb2_rst 18>; resets = <&apb2_rst 18>;
dmas = <&dma 8>, <&dma 8>;
dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
}; };
...@@ -409,6 +424,8 @@ ...@@ -409,6 +424,8 @@
reg-io-width = <4>; reg-io-width = <4>;
clocks = <&apb2_gates 19>; clocks = <&apb2_gates 19>;
resets = <&apb2_rst 19>; resets = <&apb2_rst 19>;
dmas = <&dma 9>, <&dma 9>;
dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
}; };
...@@ -420,6 +437,8 @@ ...@@ -420,6 +437,8 @@
reg-io-width = <4>; reg-io-width = <4>;
clocks = <&apb2_gates 20>; clocks = <&apb2_gates 20>;
resets = <&apb2_rst 20>; resets = <&apb2_rst 20>;
dmas = <&dma 10>, <&dma 10>;
dma-names = "rx", "tx";
status = "disabled"; status = "disabled";
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册