1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/serial/st,stm32-uart.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 - Erwan Le Ray <erwan.leray@foss.st.com>
10 title: STMicroelectronics STM32 USART
32 description: label associated with this uart
35 description: enable hardware flow control (deprecated)
36 $ref: /schemas/types.yaml#/definitions/flag
50 # cts-gpios and rts-gpios properties can be used instead of 'uart-has-rtscts'
51 # or 'st,hw-flow-ctrl' (deprecated) for making use of any gpio pins for flow
52 # control instead of dedicated pins.
54 # It should be noted that both cts-gpios/rts-gpios and 'uart-has-rtscts' or
55 # 'st,hw-flow-ctrl' (deprecated) properties cannot co-exist in a design.
63 If value is set to 1, RX FIFO threshold is disabled.
64 enum: [1, 2, 4, 8, 12, 14, 16]
69 If value is set to 1, TX FIFO threshold is disabled.
70 enum: [1, 2, 4, 8, 12, 14, 16]
108 unevaluatedProperties: false
112 #include <dt-bindings/clock/stm32mp1-clks.h>
113 usart1: serial@40011000 {
114 compatible = "st,stm32h7-uart";
115 reg = <0x40011000 0x400>;
117 clocks = <&rcc 0 164>;
118 dmas = <&dma2 2 4 0x414 0x0>,
119 <&dma2 7 4 0x414 0x0>;
120 dma-names = "rx", "tx";
123 rs485-rts-active-low;