drivers: usb: usb_dw: convert to DT_INST defines

Convert driver to use DT_INST_ defines.  The preferred defines for
drivers are DT_INST_.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2020-02-13 13:04:37 -06:00 committed by Kumar Gala
commit 0c7a5fdf1c
3 changed files with 8 additions and 18 deletions

View file

@ -75,16 +75,4 @@
#define DT_PINMUX_CTRL_REG_COUNT \
(DT_INTEL_S1000_PINMUX_81C30_SIZE / 4)
/*
* USB configuration
*/
#define DT_USB_DW_0_BASE_ADDRESS \
DT_SNPS_DESIGNWARE_USB_A0000_BASE_ADDRESS
#define DT_USB_DW_0_NAME DT_SNPS_DESIGNWARE_USB_A0000_LABEL
#define DT_USB_DW_0_IRQ DT_SNPS_DESIGNWARE_USB_A0000_IRQ_0
#define DT_USB_DW_0_IRQ_PRI \
DT_SNPS_DESIGNWARE_USB_A0000_IRQ_0_PRIORITY
#define DT_USB_DW_0_IRQ_FLAGS \
DT_SNPS_DESIGNWARE_USB_A0000_IRQ_0_SENSE
/* End of SoC Level DTS fixup file */