Skip to content

Commit 9a2ae1c

Browse files
billwatersiiicfriedt
authored andcommitted
samples: drivers: uart: async_api: Add board overlay
Add overlay file for these boards: - cy8cproto_062_4343w - cy8cproto_063_ble - cyw920829m2evk_02 Signed-off-by: Bill Waters <[email protected]>
1 parent 0f0ae97 commit 9a2ae1c

File tree

4 files changed

+67
-0
lines changed

4 files changed

+67
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
&dma0 {
2+
#address-cells = <1>;
3+
#size-cells = <0>;
4+
compatible = "infineon,cat1-dma";
5+
status = "okay";
6+
};
7+
8+
&p6_1_scb3_uart_tx {
9+
drive-push-pull;
10+
};
11+
12+
&p6_0_scb3_uart_rx {
13+
input-enable;
14+
};
15+
16+
17+
dut: &scb3 {
18+
compatible = "infineon,cat1-uart";
19+
status = "okay";
20+
current-speed = <115200>;
21+
22+
pinctrl-0 = <&p6_1_scb3_uart_tx &p6_0_scb3_uart_rx>;
23+
pinctrl-names = "default";
24+
25+
dmas = <&dma0 22>, <&dma0 23>;
26+
dma-names = "tx", "rx";
27+
};
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
&dma0 {
2+
#address-cells = <1>;
3+
#size-cells = <0>;
4+
compatible = "infineon,cat1-dma";
5+
status = "okay";
6+
};
7+
8+
dut: &scb5 {
9+
dmas = <&dma0 22>, <&dma0 23>;
10+
dma-names = "tx", "rx";
11+
};
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
CONFIG_TEST_USERSPACE=n
2+
CONFIG_DMA=y
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
&dma0 {
2+
#address-cells = <1>;
3+
#size-cells = <0>;
4+
compatible = "infineon,cat1-dma";
5+
6+
status = "okay";
7+
};
8+
9+
dut: &scb1 {
10+
compatible = "infineon,cat1-uart";
11+
status = "okay";
12+
current-speed = <115200>;
13+
14+
dmas = <&dma0 6>, <&dma0 7>;
15+
dma-names = "tx", "rx";
16+
17+
pinctrl-0 = <&p1_3_scb1_uart_tx &p1_2_scb1_uart_rx>;
18+
pinctrl-names = "default";
19+
};
20+
21+
&p1_3_scb1_uart_tx {
22+
drive-push-pull;
23+
};
24+
25+
&p1_2_scb1_uart_rx {
26+
input-enable;
27+
};

0 commit comments

Comments
 (0)