Skip to content

Commit 811c5eb

Browse files
Raffael Rostagnoroma-jam
authored andcommitted
dts: esp32s3: Add USB-OTG support
Add USB-OTG peripheral support to ESP32S3. Signed-off-by: Raffael Rostagno <[email protected]>
1 parent 47b07e5 commit 811c5eb

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

dts/xtensa/espressif/esp32s3/esp32s3_common.dtsi

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2022 Espressif Systems (Shanghai) Co., Ltd.
2+
* Copyright (c) 2022-2025 Espressif Systems (Shanghai) Co., Ltd.
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -405,6 +405,20 @@
405405
clocks = <&clock ESP32_USB_MODULE>;
406406
};
407407

408+
usb_otg: usb_otg@60080000 {
409+
compatible = "espressif,esp32-usb-otg", "snps,dwc2";
410+
reg = <0x60080000 DT_SIZE_K(256)>;
411+
status = "disabled";
412+
interrupts = <USB_INTR_SOURCE IRQ_DEFAULT_PRIORITY 0>;
413+
interrupt-parent = <&intc>;
414+
clocks = <&clock ESP32_USB_MODULE>;
415+
num-out-eps = <6>;
416+
num-in-eps = <6>;
417+
ghwcfg1 = <0x00000000>;
418+
ghwcfg2 = <0x224dd930>;
419+
ghwcfg4 = <0xd3f0a030>;
420+
};
421+
408422
timer0: counter@6001f000 {
409423
compatible = "espressif,esp32-timer";
410424
reg = <0x6001f000 DT_SIZE_K(4)>;

0 commit comments

Comments
 (0)