mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
f2422fe437
The lpuart of imx7ulp is basically the same as ls1021a. It's also 32 bit width register, but unlike ls1021a, it's little endian. Besides that, imx7ulp lpuart has a minor different register layout from ls1021a. Cc: devicetree@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jiri Slaby <jslaby@suse.com> Cc: Stefan Agner <stefan@agner.ch> Cc: Mingkai Hu <Mingkai.Hu@nxp.com> Cc: Yangbo Lu <yangbo.lu@nxp.com> Acked-by: Rob Herring <robh@kernel.org> Acked-by: Fugang Duan <fugang.duan@nxp.com> Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
* Freescale low power universal asynchronous receiver/transmitter (lpuart)
|
|
|
|
Required properties:
|
|
- 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
|
|
- "fsl,imx7ulp-lpuart" for lpuart compatible with the one integrated
|
|
on i.MX7ULP SoC with 32-bit little-endian register organization
|
|
- reg : Address and length of the register set for the device
|
|
- interrupts : Should contain uart interrupt
|
|
- clocks : phandle + clock specifier pairs, one for each entry in clock-names
|
|
- clock-names : should contain: "ipg" - the uart clock
|
|
|
|
Optional properties:
|
|
- dmas: A list of two dma specifiers, one for each entry in dma-names.
|
|
- dma-names: should contain "tx" and "rx".
|
|
|
|
Note: Optional properties for DMA support. Write them both or both not.
|
|
|
|
Example:
|
|
|
|
uart0: serial@40027000 {
|
|
compatible = "fsl,vf610-lpuart";
|
|
reg = <0x40027000 0x1000>;
|
|
interrupts = <0 61 0x00>;
|
|
clocks = <&clks VF610_CLK_UART0>;
|
|
clock-names = "ipg";
|
|
dmas = <&edma0 0 2>,
|
|
<&edma0 0 3>;
|
|
dma-names = "rx","tx";
|
|
};
|