7f40908e9d
This commit adds support for Silicon Labs EFR32MG24 SoC. Signed-off-by: Mateusz Sierszulski <msierszulski@antmicro.com>
20 lines
408 B
Plaintext
20 lines
408 B
Plaintext
/*
|
|
* Copyright (c) 2022 Silicon Labs
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <dt-bindings/pinctrl/gecko-pinctrl.h>
|
|
|
|
&pinctrl {
|
|
/* configuration for uart0 device, default state */
|
|
usart0_default: usart0_default {
|
|
group1 {
|
|
/* configure PA.6 as UART_RX and PA.5 as UART_TX */
|
|
psels = <GECKO_PSEL(UART_TX, A, 5)>,
|
|
<GECKO_PSEL(UART_RX, A, 6)>,
|
|
<GECKO_LOC(UART, 0)>;
|
|
};
|
|
};
|
|
};
|