1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/serial/fsl-imx-uart.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale i.MX Universal Asynchronous Receiver/Transmitter (UART)
10 - Fabio Estevam <festevam@gmail.com>
15 - const: fsl,imx1-uart
16 - const: fsl,imx21-uart
27 - const: fsl,imx21-uart
33 - const: fsl,imx6q-uart
34 - const: fsl,imx21-uart
43 - const: fsl,imx6q-uart
58 - description: DMA controller phandle and request line for RX
59 - description: DMA controller phandle and request line for TX
68 - description: UART RX Interrupt
69 - description: UART TX Interrupt
70 - description: UART RTS Interrupt
76 $ref: /schemas/types.yaml#/definitions/flag
78 Indicate the uart works in DTE mode. The uart works in DCE mode by default.
81 $ref: /schemas/types.yaml#/definitions/flag
83 Indicate that the hardware attached to the peripheral inverts the signal
84 transmitted, and that the peripheral should invert its output using the
88 $ref: /schemas/types.yaml#/definitions/flag
90 Indicate that the hardware attached to the peripheral inverts the signal
91 received, and that the peripheral should invert its input using the
95 $ref: /schemas/types.yaml#/definitions/uint32-array
99 First cell contains the size of DMA buffer chunks, second cell contains
100 the amount of chunks used for the device. Multiplying both numbers is
101 the total size of memory used for receiving data.
102 When not being configured the system will use default settings, which
103 are sensible for most use cases. If you need low latency processing on
104 slow connections this needs to be configured appropriately.
132 unevaluatedProperties: false
136 #include <dt-bindings/clock/imx5-clock.h>
142 uart1: serial@73fbc000 {
143 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
144 reg = <0x73fbc000 0x4000>;
146 clocks = <&clks IMX5_CLK_UART1_IPG_GATE>,
147 <&clks IMX5_CLK_UART1_PER_GATE>;
148 clock-names = "ipg", "per";
149 dmas = <&sdma 18 4 1>, <&sdma 19 4 2>;
150 dma-names = "rx", "tx";