arch: stm32f4/f7/l4: Add usb maximum speed defines to dts fixup

Add CONFIG_USB_MAXIMUM_SPEED defines to dts fixup files.

Signed-off-by: Yannis Damigos <giannis.damigos@gmail.com>
This commit is contained in:
Yannis Damigos 2018-07-21 15:49:53 +03:00 committed by Kumar Gala
commit 1c4f22edaf
3 changed files with 5 additions and 0 deletions

View file

@ -89,6 +89,7 @@
#define CONFIG_USB_IRQ_PRI ST_STM32_OTGFS_50000000_IRQ_OTGFS_PRIORITY
#define CONFIG_USB_NUM_BIDIR_ENDPOINTS ST_STM32_OTGFS_50000000_NUM_BIDIR_ENDPOINTS
#define CONFIG_USB_RAM_SIZE ST_STM32_OTGFS_50000000_RAM_SIZE
#define CONFIG_USB_MAXIMUM_SPEED ST_STM32_OTGFS_50000000_MAXIMUM_SPEED
#endif /* ST_STM32_OTGFS_50000000_BASE_ADDRESS */
#ifdef ST_STM32_OTGHS_40040000_BASE_ADDRESS
@ -97,6 +98,7 @@
#define CONFIG_USB_IRQ_PRI ST_STM32_OTGHS_40040000_IRQ_OTGHS_PRIORITY
#define CONFIG_USB_NUM_BIDIR_ENDPOINTS ST_STM32_OTGHS_40040000_NUM_BIDIR_ENDPOINTS
#define CONFIG_USB_RAM_SIZE ST_STM32_OTGHS_40040000_RAM_SIZE
#define CONFIG_USB_MAXIMUM_SPEED ST_STM32_OTGHS_40040000_MAXIMUM_SPEED
#endif /* ST_STM32_OTGHS_40040000_BASE_ADDRESS */
#define CONFIG_PWM_STM32_1_DEV_NAME ST_STM32_PWM_40010000_PWM_LABEL

View file

@ -80,6 +80,7 @@
#define CONFIG_USB_IRQ_PRI ST_STM32_OTGFS_50000000_IRQ_OTGFS_PRIORITY
#define CONFIG_USB_NUM_BIDIR_ENDPOINTS ST_STM32_OTGFS_50000000_NUM_BIDIR_ENDPOINTS
#define CONFIG_USB_RAM_SIZE ST_STM32_OTGFS_50000000_RAM_SIZE
#define CONFIG_USB_MAXIMUM_SPEED ST_STM32_OTGFS_50000000_MAXIMUM_SPEED
#endif /* ST_STM32_OTGFS_50000000_BASE_ADDRESS */
#ifdef ST_STM32_OTGHS_40040000_BASE_ADDRESS
@ -88,6 +89,7 @@
#define CONFIG_USB_IRQ_PRI ST_STM32_OTGHS_40040000_IRQ_OTGHS_PRIORITY
#define CONFIG_USB_NUM_BIDIR_ENDPOINTS ST_STM32_OTGHS_40040000_NUM_BIDIR_ENDPOINTS
#define CONFIG_USB_RAM_SIZE ST_STM32_OTGHS_40040000_RAM_SIZE
#define CONFIG_USB_MAXIMUM_SPEED ST_STM32_OTGHS_40040000_MAXIMUM_SPEED
#endif /* ST_STM32_OTGHS_40040000_BASE_ADDRESS */
#define CONFIG_PWM_STM32_1_DEV_NAME ST_STM32_PWM_40010000_PWM_LABEL

View file

@ -108,6 +108,7 @@
#define CONFIG_USB_IRQ_PRI ST_STM32_OTGFS_50000000_IRQ_OTGFS_PRIORITY
#define CONFIG_USB_NUM_BIDIR_ENDPOINTS ST_STM32_OTGFS_50000000_NUM_BIDIR_ENDPOINTS
#define CONFIG_USB_RAM_SIZE ST_STM32_OTGFS_50000000_RAM_SIZE
#define CONFIG_USB_MAXIMUM_SPEED ST_STM32_OTGFS_50000000_MAXIMUM_SPEED
#endif
#define CONFIG_PWM_STM32_1_DEV_NAME ST_STM32_PWM_40012C00_PWM_LABEL