Juno: Enable DMA for PL011 UART.
authorLiviu Dudau <Liviu.Dudau@arm.com>
Fri, 31 Oct 2014 12:36:55 +0000 (12:36 +0000)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Fri, 31 Oct 2014 12:36:55 +0000 (12:36 +0000)
PL011 can now use DMA. TX channel is always used, RX usage depends
on the DMA engine's ability to process residual data (absent in
Juno). To cater for RX channel not being activated we als enable
to automatic polling.

Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
arch/arm64/boot/dts/juno.dts

index be5bf734846723d533931b48ba50d3b394d66665..e405426e27f5c70f5ab5a915815a83cb95c4d4e5 100644 (file)
                interrupts = <0 83 4>;
                clocks = <&soc_uartclk>, <&soc_refclk100mhz>;
                clock-names = "uartclk", "apb_pclk";
-               /* dmas = <&dma0 1
+               dmas = <&dma0 1
                        &dma0 2>;
-               dma-names = "rx", "tx"; */
+               dma-names = "rx", "tx";
+               auto-poll = <1>;
        };
 
        /* this UART is reserved for secure software.