zephyr/dts/arm/silabs/efr32xg13p-pinctrl.dtsi
Yonatan Schachter cb297ae3bf pinctrl: silabs: Added default pinctrl for efr32xg13p
Added a default pinctrl for the efr32xg13p device.

Signed-off-by: Yonatan Schachter <yonatan.schachter@gmail.com>
2023-09-18 12:55:40 +02:00

24 lines
481 B
Plaintext

/*
* Copyright (c) 2022 Silicon Labs
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <dt-bindings/pinctrl/gecko-pinctrl-s1.h>
&pinctrl {
/* configuration for uart0 device, default state */
usart0_default: usart0_default {
group1 {
/* configure PA.1 as UART_RX */
psels = <GECKO_PSEL(UART_RX, A, 1)>,
<GECKO_LOC(UART_RX, 0)>;
};
group2 {
/* configure PA.0 as UART_TX */
psels = <GECKO_PSEL(UART_TX, A, 0)>,
<GECKO_LOC(UART_TX, 0)>;
};
};
};