serial: fsl_lpuart: documented the clock requirement.
[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 - clocks : phandle + clock specifier pairs, one for each entry in clock-names
8 - clock-names : should contain: "ipg" - the uart clock
9
10 Optional properties:
11 - dmas: A list of two dma specifiers, one for each entry in dma-names.
12 - dma-names: should contain "tx" and "rx".
13
14 Note: Optional properties for DMA support. Write them both or both not.
15
16 Example:
17
18 uart0: serial@40027000 {
19                 compatible = "fsl,vf610-lpuart";
20                 reg = <0x40027000 0x1000>;
21                 interrupts = <0 61 0x00>;
22                 clocks = <&clks VF610_CLK_UART0>;
23                 clock-names = "ipg";
24                 dmas = <&edma0 0 2>,
25                         <&edma0 0 3>;
26                 dma-names = "rx","tx";
27         };