drivers/usb: usb_dc_stm32: Convert to DT_INST
Convert usb_stm32 driver to use of DT_INST macros. Since driver is compatible with 3 different dt compatibles and compatible string is included in DT_INST macros, I've kept the DT_USB_ compatible agnostic macros based on DT_INST ones, which allowed to remove fixup definitions. Use of DT_USB symbols is now limited to usb_dc_stm32. Additionally, compatible "st,stm32-otgfs" is removed from list of compatibles for usbotg_hs ips. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
6275513051
commit
9367c6ad3f
14 changed files with 51 additions and 139 deletions
|
@ -163,7 +163,7 @@
|
|||
};
|
||||
|
||||
usbotg_hs: usb@40040000 {
|
||||
compatible = "st,stm32-otghs", "st,stm32-otgfs";
|
||||
compatible = "st,stm32-otghs";
|
||||
reg = <0x40040000 0x40000>;
|
||||
interrupts = <77 0>, <74 0>, <75 0>;
|
||||
interrupt-names = "otghs", "ep1_out", "ep1_in";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue