soc: riscv: esp32c3: 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:58:44 -03:00 committed by Christopher Friedt
parent ae345cbac4
commit dd04a328cf
2 changed files with 3 additions and 6 deletions

View file

@ -40,8 +40,8 @@
&uart0 {
status = "okay";
current-speed = <115200>;
tx-pin = <2>;
rx-pin = <3>;
tx-pin = <21>;
rx-pin = <20>;
};
&i2c0 {

View file

@ -116,13 +116,10 @@
compatible = "espressif,esp32-uart";
reg = <0x60000000 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 = <21>;
rx-pin = <20>;
};
uart1: uart@60010000 {