Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1* Freescale low power universal asynchronous receiver/transmitter (lpuart)
2
3Required properties:
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
9 - "fsl,imx7ulp-lpuart" for lpuart compatible with the one integrated
10 on i.MX7ULP SoC with 32-bit little-endian register organization
11 - "fsl,imx8qxp-lpuart" for lpuart compatible with the one integrated
12 on i.MX8QXP SoC with 32-bit little-endian register organization
13- reg : Address and length of the register set for the device
14- interrupts : Should contain uart interrupt
15- clocks : phandle + clock specifier pairs, one for each entry in clock-names
16- clock-names : should contain: "ipg" - the uart clock
17
18Optional properties:
19- dmas: A list of two dma specifiers, one for each entry in dma-names.
20- dma-names: should contain "tx" and "rx".
21- rs485-rts-delay, rs485-rts-active-low, rs485-rx-during-tx,
22 linux,rs485-enabled-at-boot-time: see rs485.txt
23
24Note: Optional properties for DMA support. Write them both or both not.
25
26Example:
27
28uart0: serial@40027000 {
29 compatible = "fsl,vf610-lpuart";
30 reg = <0x40027000 0x1000>;
31 interrupts = <0 61 0x00>;
32 clocks = <&clks VF610_CLK_UART0>;
33 clock-names = "ipg";
34 dmas = <&edma0 0 2>,
35 <&edma0 0 3>;
36 dma-names = "rx","tx";
37 };