2013-06-06 19:20:40 -06:00
|
|
|
* Freescale low power universal asynchronous receiver/transmitter (lpuart)
|
|
|
|
|
|
|
|
Required properties:
|
2014-07-14 03:41:10 -06:00
|
|
|
- compatible :
|
|
|
|
- "fsl,vf610-lpuart" for lpuart compatible with the one integrated
|
|
|
|
on Vybrid vf610 SoC with 8-bit register organization
|
|
|
|
- "fsl,ls1021a-lpuart" for lpuart compatible with the one integrated
|
|
|
|
on LS1021A SoC with 32-bit big-endian register organization
|
2017-06-12 20:55:51 -06:00
|
|
|
- "fsl,imx7ulp-lpuart" for lpuart compatible with the one integrated
|
|
|
|
on i.MX7ULP SoC with 32-bit little-endian register organization
|
2018-12-17 08:00:51 -07:00
|
|
|
- "fsl,imx8qxp-lpuart" for lpuart compatible with the one integrated
|
|
|
|
on i.MX8QXP SoC with 32-bit little-endian register organization
|
2013-06-06 19:20:40 -06:00
|
|
|
- reg : Address and length of the register set for the device
|
|
|
|
- interrupts : Should contain uart interrupt
|
2014-02-16 22:28:08 -07:00
|
|
|
- clocks : phandle + clock specifier pairs, one for each entry in clock-names
|
2019-07-04 07:43:55 -06:00
|
|
|
- clock-names : For vf610/ls1021a/imx7ulp, "ipg" clock is for uart bus/baud
|
|
|
|
clock. For imx8qxp lpuart, "ipg" clock is bus clock that is used to access
|
|
|
|
lpuart controller registers, it also requires "baud" clock for module to
|
|
|
|
receive/transmit data.
|
2013-06-06 19:20:40 -06:00
|
|
|
|
2014-02-16 22:28:07 -07:00
|
|
|
Optional properties:
|
|
|
|
- dmas: A list of two dma specifiers, one for each entry in dma-names.
|
|
|
|
- dma-names: should contain "tx" and "rx".
|
2017-11-24 15:26:40 -07:00
|
|
|
- rs485-rts-delay, rs485-rts-active-low, rs485-rx-during-tx,
|
|
|
|
linux,rs485-enabled-at-boot-time: see rs485.txt
|
2014-02-16 22:28:07 -07:00
|
|
|
|
|
|
|
Note: Optional properties for DMA support. Write them both or both not.
|
|
|
|
|
2013-06-06 19:20:40 -06:00
|
|
|
Example:
|
|
|
|
|
|
|
|
uart0: serial@40027000 {
|
2014-02-16 22:28:07 -07:00
|
|
|
compatible = "fsl,vf610-lpuart";
|
|
|
|
reg = <0x40027000 0x1000>;
|
|
|
|
interrupts = <0 61 0x00>;
|
2014-02-16 22:28:08 -07:00
|
|
|
clocks = <&clks VF610_CLK_UART0>;
|
|
|
|
clock-names = "ipg";
|
2014-02-16 22:28:07 -07:00
|
|
|
dmas = <&edma0 0 2>,
|
|
|
|
<&edma0 0 3>;
|
|
|
|
dma-names = "rx","tx";
|
|
|
|
};
|