Jingchang Lu | c9e2e94 | 2013-06-07 09:20:40 +0800 | [diff] [blame] | 1 | * Freescale low power universal asynchronous receiver/transmitter (lpuart) |
| 2 | |
| 3 | Required properties: |
Jingchang Lu | 876496b | 2014-07-14 17:41:10 +0800 | [diff] [blame] | 4 | - compatible : |
| 5 | - "fsl,vf610-lpuart" for lpuart compatible with the one integrated |
| 6 | on Vybrid vf610 SoC with 8-bit register organization |
| 7 | - "fsl,ls1021a-lpuart" for lpuart compatible with the one integrated |
| 8 | on LS1021A SoC with 32-bit big-endian register organization |
Dong Aisheng | f2422fe | 2017-06-13 10:55:51 +0800 | [diff] [blame] | 9 | - "fsl,imx7ulp-lpuart" for lpuart compatible with the one integrated |
| 10 | on i.MX7ULP SoC with 32-bit little-endian register organization |
Jingchang Lu | c9e2e94 | 2013-06-07 09:20:40 +0800 | [diff] [blame] | 11 | - reg : Address and length of the register set for the device |
| 12 | - interrupts : Should contain uart interrupt |
Yuan Yao | 12f2878 | 2014-02-17 13:28:08 +0800 | [diff] [blame] | 13 | - clocks : phandle + clock specifier pairs, one for each entry in clock-names |
| 14 | - clock-names : should contain: "ipg" - the uart clock |
Jingchang Lu | c9e2e94 | 2013-06-07 09:20:40 +0800 | [diff] [blame] | 15 | |
Yuan Yao | f1cd8c8 | 2014-02-17 13:28:07 +0800 | [diff] [blame] | 16 | Optional properties: |
| 17 | - dmas: A list of two dma specifiers, one for each entry in dma-names. |
| 18 | - dma-names: should contain "tx" and "rx". |
| 19 | |
| 20 | Note: Optional properties for DMA support. Write them both or both not. |
| 21 | |
Jingchang Lu | c9e2e94 | 2013-06-07 09:20:40 +0800 | [diff] [blame] | 22 | Example: |
| 23 | |
| 24 | uart0: serial@40027000 { |
Yuan Yao | f1cd8c8 | 2014-02-17 13:28:07 +0800 | [diff] [blame] | 25 | compatible = "fsl,vf610-lpuart"; |
| 26 | reg = <0x40027000 0x1000>; |
| 27 | interrupts = <0 61 0x00>; |
Yuan Yao | 12f2878 | 2014-02-17 13:28:08 +0800 | [diff] [blame] | 28 | clocks = <&clks VF610_CLK_UART0>; |
| 29 | clock-names = "ipg"; |
Yuan Yao | f1cd8c8 | 2014-02-17 13:28:07 +0800 | [diff] [blame] | 30 | dmas = <&edma0 0 2>, |
| 31 | <&edma0 0 3>; |
| 32 | dma-names = "rx","tx"; |
| 33 | }; |