replace the TI patch with a smaller patchset
[openwrt/openwrt.git] / target / linux / omap / patches-3.12 / 100-ARM-dts-add-AM33XX-EDMA-support.patch
1 Adds AM33XX EDMA support to the am33xx.dtsi as documented in
2 Documentation/devicetree/bindings/dma/ti-edma.txt
3
4 [Joel Fernandes <joelf@ti.com>]
5 Drop DT entries that are non-hardware-description as discussed in [1]
6
7 [1] https://patchwork.kernel.org/patch/2226761/
8
9 Signed-off-by: Matt Porter <mporter@ti.com>
10 Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
11
12 ---
13 arch/arm/boot/dts/am33xx.dtsi | 12 ++++++++++++
14 1 file changed, 12 insertions(+)
15
16 diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi
17 index f9c5da9..19a1c1d 100644
18 --- a/arch/arm/boot/dts/am33xx.dtsi
19 +++ b/arch/arm/boot/dts/am33xx.dtsi
20 @@ -100,6 +100,18 @@
21 reg = <0x48200000 0x1000>;
22 };
23
24 + edma: edma@49000000 {
25 + compatible = "ti,edma3";
26 + ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2";
27 + reg = <0x49000000 0x10000>,
28 + <0x44e10f90 0x10>;
29 + interrupts = <12 13 14>;
30 + #dma-cells = <1>;
31 + dma-channels = <64>;
32 + ti,edma-regions = <4>;
33 + ti,edma-slots = <256>;
34 + };
35 +
36 gpio0: gpio@44e07000 {
37 compatible = "ti,omap4-gpio";
38 ti,hwmods = "gpio1";