ARM: DTS: da850: Enable eDMA1
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Thu, 17 Dec 2015 13:27:49 +0000 (15:27 +0200)
committerSekhar Nori <nsekhar@ti.com>
Thu, 24 Dec 2015 11:02:14 +0000 (16:32 +0530)
The eDMA1 in da850 has only one TPTC and for example MMC1 is HW events are
handled by it.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Tested-by: Sushaanth Srirangapathi <sushaanth.s@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/boot/dts/da850-enbw-cmc.dts
arch/arm/boot/dts/da850-evm.dts
arch/arm/boot/dts/da850.dtsi

index 1811f82..645549e 100644 (file)
@@ -32,3 +32,7 @@
 &edma0 {
        ti,edma-reserved-slot-ranges = <32 50>;
 };
+
+&edma1 {
+       ti,edma-reserved-slot-ranges = <32 90>;
+};
index b7ea831..ef061e9 100644 (file)
 &edma0 {
        ti,edma-reserved-slot-ranges = <32 50>;
 };
+
+&edma1 {
+       ti,edma-reserved-slot-ranges = <32 90>;
+};
index 6e39f9b..c08b6c0 100644 (file)
                        interrupts = <32>;
                        interrupt-names = "edm3_tcerrint";
                };
+               edma1: edma@01e30000 {
+                       compatible = "ti,edma3-tpcc";
+                       /* eDMA3 CC1: 0x01e3 0000 - 0x01e3 7fff */
+                       reg =   <0x230000 0x8000>;
+                       reg-names = "edma3_cc";
+                       interrupts = <93 94>;
+                       interrupt-names = "edma3_ccint", "edma3_ccerrint";
+                       #dma-cells = <2>;
+
+                       ti,tptcs = <&edma1_tptc0 7>;
+               };
+               edma1_tptc0: tptc@01e38000 {
+                       compatible = "ti,edma3-tptc";
+                       reg =   <0x238000 0x400>;
+                       interrupts = <95>;
+                       interrupt-names = "edm3_tcerrint";
+               };
                serial0: serial@1c42000 {
                        compatible = "ns16550a";
                        reg = <0x42000 0x100>;