boards: silabs: efr32_radio: Remove duplicate usart0 definition
In the <board>.dts file, the definition for usart0 was found to be redundant as the same information is already provided in the included .dtsi file. this commit removes the duplicate definition of usart0, resulting in a cleaner and more maintainable device tree configuration. Signed-off-by: Arunmani Alagarsamy <arunmani.a@capgemini.com>
This commit is contained in:
parent
b2e235d530
commit
b116bc7da0
3 changed files with 0 additions and 39 deletions
|
@ -6,7 +6,6 @@
|
|||
|
||||
/dts-v1/;
|
||||
#include <silabs/efr32mg12p432f1024gl125.dtsi>
|
||||
#include <silabs/efr32xg12p-pinctrl.dtsi>
|
||||
#include "efr32_radio.dtsi"
|
||||
|
||||
/ {
|
||||
|
@ -73,13 +72,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
&usart0 {
|
||||
current-speed = <115200>;
|
||||
pinctrl-0 = <&usart0_default>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
pinctrl-0 = <&i2c0_default>;
|
||||
pinctrl-names = "default";
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
|
||||
/dts-v1/;
|
||||
#include <silabs/efr32mg12p433f1024gm68.dtsi>
|
||||
#include <silabs/efr32xg12p-pinctrl.dtsi>
|
||||
#include "efr32_radio.dtsi"
|
||||
|
||||
/ {
|
||||
|
@ -61,10 +60,3 @@
|
|||
|
||||
};
|
||||
};
|
||||
|
||||
&usart0 {
|
||||
current-speed = <115200>;
|
||||
pinctrl-0 = <&usart0_default>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
/*
|
||||
* 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)>;
|
||||
};
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue