boards: cyclonev_socdk: enable USB device controller

Currently, the usb_dc_dw driver is not enabled for any platform.
Allow to build the driver for cyclonev_socdk. Subsequent patches
will allow the driver to be used on additional platforms.
Enable USB device controller and use use new snps,dwc2 compatible.

Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>
This commit is contained in:
Johann Fischer 2023-02-08 18:26:20 +01:00 committed by Fabio Baltieri
parent fce0b85eca
commit c4e188cff3
2 changed files with 7 additions and 4 deletions

View file

@ -88,3 +88,8 @@
zephyr,ocm = &ocram;
};
};
zephyr_udc0: &usb1 {
compatible = "snps,dwc2";
status = "okay";
};

View file

@ -223,20 +223,18 @@
};
usb0: usb@ffb30000 {
compatible = "snps,designware-usb";
compatible = "snps,dwc2";
reg = <0xffb30000 0xffff>;
interrupts = <0 127 4 IRQ_DEFAULT_PRIORITY>;
interrupt-parent = <&intc>;
num-bidir-endpoints = <16>;
status = "disabled";
};
usb1: usb@ffb40000 {
compatible = "snps,designware-usb";
compatible = "snps,dwc2";
reg = <0xffb40000 0xffff>;
interrupts = <0 128 4 IRQ_DEFAULT_PRIORITY>;
interrupt-parent = <&intc>;
num-bidir-endpoints = <16>;
status = "okay";
};