Revert "ARM: DTS: am33xx: Use the new DT bindings for the eDMA3"
authorVinod Koul <vinod.koul@intel.com>
Mon, 2 Nov 2015 15:36:46 +0000 (21:06 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 2 Nov 2015 15:37:22 +0000 (21:07 +0530)
This reverts commit d871cd2ec5abf8715774bcb90aa32ae5b750b587 as it causes
regression in BBB

Reported-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
arch/arm/boot/dts/am335x-evm.dts
arch/arm/boot/dts/am335x-pepper.dts
arch/arm/boot/dts/am33xx.dtsi

index 507980672c32245abaf20e3c927bdc5c84c1bc42..1942a5c8132d74a3df239f99104ffd762a9b4f20 100644 (file)
 &mmc3 {
        /* these are on the crossbar and are outlined in the
           xbar-event-map element */
-       dmas = <&edma_xbar 12 0 1
-               &edma_xbar 13 0 2>;
+       dmas = <&edma 12
+               &edma 13>;
        dma-names = "tx", "rx";
        status = "okay";
        vmmc-supply = <&wlan_en_reg>;
        };
 };
 
+&edma {
+       ti,edma-xbar-event-map = /bits/ 16 <1 12
+                                           2 13>;
+};
+
 &sham {
        status = "okay";
 };
index 39073b921664e5a3f8477b1691c391829048ce61..7106114c74647cd2e76499a6f5654ddf5f98f73d 100644 (file)
        ti,non-removable;
 };
 
+&edma {
+       /* Map eDMA MMC2 Events from Crossbar */
+       ti,edma-xbar-event-map = /bits/ 16 <1 12
+                                            2 13>;
+};
+
+
 &mmc3 {
        /* Wifi & Bluetooth on MMC #3 */
        status = "okay";
        vmmmc-supply = <&v3v3c_reg>;
        bus-width = <4>;
        ti,non-removable;
-       dmas = <&edma_xbar 12 0 1
-               &edma_xbar 13 0 2>;
+       dmas = <&edma 12
+               &edma 13>;
        dma-names = "tx", "rx";
 };
 
index 6053e75c6e9985c993cead55eaaa26c96e02c44c..d23e2524d694e95512a0ab967c6ef4fd9c1b8314 100644 (file)
                };
 
                edma: edma@49000000 {
-                       compatible = "ti,edma3-tpcc";
-                       ti,hwmods = "tpcc";
-                       reg =   <0x49000000 0x10000>;
-                       reg-names = "edma3_cc";
+                       compatible = "ti,edma3";
+                       ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2";
+                       reg =   <0x49000000 0x10000>,
+                               <0x44e10f90 0x40>;
                        interrupts = <12 13 14>;
-                       interrupt-names = "edma3_ccint", "emda3_mperr",
-                                         "edma3_ccerrint";
-                       dma-requests = <64>;
-                       #dma-cells = <2>;
-
-                       ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 5>,
-                                  <&edma_tptc2 0>;
-
-                       ti,edma-memcpy-channels = /bits/ 16 <20 21>;
-               };
-
-               edma_tptc0: tptc@49800000 {
-                       compatible = "ti,edma3-tptc";
-                       ti,hwmods = "tptc0";
-                       reg =   <0x49800000 0x100000>;
-                       interrupts = <112>;
-                       interrupt-names = "edma3_tcerrint";
-               };
-
-               edma_tptc1: tptc@49900000 {
-                       compatible = "ti,edma3-tptc";
-                       ti,hwmods = "tptc1";
-                       reg =   <0x49900000 0x100000>;
-                       interrupts = <113>;
-                       interrupt-names = "edma3_tcerrint";
-               };
-
-               edma_tptc2: tptc@49a00000 {
-                       compatible = "ti,edma3-tptc";
-                       ti,hwmods = "tptc2";
-                       reg =   <0x49a00000 0x100000>;
-                       interrupts = <114>;
-                       interrupt-names = "edma3_tcerrint";
-               };
-
-               edma_xbar: dma-router@44e10f90 {
-                       compatible = "ti,am335x-edma-crossbar";
-                       reg = <0x44e10f90 0x40>;
-
-                       #dma-cells = <3>;
-                       dma-requests = <32>;
-
-                       dma-masters = <&edma>;
+                       #dma-cells = <1>;
                };
 
                gpio0: gpio@44e07000 {
                        reg = <0x44e09000 0x2000>;
                        interrupts = <72>;
                        status = "disabled";
-                       dmas = <&edma 26 0>, <&edma 27 0>;
+                       dmas = <&edma 26>, <&edma 27>;
                        dma-names = "tx", "rx";
                };
 
                        reg = <0x48022000 0x2000>;
                        interrupts = <73>;
                        status = "disabled";
-                       dmas = <&edma 28 0>, <&edma 29 0>;
+                       dmas = <&edma 28>, <&edma 29>;
                        dma-names = "tx", "rx";
                };
 
                        reg = <0x48024000 0x2000>;
                        interrupts = <74>;
                        status = "disabled";
-                       dmas = <&edma 30 0>, <&edma 31 0>;
+                       dmas = <&edma 30>, <&edma 31>;
                        dma-names = "tx", "rx";
                };
 
                        ti,dual-volt;
                        ti,needs-special-reset;
                        ti,needs-special-hs-handling;
-                       dmas = <&edma_xbar 24 0 0
-                               &edma_xbar 25 0 0>;
+                       dmas = <&edma 24
+                               &edma 25>;
                        dma-names = "tx", "rx";
                        interrupts = <64>;
                        interrupt-parent = <&intc>;
                        compatible = "ti,omap4-hsmmc";
                        ti,hwmods = "mmc2";
                        ti,needs-special-reset;
-                       dmas = <&edma 2 0
-                               &edma 3 0>;
+                       dmas = <&edma 2
+                               &edma 3>;
                        dma-names = "tx", "rx";
                        interrupts = <28>;
                        interrupt-parent = <&intc>;
                        interrupts = <65>;
                        ti,spi-num-cs = <2>;
                        ti,hwmods = "spi0";
-                       dmas = <&edma 16 0
-                               &edma 17 0
-                               &edma 18 0
-                               &edma 19 0>;
+                       dmas = <&edma 16
+                               &edma 17
+                               &edma 18
+                               &edma 19>;
                        dma-names = "tx0", "rx0", "tx1", "rx1";
                        status = "disabled";
                };
                        interrupts = <125>;
                        ti,spi-num-cs = <2>;
                        ti,hwmods = "spi1";
-                       dmas = <&edma 42 0
-                               &edma 43 0
-                               &edma 44 0
-                               &edma 45 0>;
+                       dmas = <&edma 42
+                               &edma 43
+                               &edma 44
+                               &edma 45>;
                        dma-names = "tx0", "rx0", "tx1", "rx1";
                        status = "disabled";
                };
                        ti,hwmods = "sham";
                        reg = <0x53100000 0x200>;
                        interrupts = <109>;
-                       dmas = <&edma 36 0>;
+                       dmas = <&edma 36>;
                        dma-names = "rx";
                };
 
                        ti,hwmods = "aes";
                        reg = <0x53500000 0xa0>;
                        interrupts = <103>;
-                       dmas = <&edma 6 0>,
-                              <&edma 5 0>;
+                       dmas = <&edma 6>,
+                              <&edma 5>;
                        dma-names = "tx", "rx";
                };
 
                        interrupts = <80>, <81>;
                        interrupt-names = "tx", "rx";
                        status = "disabled";
-                       dmas = <&edma 8 2>,
-                               <&edma 9 2>;
+                       dmas = <&edma 8>,
+                               <&edma 9>;
                        dma-names = "tx", "rx";
                };
 
                        interrupts = <82>, <83>;
                        interrupt-names = "tx", "rx";
                        status = "disabled";
-                       dmas = <&edma 10 2>,
-                               <&edma 11 2>;
+                       dmas = <&edma 10>,
+                               <&edma 11>;
                        dma-names = "tx", "rx";
                };