serial: fsl_lpuart: add DMA support
[cascardo/linux.git] / Documentation / devicetree / bindings / serial / fsl-lpuart.txt
1 * Freescale low power universal asynchronous receiver/transmitter (lpuart)
2
3 Required properties:
4 - compatible : Should be "fsl,<soc>-lpuart"
5 - reg : Address and length of the register set for the device
6 - interrupts : Should contain uart interrupt
7
8 Optional properties:
9 - dmas: A list of two dma specifiers, one for each entry in dma-names.
10 - dma-names: should contain "tx" and "rx".
11
12 Note: Optional properties for DMA support. Write them both or both not.
13
14 Example:
15
16 uart0: serial@40027000 {
17                 compatible = "fsl,vf610-lpuart";
18                 reg = <0x40027000 0x1000>;
19                 interrupts = <0 61 0x00>;
20                 dmas = <&edma0 0 2>,
21                         <&edma0 0 3>;
22                 dma-names = "rx","tx";
23         };