Skip to content

Commit 04c0cd9

Browse files
committed
dts: esp32s3: Added usb_otg instance
Added USB OTG peripheral at address 0x60080000 Signed-off-by: Roman Leonov <[email protected]>
1 parent 47b07e5 commit 04c0cd9

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

dts/xtensa/espressif/esp32s3/esp32s3_common.dtsi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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)