diff options
author | Vinod Koul <vinod.koul@intel.com> | 2015-11-02 10:35:29 -0500 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-11-02 10:35:29 -0500 |
commit | b1c4e98296d2f08e3fcc9aab0c1103e0bc05d9f3 (patch) | |
tree | 897891fe2ebfa1ded748d04b0cc7fe1498280e62 | |
parent | 926a3ffe346a2e47fe35ace004cbea52587688eb (diff) |
Revert "ARM: DTS: am437x: Use the new DT bindings for the eDMA3"
This reverts commit e3faf2b8826b8ac58cdaad7f801e59e389320f0e as it causes
regression in BBB
Reported-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
-rw-r--r-- | arch/arm/boot/dts/am4372.dtsi | 82 | ||||
-rw-r--r-- | arch/arm/boot/dts/am437x-gp-evm.dts | 9 |
2 files changed, 27 insertions, 64 deletions
diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index 461548ed69fd..0447c04a40cc 100644 --- a/arch/arm/boot/dts/am4372.dtsi +++ b/arch/arm/boot/dts/am4372.dtsi | |||
@@ -183,56 +183,14 @@ | |||
183 | }; | 183 | }; |
184 | 184 | ||
185 | edma: edma@49000000 { | 185 | edma: edma@49000000 { |
186 | compatible = "ti,edma3-tpcc"; | 186 | compatible = "ti,edma3"; |
187 | ti,hwmods = "tpcc"; | 187 | ti,hwmods = "tpcc", "tptc0", "tptc1", "tptc2"; |
188 | reg = <0x49000000 0x10000>; | 188 | reg = <0x49000000 0x10000>, |
189 | reg-names = "edma3_cc"; | 189 | <0x44e10f90 0x10>; |
190 | interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, | 190 | interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, |
191 | <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>, | 191 | <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>, |
192 | <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; | 192 | <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; |
193 | interrupt-names = "edma3_ccint", "emda3_mperr", | 193 | #dma-cells = <1>; |
194 | "edma3_ccerrint"; | ||
195 | dma-requests = <64>; | ||
196 | #dma-cells = <2>; | ||
197 | |||
198 | ti,tptcs = <&edma_tptc0 7>, <&edma_tptc1 5>, | ||
199 | <&edma_tptc2 0>; | ||
200 | |||
201 | ti,edma-memcpy-channels = /bits/ 16 <32 33>; | ||
202 | }; | ||
203 | |||
204 | edma_tptc0: tptc@49800000 { | ||
205 | compatible = "ti,edma3-tptc"; | ||
206 | ti,hwmods = "tptc0"; | ||
207 | reg = <0x49800000 0x100000>; | ||
208 | interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>; | ||
209 | interrupt-names = "edma3_tcerrint"; | ||
210 | }; | ||
211 | |||
212 | edma_tptc1: tptc@49900000 { | ||
213 | compatible = "ti,edma3-tptc"; | ||
214 | ti,hwmods = "tptc1"; | ||
215 | reg = <0x49900000 0x100000>; | ||
216 | interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>; | ||
217 | interrupt-names = "edma3_tcerrint"; | ||
218 | }; | ||
219 | |||
220 | edma_tptc2: tptc@49a00000 { | ||
221 | compatible = "ti,edma3-tptc"; | ||
222 | ti,hwmods = "tptc2"; | ||
223 | reg = <0x49a00000 0x100000>; | ||
224 | interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>; | ||
225 | interrupt-names = "edma3_tcerrint"; | ||
226 | }; | ||
227 | |||
228 | edma_xbar: dma-router@44e10f90 { | ||
229 | compatible = "ti,am335x-edma-crossbar"; | ||
230 | reg = <0x44e10f90 0x40>; | ||
231 | |||
232 | #dma-cells = <3>; | ||
233 | dma-requests = <64>; | ||
234 | |||
235 | dma-masters = <&edma>; | ||
236 | }; | 194 | }; |
237 | 195 | ||
238 | uart0: serial@44e09000 { | 196 | uart0: serial@44e09000 { |
@@ -537,8 +495,8 @@ | |||
537 | ti,hwmods = "mmc1"; | 495 | ti,hwmods = "mmc1"; |
538 | ti,dual-volt; | 496 | ti,dual-volt; |
539 | ti,needs-special-reset; | 497 | ti,needs-special-reset; |
540 | dmas = <&edma 24 0>, | 498 | dmas = <&edma 24 |
541 | <&edma 25 0>; | 499 | &edma 25>; |
542 | dma-names = "tx", "rx"; | 500 | dma-names = "tx", "rx"; |
543 | interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>; | 501 | interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>; |
544 | status = "disabled"; | 502 | status = "disabled"; |
@@ -549,8 +507,8 @@ | |||
549 | reg = <0x481d8000 0x1000>; | 507 | reg = <0x481d8000 0x1000>; |
550 | ti,hwmods = "mmc2"; | 508 | ti,hwmods = "mmc2"; |
551 | ti,needs-special-reset; | 509 | ti,needs-special-reset; |
552 | dmas = <&edma 2 0>, | 510 | dmas = <&edma 2 |
553 | <&edma 3 0>; | 511 | &edma 3>; |
554 | dma-names = "tx", "rx"; | 512 | dma-names = "tx", "rx"; |
555 | interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; | 513 | interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>; |
556 | status = "disabled"; | 514 | status = "disabled"; |
@@ -817,7 +775,7 @@ | |||
817 | compatible = "ti,omap5-sham"; | 775 | compatible = "ti,omap5-sham"; |
818 | ti,hwmods = "sham"; | 776 | ti,hwmods = "sham"; |
819 | reg = <0x53100000 0x300>; | 777 | reg = <0x53100000 0x300>; |
820 | dmas = <&edma 36 0>; | 778 | dmas = <&edma 36>; |
821 | dma-names = "rx"; | 779 | dma-names = "rx"; |
822 | interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; | 780 | interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; |
823 | }; | 781 | }; |
@@ -827,8 +785,8 @@ | |||
827 | ti,hwmods = "aes"; | 785 | ti,hwmods = "aes"; |
828 | reg = <0x53501000 0xa0>; | 786 | reg = <0x53501000 0xa0>; |
829 | interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; | 787 | interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; |
830 | dmas = <&edma 6 0>, | 788 | dmas = <&edma 6 |
831 | <&edma 5 0>; | 789 | &edma 5>; |
832 | dma-names = "tx", "rx"; | 790 | dma-names = "tx", "rx"; |
833 | }; | 791 | }; |
834 | 792 | ||
@@ -837,8 +795,8 @@ | |||
837 | ti,hwmods = "des"; | 795 | ti,hwmods = "des"; |
838 | reg = <0x53701000 0xa0>; | 796 | reg = <0x53701000 0xa0>; |
839 | interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>; | 797 | interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>; |
840 | dmas = <&edma 34 0>, | 798 | dmas = <&edma 34 |
841 | <&edma 33 0>; | 799 | &edma 33>; |
842 | dma-names = "tx", "rx"; | 800 | dma-names = "tx", "rx"; |
843 | }; | 801 | }; |
844 | 802 | ||
@@ -851,8 +809,8 @@ | |||
851 | interrupts = <80>, <81>; | 809 | interrupts = <80>, <81>; |
852 | interrupt-names = "tx", "rx"; | 810 | interrupt-names = "tx", "rx"; |
853 | status = "disabled"; | 811 | status = "disabled"; |
854 | dmas = <&edma 8 2>, | 812 | dmas = <&edma 8>, |
855 | <&edma 9 2>; | 813 | <&edma 9>; |
856 | dma-names = "tx", "rx"; | 814 | dma-names = "tx", "rx"; |
857 | }; | 815 | }; |
858 | 816 | ||
@@ -865,8 +823,8 @@ | |||
865 | interrupts = <82>, <83>; | 823 | interrupts = <82>, <83>; |
866 | interrupt-names = "tx", "rx"; | 824 | interrupt-names = "tx", "rx"; |
867 | status = "disabled"; | 825 | status = "disabled"; |
868 | dmas = <&edma 10 2>, | 826 | dmas = <&edma 10>, |
869 | <&edma 11 2>; | 827 | <&edma 11>; |
870 | dma-names = "tx", "rx"; | 828 | dma-names = "tx", "rx"; |
871 | }; | 829 | }; |
872 | 830 | ||
diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts index 28e3b252c08c..22038f21f228 100644 --- a/arch/arm/boot/dts/am437x-gp-evm.dts +++ b/arch/arm/boot/dts/am437x-gp-evm.dts | |||
@@ -711,8 +711,8 @@ | |||
711 | status = "okay"; | 711 | status = "okay"; |
712 | /* these are on the crossbar and are outlined in the | 712 | /* these are on the crossbar and are outlined in the |
713 | xbar-event-map element */ | 713 | xbar-event-map element */ |
714 | dmas = <&edma_xbar 30 0 1>, | 714 | dmas = <&edma 30 |
715 | <&edma_xbar 31 0 2>; | 715 | &edma 31>; |
716 | dma-names = "tx", "rx"; | 716 | dma-names = "tx", "rx"; |
717 | vmmc-supply = <&vmmcwl_fixed>; | 717 | vmmc-supply = <&vmmcwl_fixed>; |
718 | bus-width = <4>; | 718 | bus-width = <4>; |
@@ -733,6 +733,11 @@ | |||
733 | }; | 733 | }; |
734 | }; | 734 | }; |
735 | 735 | ||
736 | &edma { | ||
737 | ti,edma-xbar-event-map = /bits/ 16 <1 30 | ||
738 | 2 31>; | ||
739 | }; | ||
740 | |||
736 | &uart3 { | 741 | &uart3 { |
737 | status = "okay"; | 742 | status = "okay"; |
738 | pinctrl-names = "default"; | 743 | pinctrl-names = "default"; |