Skip to content

Commit

Permalink
tests: drivers: uart: nrf54h20: Add clock-enable to TX pin
Browse files Browse the repository at this point in the history
Add nordic,clock-enable property to UART TX pin when necessary.
Slow UARTE instance require clock pin enabling for UART TX.

Signed-off-by: Krzysztof Chruściński <[email protected]>
  • Loading branch information
nordic-krch committed Jul 19, 2024
1 parent 5b078e4 commit b534b84
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@
&pinctrl {
uart135_default_alt: uart135_default_alt {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 6)>,
<NRF_PSEL(UART_RX, 0, 7)>,
psels = <NRF_PSEL(UART_TX, 0, 6)>;
nordic,clock-enable;
};
group2 {
psels = <NRF_PSEL(UART_RX, 0, 7)>,
<NRF_PSEL(UART_RTS, 0, 8)>,
<NRF_PSEL(UART_CTS, 0, 9)>;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
};
group2 {
psels = <NRF_PSEL(UART_TX, 0, 6)>;
nordic,clock-enable;
};
};

Expand Down Expand Up @@ -40,6 +41,7 @@ dut: &uart135 {
};
group2 {
psels = <NRF_PSEL(UART_TX, 0, 8)>;
nordic,clock-enable;
};
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
uart137_default_alt: uart137_default_alt {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 7)>;
nordic,clock-enable;
};
group2 {
psels =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@
&pinctrl {
uart135_default_alt: uart135_default_alt {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 6)>,
<NRF_PSEL(UART_RX, 0, 7)>;
psels = <NRF_PSEL(UART_TX, 0, 6)>;
nordic,clock-enable;
};
group2 {
psels = <NRF_PSEL(UART_RX, 0, 7)>;
};
};

Expand Down

0 comments on commit b534b84

Please sign in to comment.