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@st.com>
10 title: STMicroelectronics STM32 USART bindings
35 description: label associated with this uart
38 description: enable hardware flow control (deprecated)
39 $ref: /schemas/types.yaml#/definitions/flag
53 # cts-gpios and rts-gpios properties can be used instead of 'uart-has-rtscts'
54 # or 'st,hw-flow-ctrl' (deprecated) for making use of any gpio pins for flow
55 # control instead of dedicated pins.
57 # It should be noted that both cts-gpios/rts-gpios and 'uart-has-rtscts' or
58 # 'st,hw-flow-ctrl' (deprecated) properties cannot co-exist in a design.
65 rs485-rts-active-low: true
66 linux,rs485-enabled-at-boot-time: true
67 rs485-rx-during-tx: true
88 #include <dt-bindings/clock/stm32mp1-clks.h>
89 usart1: serial@40011000 {
90 compatible = "st,stm32-uart";
91 reg = <0x40011000 0x400>;
93 clocks = <&rcc 0 164>;
94 dmas = <&dma2 2 4 0x414 0x0>,
95 <&dma2 7 4 0x414 0x0>;
96 dma-names = "rx", "tx";