Lines Matching +full:uart +full:- +full:tx
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
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>
15 - st,stm32-uart
16 - st,stm32f7-uart
17 - st,stm32h7-uart
32 description: label associated with this uart
34 st,hw-flow-ctrl:
38 rx-tx-swap: true
44 dma-names:
46 enum: [ rx, tx ]
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
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.
56 cts-gpios: true
57 rts-gpios: true
59 wakeup-source: true
61 rx-threshold:
67 tx-threshold:
69 If value is set to 1, TX FIFO threshold is disabled.
74 - $ref: rs485.yaml#
75 - $ref: serial.yaml#
76 - if:
78 - st,hw-flow-ctrl
81 cts-gpios: false
82 rts-gpios: false
83 - if:
86 const: st,stm32-uart
89 rx-tx-swap: false
90 - if:
95 - st,stm32-uart
96 - st,stm32f7-uart
99 rx-threshold: false
100 tx-threshold: false
103 - compatible
104 - reg
105 - interrupts
106 - clocks
111 - |
112 #include <dt-bindings/clock/stm32mp1-clks.h>
114 compatible = "st,stm32h7-uart";
120 dma-names = "rx", "tx";
121 rx-threshold = <4>;
122 tx-threshold = <4>;
123 rs485-rts-active-low;