From: Nicolas Ferre <[email protected]>

Use DMA for USART0 (which is used as ttyS1) as we have enough channels and to
show how to specify DMA use with serial nodes.

Signed-off-by: Nicolas Ferre <[email protected]>
Signed-off-by: Claudiu Beznea <[email protected]>
---
 arch/arm/boot/dts/at91sam9x5ek.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi 
b/arch/arm/boot/dts/at91sam9x5ek.dtsi
index 9d2bbc41a7b0..a85eb51e6aa8 100644
--- a/arch/arm/boot/dts/at91sam9x5ek.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5ek.dtsi
@@ -50,6 +50,8 @@
                        };
 
                        usart0: serial@f801c000 {
+                               atmel,use-dma-rx;
+                               atmel,use-dma-tx;
                                status = "okay";
                        };
 
-- 
2.7.4

Reply via email to