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:
parent
fce0b85eca
commit
c4e188cff3
|
@ -88,3 +88,8 @@
|
|||
zephyr,ocm = &ocram;
|
||||
};
|
||||
};
|
||||
|
||||
zephyr_udc0: &usb1 {
|
||||
compatible = "snps,dwc2";
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue