Skip to content

Commit 7bc9234

Browse files
npal-cynashif
authored andcommitted
boards: CYW920829M2EVK-02: enable hw-flow-control for uart2
- enable hw-flow-control for uart2 - added p3_0_scb2_uart_cts, p3_1_scb2_uart_rts in **-pinctrl.dtsi Signed-off-by: Nazar Palamar <[email protected]>
1 parent 6e56de3 commit 7bc9234

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

boards/infineon/cyw920829m2evk_02/cyw920829m2evk_02-pinctrl.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,11 @@
1111
&p3_2_scb2_uart_rx {
1212
input-enable;
1313
};
14+
15+
&p3_1_scb2_uart_rts {
16+
drive-push-pull;
17+
};
18+
19+
&p3_0_scb2_uart_cts {
20+
input-enable;
21+
};

boards/infineon/cyw920829m2evk_02/cyw920829m2evk_02.dts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ uart2: &scb2 {
3434
compatible = "infineon,cat1-uart";
3535
status = "okay";
3636
current-speed = <115200>;
37+
hw-flow-control;
3738

38-
pinctrl-0 = <&p3_3_scb2_uart_tx &p3_2_scb2_uart_rx>;
39+
pinctrl-0 = <&p3_3_scb2_uart_tx &p3_2_scb2_uart_rx &p3_1_scb2_uart_rts &p3_0_scb2_uart_cts>;
3940
pinctrl-names = "default";
4041
};
4142

0 commit comments

Comments
 (0)