Commit 829a2fac authored by Vinod Koul's avatar Vinod Koul

Revert "ARM: DTS: am33xx: Use the new DT bindings for the eDMA3"

This reverts commit d871cd2e as it causes
regression in BBB
Reported-by: default avatarOlof Johansson <olof@lixom.net>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent b1c4e982
...@@ -743,8 +743,8 @@ &mmc1 { ...@@ -743,8 +743,8 @@ &mmc1 {
&mmc3 { &mmc3 {
/* these are on the crossbar and are outlined in the /* these are on the crossbar and are outlined in the
xbar-event-map element */ xbar-event-map element */
dmas = <&edma_xbar 12 0 1 dmas = <&edma 12
&edma_xbar 13 0 2>; &edma 13>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
status = "okay"; status = "okay";
vmmc-supply = <&wlan_en_reg>; vmmc-supply = <&wlan_en_reg>;
...@@ -766,6 +766,11 @@ wlcore: wlcore@0 { ...@@ -766,6 +766,11 @@ wlcore: wlcore@0 {
}; };
}; };
&edma {
ti,edma-xbar-event-map = /bits/ 16 <1 12
2 13>;
};
&sham { &sham {
status = "okay"; status = "okay";
}; };
......
...@@ -339,6 +339,13 @@ &mmc2 { ...@@ -339,6 +339,13 @@ &mmc2 {
ti,non-removable; ti,non-removable;
}; };
&edma {
/* Map eDMA MMC2 Events from Crossbar */
ti,edma-xbar-event-map = /bits/ 16 <1 12
2 13>;
};
&mmc3 { &mmc3 {
/* Wifi & Bluetooth on MMC #3 */ /* Wifi & Bluetooth on MMC #3 */
status = "okay"; status = "okay";
...@@ -347,8 +354,8 @@ &mmc3 { ...@@ -347,8 +354,8 @@ &mmc3 {
vmmmc-supply = <&v3v3c_reg>; vmmmc-supply = <&v3v3c_reg>;
bus-width = <4>; bus-width = <4>;
ti,non-removable; ti,non-removable;
dmas = <&edma_xbar 12 0 1 dmas = <&edma 12
&edma_xbar 13 0 2>; &edma 13>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
}; };
......
...@@ -174,54 +174,12 @@ intc: interrupt-controller@48200000 { ...@@ -174,54 +174,12 @@ intc: interrupt-controller@48200000 {
}; };
edma: edma@49000000 { edma: edma@49000000 {
compatible = "ti,edma3-tpcc"; compatible = "ti,edma3";
ti,hwmods = "tpcc"; ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2";
reg = <0x49000000 0x10000>; reg = <0x49000000 0x10000>,
reg-names = "edma3_cc"; <0x44e10f90 0x40>;
interrupts = <12 13 14>; interrupts = <12 13 14>;
interrupt-names = "edma3_ccint", "emda3_mperr", #dma-cells = <1>;
"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>;
}; };
gpio0: gpio@44e07000 { gpio0: gpio@44e07000 {
...@@ -275,7 +233,7 @@ uart0: serial@44e09000 { ...@@ -275,7 +233,7 @@ uart0: serial@44e09000 {
reg = <0x44e09000 0x2000>; reg = <0x44e09000 0x2000>;
interrupts = <72>; interrupts = <72>;
status = "disabled"; status = "disabled";
dmas = <&edma 26 0>, <&edma 27 0>; dmas = <&edma 26>, <&edma 27>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
}; };
...@@ -286,7 +244,7 @@ uart1: serial@48022000 { ...@@ -286,7 +244,7 @@ uart1: serial@48022000 {
reg = <0x48022000 0x2000>; reg = <0x48022000 0x2000>;
interrupts = <73>; interrupts = <73>;
status = "disabled"; status = "disabled";
dmas = <&edma 28 0>, <&edma 29 0>; dmas = <&edma 28>, <&edma 29>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
}; };
...@@ -297,7 +255,7 @@ uart2: serial@48024000 { ...@@ -297,7 +255,7 @@ uart2: serial@48024000 {
reg = <0x48024000 0x2000>; reg = <0x48024000 0x2000>;
interrupts = <74>; interrupts = <74>;
status = "disabled"; status = "disabled";
dmas = <&edma 30 0>, <&edma 31 0>; dmas = <&edma 30>, <&edma 31>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
}; };
...@@ -364,8 +322,8 @@ mmc1: mmc@48060000 { ...@@ -364,8 +322,8 @@ mmc1: mmc@48060000 {
ti,dual-volt; ti,dual-volt;
ti,needs-special-reset; ti,needs-special-reset;
ti,needs-special-hs-handling; ti,needs-special-hs-handling;
dmas = <&edma_xbar 24 0 0 dmas = <&edma 24
&edma_xbar 25 0 0>; &edma 25>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
interrupts = <64>; interrupts = <64>;
interrupt-parent = <&intc>; interrupt-parent = <&intc>;
...@@ -377,8 +335,8 @@ mmc2: mmc@481d8000 { ...@@ -377,8 +335,8 @@ mmc2: mmc@481d8000 {
compatible = "ti,omap4-hsmmc"; compatible = "ti,omap4-hsmmc";
ti,hwmods = "mmc2"; ti,hwmods = "mmc2";
ti,needs-special-reset; ti,needs-special-reset;
dmas = <&edma 2 0 dmas = <&edma 2
&edma 3 0>; &edma 3>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
interrupts = <28>; interrupts = <28>;
interrupt-parent = <&intc>; interrupt-parent = <&intc>;
...@@ -516,10 +474,10 @@ spi0: spi@48030000 { ...@@ -516,10 +474,10 @@ spi0: spi@48030000 {
interrupts = <65>; interrupts = <65>;
ti,spi-num-cs = <2>; ti,spi-num-cs = <2>;
ti,hwmods = "spi0"; ti,hwmods = "spi0";
dmas = <&edma 16 0 dmas = <&edma 16
&edma 17 0 &edma 17
&edma 18 0 &edma 18
&edma 19 0>; &edma 19>;
dma-names = "tx0", "rx0", "tx1", "rx1"; dma-names = "tx0", "rx0", "tx1", "rx1";
status = "disabled"; status = "disabled";
}; };
...@@ -532,10 +490,10 @@ spi1: spi@481a0000 { ...@@ -532,10 +490,10 @@ spi1: spi@481a0000 {
interrupts = <125>; interrupts = <125>;
ti,spi-num-cs = <2>; ti,spi-num-cs = <2>;
ti,hwmods = "spi1"; ti,hwmods = "spi1";
dmas = <&edma 42 0 dmas = <&edma 42
&edma 43 0 &edma 43
&edma 44 0 &edma 44
&edma 45 0>; &edma 45>;
dma-names = "tx0", "rx0", "tx1", "rx1"; dma-names = "tx0", "rx0", "tx1", "rx1";
status = "disabled"; status = "disabled";
}; };
...@@ -873,7 +831,7 @@ sham: sham@53100000 { ...@@ -873,7 +831,7 @@ sham: sham@53100000 {
ti,hwmods = "sham"; ti,hwmods = "sham";
reg = <0x53100000 0x200>; reg = <0x53100000 0x200>;
interrupts = <109>; interrupts = <109>;
dmas = <&edma 36 0>; dmas = <&edma 36>;
dma-names = "rx"; dma-names = "rx";
}; };
...@@ -882,8 +840,8 @@ aes: aes@53500000 { ...@@ -882,8 +840,8 @@ aes: aes@53500000 {
ti,hwmods = "aes"; ti,hwmods = "aes";
reg = <0x53500000 0xa0>; reg = <0x53500000 0xa0>;
interrupts = <103>; interrupts = <103>;
dmas = <&edma 6 0>, dmas = <&edma 6>,
<&edma 5 0>; <&edma 5>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
}; };
...@@ -896,8 +854,8 @@ mcasp0: mcasp@48038000 { ...@@ -896,8 +854,8 @@ mcasp0: mcasp@48038000 {
interrupts = <80>, <81>; interrupts = <80>, <81>;
interrupt-names = "tx", "rx"; interrupt-names = "tx", "rx";
status = "disabled"; status = "disabled";
dmas = <&edma 8 2>, dmas = <&edma 8>,
<&edma 9 2>; <&edma 9>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
}; };
...@@ -910,8 +868,8 @@ mcasp1: mcasp@4803C000 { ...@@ -910,8 +868,8 @@ mcasp1: mcasp@4803C000 {
interrupts = <82>, <83>; interrupts = <82>, <83>;
interrupt-names = "tx", "rx"; interrupt-names = "tx", "rx";
status = "disabled"; status = "disabled";
dmas = <&edma 10 2>, dmas = <&edma 10>,
<&edma 11 2>; <&edma 11>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment