dts/arm/st_stm32: Add timers and PWM nodes to STM32 F7 series

This patch adds timers and PWM nodes to STM32 F7 series, as well as the
corresponding dts fixup entries.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
Aurelien Jarno 2018-09-16 13:42:52 +02:00 committed by Anas Nashif
commit 335222d189
2 changed files with 252 additions and 0 deletions

View file

@ -90,4 +90,46 @@
#define CONFIG_USB_RAM_SIZE ST_STM32_OTGHS_40040000_RAM_SIZE
#endif /* ST_STM32_OTGHS_40040000_BASE_ADDRESS */
#define CONFIG_PWM_STM32_1_DEV_NAME ST_STM32_PWM_40010000_PWM_LABEL
#define CONFIG_PWM_STM32_1_PRESCALER ST_STM32_PWM_40010000_PWM_ST_PRESCALER
#define CONFIG_PWM_STM32_2_DEV_NAME ST_STM32_PWM_40000000_PWM_LABEL
#define CONFIG_PWM_STM32_2_PRESCALER ST_STM32_PWM_40000000_PWM_ST_PRESCALER
#define CONFIG_PWM_STM32_3_DEV_NAME ST_STM32_PWM_40000400_PWM_LABEL
#define CONFIG_PWM_STM32_3_PRESCALER ST_STM32_PWM_40000400_PWM_ST_PRESCALER
#define CONFIG_PWM_STM32_4_DEV_NAME ST_STM32_PWM_40000800_PWM_LABEL
#define CONFIG_PWM_STM32_4_PRESCALER ST_STM32_PWM_40000800_PWM_ST_PRESCALER
#define CONFIG_PWM_STM32_5_DEV_NAME ST_STM32_PWM_40000C00_PWM_LABEL
#define CONFIG_PWM_STM32_5_PRESCALER ST_STM32_PWM_40000C00_PWM_ST_PRESCALER
#define CONFIG_PWM_STM32_6_DEV_NAME ST_STM32_PWM_40001000_PWM_LABEL
#define CONFIG_PWM_STM32_6_PRESCALER ST_STM32_PWM_40001000_PWM_ST_PRESCALER
#define CONFIG_PWM_STM32_7_DEV_NAME ST_STM32_PWM_40001400_PWM_LABEL
#define CONFIG_PWM_STM32_7_PRESCALER ST_STM32_PWM_40001400_PWM_ST_PRESCALER
#define CONFIG_PWM_STM32_8_DEV_NAME ST_STM32_PWM_40010400_PWM_LABEL
#define CONFIG_PWM_STM32_8_PRESCALER ST_STM32_PWM_40010400_PWM_ST_PRESCALER
#define CONFIG_PWM_STM32_9_DEV_NAME ST_STM32_PWM_40014000_PWM_LABEL
#define CONFIG_PWM_STM32_9_PRESCALER ST_STM32_PWM_40014000_PWM_ST_PRESCALER
#define CONFIG_PWM_STM32_10_DEV_NAME ST_STM32_PWM_40014400_PWM_LABEL
#define CONFIG_PWM_STM32_10_PRESCALER ST_STM32_PWM_40014400_PWM_ST_PRESCALER
#define CONFIG_PWM_STM32_11_DEV_NAME ST_STM32_PWM_40014800_PWM_LABEL
#define CONFIG_PWM_STM32_11_PRESCALER ST_STM32_PWM_40014800_PWM_ST_PRESCALER
#define CONFIG_PWM_STM32_12_DEV_NAME ST_STM32_PWM_40001800_PWM_LABEL
#define CONFIG_PWM_STM32_12_PRESCALER ST_STM32_PWM_40001800_PWM_ST_PRESCALER
#define CONFIG_PWM_STM32_13_DEV_NAME ST_STM32_PWM_40001C00_PWM_LABEL
#define CONFIG_PWM_STM32_13_PRESCALER ST_STM32_PWM_40001C00_PWM_ST_PRESCALER
#define CONFIG_PWM_STM32_14_DEV_NAME ST_STM32_PWM_40002000_PWM_LABEL
#define CONFIG_PWM_STM32_14_PRESCALER ST_STM32_PWM_40002000_PWM_ST_PRESCALER
/* End of SoC Level DTS fixup file */