soc: esp32s3: add usb serial dts interface

Enable ESP32-S3 usb-serial interface.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
This commit is contained in:
Sylvio Alves 2023-05-06 00:23:46 -03:00 committed by Carles Cufí
commit 4c66ac81fd
2 changed files with 13 additions and 0 deletions

View file

@ -46,6 +46,10 @@
clock-frequency = <ESP32_CLK_CPU_240M>; clock-frequency = <ESP32_CLK_CPU_240M>;
}; };
&usb_serial {
status = "okay";
};
&uart0 { &uart0 {
status = "okay"; status = "okay";
current-speed = <115200>; current-speed = <115200>;

View file

@ -201,6 +201,15 @@
status = "disabled"; status = "disabled";
}; };
usb_serial: uart@60038000 {
compatible = "espressif,esp32-usb-serial";
reg = <0x60038000 DT_SIZE_K(4)>;
status = "disabled";
interrupts = <USB_SERIAL_JTAG_INTR_SOURCE>;
interrupt-parent = <&intc>;
clocks = <&rtc ESP32_USB_MODULE>;
};
timer0: counter@6001f000 { timer0: counter@6001f000 {
compatible = "espressif,esp32-timer"; compatible = "espressif,esp32-timer";
reg = <0x6001f000 DT_SIZE_K(4)>; reg = <0x6001f000 DT_SIZE_K(4)>;