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>
19 - const: fsl,imx1-uart
20 - const: fsl,imx21-uart
31 - const: fsl,imx21-uart
37 - const: fsl,imx6q-uart
38 - const: fsl,imx21-uart
47 - const: fsl,imx6q-uart
62 - description: DMA controller phandle and request line for RX
63 - description: DMA controller phandle and request line for TX
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.
113 unevaluatedProperties: false
117 #include <dt-bindings/clock/imx5-clock.h>
123 uart1: serial@73fbc000 {
124 compatible = "fsl,imx51-uart", "fsl,imx21-uart";
125 reg = <0x73fbc000 0x4000>;
127 clocks = <&clks IMX5_CLK_UART1_IPG_GATE>,
128 <&clks IMX5_CLK_UART1_PER_GATE>;
129 clock-names = "ipg", "per";
130 dmas = <&sdma 18 4 1>, <&sdma 19 4 2>;
131 dma-names = "rx", "tx";