soc: xtensa: esp32s2: dts: uart node refactoring

Not all boards use the same UART's defaults properties.

This commit updates device tree declarations by deferring
specific definitions to the board's DTS.

Signed-off-by: Glauber Maroto Ferreira <glauber.ferreira@espressif.com>
This commit is contained in:
Glauber Maroto Ferreira 2021-12-07 16:33:26 -03:00 committed by Christopher Friedt
parent d8bafe47e6
commit ae345cbac4
2 changed files with 3 additions and 6 deletions

View file

@ -31,8 +31,8 @@
&uart0 {
status = "okay";
current-speed = <115200>;
rx-pin = <5>;
tx-pin = <6>;
tx-pin = <43>;
rx-pin = <44>;
};
&gpio0 {

View file

@ -85,13 +85,10 @@
compatible = "espressif,esp32-uart";
reg = <0x3f400000 0x400>;
label = "UART_0";
status = "disabled";
interrupts = <UART0_INTR_SOURCE>;
interrupt-parent = <&intc>;
clocks = <&rtc ESP32_UART0_MODULE>;
current-speed = <115200>;
status = "okay";
tx-pin = <43>;
rx-pin = <44>;
};
uart1: uart@3f410000 {