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 1811f8275559050d38622c5a34908bde779fe7d0..645549e142378d9a82938708b0a8b4e4a0721483 100644 (file)
@@ -32,3 +32,7 @@
 &edma0 {
        ti,edma-reserved-slot-ranges = <32 50>;
 };
+
+&edma1 {
+       ti,edma-reserved-slot-ranges = <32 90>;
+};
index b7ea8318c7fe6c76acbab34bd68ab8c1b10da83a..ef061e9a23154b61cbad0398d8114be739e0fe38 100644 (file)
 &edma0 {
        ti,edma-reserved-slot-ranges = <32 50>;
 };
+
+&edma1 {
+       ti,edma-reserved-slot-ranges = <32 90>;
+};
index 6e39f9b06524a72bc7c9a050bc172fa137675dc8..c08b6c04fcf120b83640df098784d45601e5a410 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>;