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:
parent
d8bafe47e6
commit
ae345cbac4
|
@ -31,8 +31,8 @@
|
|||
&uart0 {
|
||||
status = "okay";
|
||||
current-speed = <115200>;
|
||||
rx-pin = <5>;
|
||||
tx-pin = <6>;
|
||||
tx-pin = <43>;
|
||||
rx-pin = <44>;
|
||||
};
|
||||
|
||||
&gpio0 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue