/* SPDX-License-Identifier: Apache-2.0 */

/* SoC level DTS fixup file */

#define DT_NUM_IRQ_PRIO_BITS	DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS

#define DT_GPIO_STM32_GPIOA_BASE_ADDRESS	DT_ST_STM32_GPIO_40020000_BASE_ADDRESS
#define DT_GPIO_STM32_GPIOA_CLOCK_BITS_0	DT_ST_STM32_GPIO_40020000_CLOCK_BITS_0
#define DT_GPIO_STM32_GPIOA_CLOCK_BUS_0		DT_ST_STM32_GPIO_40020000_CLOCK_BUS_0
#define DT_GPIO_STM32_GPIOA_CLOCK_CONTROLLER	DT_ST_STM32_GPIO_40020000_CLOCK_CONTROLLER
#define DT_GPIO_STM32_GPIOA_LABEL		DT_ST_STM32_GPIO_40020000_LABEL
#define DT_GPIO_STM32_GPIOA_SIZE		DT_ST_STM32_GPIO_40020000_SIZE
#define DT_GPIO_STM32_GPIOA_CLOCK_BITS		DT_ST_STM32_GPIO_40020000_CLOCK_BITS
#define DT_GPIO_STM32_GPIOA_CLOCK_BUS		DT_ST_STM32_GPIO_40020000_CLOCK_BUS

#define DT_GPIO_STM32_GPIOB_BASE_ADDRESS	DT_ST_STM32_GPIO_40020400_BASE_ADDRESS
#define DT_GPIO_STM32_GPIOB_CLOCK_BITS_0	DT_ST_STM32_GPIO_40020400_CLOCK_BITS_0
#define DT_GPIO_STM32_GPIOB_CLOCK_BUS_0		DT_ST_STM32_GPIO_40020400_CLOCK_BUS_0
#define DT_GPIO_STM32_GPIOB_CLOCK_CONTROLLER	DT_ST_STM32_GPIO_40020400_CLOCK_CONTROLLER
#define DT_GPIO_STM32_GPIOB_LABEL		DT_ST_STM32_GPIO_40020400_LABEL
#define DT_GPIO_STM32_GPIOB_SIZE		DT_ST_STM32_GPIO_40020400_SIZE
#define DT_GPIO_STM32_GPIOB_CLOCK_BITS		DT_ST_STM32_GPIO_40020400_CLOCK_BITS
#define DT_GPIO_STM32_GPIOB_CLOCK_BUS		DT_ST_STM32_GPIO_40020400_CLOCK_BUS

#define DT_GPIO_STM32_GPIOC_BASE_ADDRESS	DT_ST_STM32_GPIO_40020800_BASE_ADDRESS
#define DT_GPIO_STM32_GPIOC_CLOCK_BITS_0	DT_ST_STM32_GPIO_40020800_CLOCK_BITS_0
#define DT_GPIO_STM32_GPIOC_CLOCK_BUS_0		DT_ST_STM32_GPIO_40020800_CLOCK_BUS_0
#define DT_GPIO_STM32_GPIOC_CLOCK_CONTROLLER	DT_ST_STM32_GPIO_40020800_CLOCK_CONTROLLER
#define DT_GPIO_STM32_GPIOC_LABEL		DT_ST_STM32_GPIO_40020800_LABEL
#define DT_GPIO_STM32_GPIOC_SIZE		DT_ST_STM32_GPIO_40020800_SIZE
#define DT_GPIO_STM32_GPIOC_CLOCK_BITS		DT_ST_STM32_GPIO_40020800_CLOCK_BITS
#define DT_GPIO_STM32_GPIOC_CLOCK_BUS		DT_ST_STM32_GPIO_40020800_CLOCK_BUS

#define DT_GPIO_STM32_GPIOD_BASE_ADDRESS	DT_ST_STM32_GPIO_40020C00_BASE_ADDRESS
#define DT_GPIO_STM32_GPIOD_CLOCK_BITS_0	DT_ST_STM32_GPIO_40020C00_CLOCK_BITS_0
#define DT_GPIO_STM32_GPIOD_CLOCK_BUS_0		DT_ST_STM32_GPIO_40020C00_CLOCK_BUS_0
#define DT_GPIO_STM32_GPIOD_CLOCK_CONTROLLER	DT_ST_STM32_GPIO_40020C00_CLOCK_CONTROLLER
#define DT_GPIO_STM32_GPIOD_LABEL		DT_ST_STM32_GPIO_40020C00_LABEL
#define DT_GPIO_STM32_GPIOD_SIZE		DT_ST_STM32_GPIO_40020C00_SIZE
#define DT_GPIO_STM32_GPIOD_CLOCK_BITS		DT_ST_STM32_GPIO_40020C00_CLOCK_BITS
#define DT_GPIO_STM32_GPIOD_CLOCK_BUS		DT_ST_STM32_GPIO_40020C00_CLOCK_BUS

#define DT_GPIO_STM32_GPIOE_BASE_ADDRESS	DT_ST_STM32_GPIO_40021000_BASE_ADDRESS
#define DT_GPIO_STM32_GPIOE_CLOCK_BITS_0	DT_ST_STM32_GPIO_40021000_CLOCK_BITS_0
#define DT_GPIO_STM32_GPIOE_CLOCK_BUS_0		DT_ST_STM32_GPIO_40021000_CLOCK_BUS_0
#define DT_GPIO_STM32_GPIOE_CLOCK_CONTROLLER	DT_ST_STM32_GPIO_40021000_CLOCK_CONTROLLER
#define DT_GPIO_STM32_GPIOE_LABEL		DT_ST_STM32_GPIO_40021000_LABEL
#define DT_GPIO_STM32_GPIOE_SIZE		DT_ST_STM32_GPIO_40021000_SIZE
#define DT_GPIO_STM32_GPIOE_CLOCK_BITS		DT_ST_STM32_GPIO_40021000_CLOCK_BITS
#define DT_GPIO_STM32_GPIOE_CLOCK_BUS		DT_ST_STM32_GPIO_40021000_CLOCK_BUS

#define DT_GPIO_STM32_GPIOF_BASE_ADDRESS	DT_ST_STM32_GPIO_40021400_BASE_ADDRESS
#define DT_GPIO_STM32_GPIOF_CLOCK_BITS_0	DT_ST_STM32_GPIO_40021400_CLOCK_BITS_0
#define DT_GPIO_STM32_GPIOF_CLOCK_BUS_0		DT_ST_STM32_GPIO_40021400_CLOCK_BUS_0
#define DT_GPIO_STM32_GPIOF_CLOCK_CONTROLLER	DT_ST_STM32_GPIO_40021400_CLOCK_CONTROLLER
#define DT_GPIO_STM32_GPIOF_LABEL		DT_ST_STM32_GPIO_40021400_LABEL
#define DT_GPIO_STM32_GPIOF_SIZE		DT_ST_STM32_GPIO_40021400_SIZE
#define DT_GPIO_STM32_GPIOF_CLOCK_BITS		DT_ST_STM32_GPIO_40021400_CLOCK_BITS
#define DT_GPIO_STM32_GPIOF_CLOCK_BUS		DT_ST_STM32_GPIO_40021400_CLOCK_BUS

#define DT_GPIO_STM32_GPIOG_BASE_ADDRESS	DT_ST_STM32_GPIO_40021800_BASE_ADDRESS
#define DT_GPIO_STM32_GPIOG_CLOCK_BITS_0	DT_ST_STM32_GPIO_40021800_CLOCK_BITS_0
#define DT_GPIO_STM32_GPIOG_CLOCK_BUS_0		DT_ST_STM32_GPIO_40021800_CLOCK_BUS_0
#define DT_GPIO_STM32_GPIOG_CLOCK_CONTROLLER	DT_ST_STM32_GPIO_40021800_CLOCK_CONTROLLER
#define DT_GPIO_STM32_GPIOG_LABEL		DT_ST_STM32_GPIO_40021800_LABEL
#define DT_GPIO_STM32_GPIOG_SIZE		DT_ST_STM32_GPIO_40021800_SIZE
#define DT_GPIO_STM32_GPIOG_CLOCK_BITS		DT_ST_STM32_GPIO_40021800_CLOCK_BITS
#define DT_GPIO_STM32_GPIOG_CLOCK_BUS		DT_ST_STM32_GPIO_40021800_CLOCK_BUS

#define DT_GPIO_STM32_GPIOH_BASE_ADDRESS	DT_ST_STM32_GPIO_40021C00_BASE_ADDRESS
#define DT_GPIO_STM32_GPIOH_CLOCK_BITS_0	DT_ST_STM32_GPIO_40021C00_CLOCK_BITS_0
#define DT_GPIO_STM32_GPIOH_CLOCK_BUS_0		DT_ST_STM32_GPIO_40021C00_CLOCK_BUS_0
#define DT_GPIO_STM32_GPIOH_CLOCK_CONTROLLER	DT_ST_STM32_GPIO_40021C00_CLOCK_CONTROLLER
#define DT_GPIO_STM32_GPIOH_LABEL		DT_ST_STM32_GPIO_40021C00_LABEL
#define DT_GPIO_STM32_GPIOH_SIZE		DT_ST_STM32_GPIO_40021C00_SIZE
#define DT_GPIO_STM32_GPIOH_CLOCK_BITS		DT_ST_STM32_GPIO_40021C00_CLOCK_BITS
#define DT_GPIO_STM32_GPIOH_CLOCK_BUS		DT_ST_STM32_GPIO_40021C00_CLOCK_BUS

#define DT_GPIO_STM32_GPIOI_BASE_ADDRESS	DT_ST_STM32_GPIO_40022000_BASE_ADDRESS
#define DT_GPIO_STM32_GPIOI_CLOCK_BITS_0	DT_ST_STM32_GPIO_40022000_CLOCK_BITS_0
#define DT_GPIO_STM32_GPIOI_CLOCK_BUS_0		DT_ST_STM32_GPIO_40022000_CLOCK_BUS_0
#define DT_GPIO_STM32_GPIOI_CLOCK_CONTROLLER	DT_ST_STM32_GPIO_40022000_CLOCK_CONTROLLER
#define DT_GPIO_STM32_GPIOI_LABEL		DT_ST_STM32_GPIO_40022000_LABEL
#define DT_GPIO_STM32_GPIOI_SIZE		DT_ST_STM32_GPIO_40022000_SIZE
#define DT_GPIO_STM32_GPIOI_CLOCK_BITS		DT_ST_STM32_GPIO_40022000_CLOCK_BITS
#define DT_GPIO_STM32_GPIOI_CLOCK_BUS		DT_ST_STM32_GPIO_40022000_CLOCK_BUS

#define DT_GPIO_STM32_GPIOJ_BASE_ADDRESS	DT_ST_STM32_GPIO_40022400_BASE_ADDRESS
#define DT_GPIO_STM32_GPIOJ_CLOCK_BITS_0	DT_ST_STM32_GPIO_40022400_CLOCK_BITS_0
#define DT_GPIO_STM32_GPIOJ_CLOCK_BUS_0		DT_ST_STM32_GPIO_40022400_CLOCK_BUS_0
#define DT_GPIO_STM32_GPIOJ_CLOCK_CONTROLLER	DT_ST_STM32_GPIO_40022400_CLOCK_CONTROLLER
#define DT_GPIO_STM32_GPIOJ_LABEL		DT_ST_STM32_GPIO_40022400_LABEL
#define DT_GPIO_STM32_GPIOJ_SIZE		DT_ST_STM32_GPIO_40022400_SIZE
#define DT_GPIO_STM32_GPIOJ_CLOCK_BITS		DT_ST_STM32_GPIO_40022400_CLOCK_BITS
#define DT_GPIO_STM32_GPIOJ_CLOCK_BUS		DT_ST_STM32_GPIO_40022400_CLOCK_BUS

#define DT_GPIO_STM32_GPIOK_BASE_ADDRESS	DT_ST_STM32_GPIO_40022800_BASE_ADDRESS
#define DT_GPIO_STM32_GPIOK_CLOCK_BITS_0	DT_ST_STM32_GPIO_40022800_CLOCK_BITS_0
#define DT_GPIO_STM32_GPIOK_CLOCK_BUS_0		DT_ST_STM32_GPIO_40022800_CLOCK_BUS_0
#define DT_GPIO_STM32_GPIOK_CLOCK_CONTROLLER	DT_ST_STM32_GPIO_40022800_CLOCK_CONTROLLER
#define DT_GPIO_STM32_GPIOK_LABEL		DT_ST_STM32_GPIO_40022800_LABEL
#define DT_GPIO_STM32_GPIOK_SIZE		DT_ST_STM32_GPIO_40022800_SIZE
#define DT_GPIO_STM32_GPIOK_CLOCK_BITS		DT_ST_STM32_GPIO_40022800_CLOCK_BITS
#define DT_GPIO_STM32_GPIOK_CLOCK_BUS		DT_ST_STM32_GPIO_40022800_CLOCK_BUS

#define DT_UART_STM32_USART_1_BASE_ADDRESS	DT_ST_STM32_USART_40011000_BASE_ADDRESS
#define DT_UART_STM32_USART_1_BAUD_RATE		DT_ST_STM32_USART_40011000_CURRENT_SPEED
#define DT_UART_STM32_USART_1_IRQ_PRI		DT_ST_STM32_USART_40011000_IRQ_0_PRIORITY
#define DT_UART_STM32_USART_1_NAME		DT_ST_STM32_USART_40011000_LABEL
#define DT_USART_1_IRQ				DT_ST_STM32_USART_40011000_IRQ_0
#define DT_UART_STM32_USART_1_CLOCK_BITS	DT_ST_STM32_USART_40011000_CLOCK_BITS
#define DT_UART_STM32_USART_1_CLOCK_BUS		DT_ST_STM32_USART_40011000_CLOCK_BUS
#define DT_UART_STM32_USART_1_HW_FLOW_CONTROL	DT_ST_STM32_USART_40011000_HW_FLOW_CONTROL

#define DT_UART_STM32_USART_2_BASE_ADDRESS	DT_ST_STM32_USART_40004400_BASE_ADDRESS
#define DT_UART_STM32_USART_2_BAUD_RATE		DT_ST_STM32_USART_40004400_CURRENT_SPEED
#define DT_UART_STM32_USART_2_IRQ_PRI		DT_ST_STM32_USART_40004400_IRQ_0_PRIORITY
#define DT_UART_STM32_USART_2_NAME		DT_ST_STM32_USART_40004400_LABEL
#define DT_USART_2_IRQ				DT_ST_STM32_USART_40004400_IRQ_0
#define DT_UART_STM32_USART_2_CLOCK_BITS	DT_ST_STM32_USART_40004400_CLOCK_BITS
#define DT_UART_STM32_USART_2_CLOCK_BUS		DT_ST_STM32_USART_40004400_CLOCK_BUS
#define DT_UART_STM32_USART_2_HW_FLOW_CONTROL	DT_ST_STM32_USART_40004400_HW_FLOW_CONTROL

#define DT_UART_STM32_USART_3_BASE_ADDRESS	DT_ST_STM32_USART_40004800_BASE_ADDRESS
#define DT_UART_STM32_USART_3_BAUD_RATE		DT_ST_STM32_USART_40004800_CURRENT_SPEED
#define DT_UART_STM32_USART_3_IRQ_PRI		DT_ST_STM32_USART_40004800_IRQ_0_PRIORITY
#define DT_UART_STM32_USART_3_NAME		DT_ST_STM32_USART_40004800_LABEL
#define DT_USART_3_IRQ				DT_ST_STM32_USART_40004800_IRQ_0
#define DT_UART_STM32_USART_3_CLOCK_BITS	DT_ST_STM32_USART_40004800_CLOCK_BITS
#define DT_UART_STM32_USART_3_CLOCK_BUS		DT_ST_STM32_USART_40004800_CLOCK_BUS
#define DT_UART_STM32_USART_3_HW_FLOW_CONTROL	DT_ST_STM32_USART_40004800_HW_FLOW_CONTROL

#define DT_UART_STM32_UART_4_BASE_ADDRESS	DT_ST_STM32_UART_40004C00_BASE_ADDRESS
#define DT_UART_STM32_UART_4_BAUD_RATE		DT_ST_STM32_UART_40004C00_CURRENT_SPEED
#define DT_UART_STM32_UART_4_IRQ_PRI		DT_ST_STM32_UART_40004C00_IRQ_0_PRIORITY
#define DT_UART_STM32_UART_4_NAME		DT_ST_STM32_UART_40004C00_LABEL
#define DT_UART_4_IRQ				DT_ST_STM32_UART_40004C00_IRQ_0
#define DT_UART_STM32_UART_4_CLOCK_BITS		DT_ST_STM32_UART_40004C00_CLOCK_BITS
#define DT_UART_STM32_UART_4_CLOCK_BUS		DT_ST_STM32_UART_40004C00_CLOCK_BUS
#define DT_UART_STM32_UART_4_HW_FLOW_CONTROL	DT_ST_STM32_UART_40004C00_HW_FLOW_CONTROL

#define DT_UART_STM32_UART_5_BASE_ADDRESS	DT_ST_STM32_UART_40005000_BASE_ADDRESS
#define DT_UART_STM32_UART_5_BAUD_RATE		DT_ST_STM32_UART_40005000_CURRENT_SPEED
#define DT_UART_STM32_UART_5_IRQ_PRI		DT_ST_STM32_UART_40005000_IRQ_0_PRIORITY
#define DT_UART_STM32_UART_5_NAME		DT_ST_STM32_UART_40005000_LABEL
#define DT_UART_5_IRQ				DT_ST_STM32_UART_40005000_IRQ_0
#define DT_UART_STM32_UART_5_CLOCK_BITS		DT_ST_STM32_UART_40005000_CLOCK_BITS
#define DT_UART_STM32_UART_5_CLOCK_BUS		DT_ST_STM32_UART_40005000_CLOCK_BUS
#define DT_UART_STM32_UART_5_HW_FLOW_CONTROL	DT_ST_STM32_UART_40005000_HW_FLOW_CONTROL

#define DT_UART_STM32_USART_6_NAME		DT_ST_STM32_USART_40011400_LABEL
#define DT_UART_STM32_USART_6_BASE_ADDRESS	DT_ST_STM32_USART_40011400_BASE_ADDRESS
#define DT_UART_STM32_USART_6_BAUD_RATE		DT_ST_STM32_USART_40011400_CURRENT_SPEED
#define DT_UART_STM32_USART_6_IRQ_PRI		DT_ST_STM32_USART_40011400_IRQ_0_PRIORITY
#define DT_USART_6_IRQ				DT_ST_STM32_USART_40011400_IRQ_0
#define DT_UART_STM32_USART_6_CLOCK_BITS	DT_ST_STM32_USART_40011400_CLOCK_BITS
#define DT_UART_STM32_USART_6_CLOCK_BUS		DT_ST_STM32_USART_40011400_CLOCK_BUS
#define DT_UART_STM32_USART_6_HW_FLOW_CONTROL	DT_ST_STM32_USART_40011400_HW_FLOW_CONTROL

#define DT_UART_STM32_UART_7_BASE_ADDRESS	DT_ST_STM32_UART_40007800_BASE_ADDRESS
#define DT_UART_STM32_UART_7_BAUD_RATE		DT_ST_STM32_UART_40007800_CURRENT_SPEED
#define DT_UART_STM32_UART_7_IRQ_PRI		DT_ST_STM32_UART_40007800_IRQ_0_PRIORITY
#define DT_UART_STM32_UART_7_NAME		DT_ST_STM32_UART_40007800_LABEL
#define DT_UART_7_IRQ				DT_ST_STM32_UART_40007800_IRQ_0
#define DT_UART_STM32_UART_7_CLOCK_BITS		DT_ST_STM32_UART_40007800_CLOCK_BITS
#define DT_UART_STM32_UART_7_CLOCK_BUS		DT_ST_STM32_UART_40007800_CLOCK_BUS
#define DT_UART_STM32_UART_7_HW_FLOW_CONTROL	DT_ST_STM32_UART_40007800_HW_FLOW_CONTROL

#define DT_I2C_1_BASE_ADDRESS		DT_ST_STM32_I2C_V1_40005400_BASE_ADDRESS
#define DT_I2C_1_EVENT_IRQ_PRI		DT_ST_STM32_I2C_V1_40005400_IRQ_EVENT_PRIORITY
#define DT_I2C_1_ERROR_IRQ_PRI		DT_ST_STM32_I2C_V1_40005400_IRQ_ERROR_PRIORITY
#define CONFIG_I2C_1_NAME		DT_ST_STM32_I2C_V1_40005400_LABEL
#define DT_I2C_1_EVENT_IRQ		DT_ST_STM32_I2C_V1_40005400_IRQ_EVENT
#define DT_I2C_1_ERROR_IRQ		DT_ST_STM32_I2C_V1_40005400_IRQ_ERROR
#define DT_I2C_1_BITRATE		DT_ST_STM32_I2C_V1_40005400_CLOCK_FREQUENCY
#define DT_I2C_1_CLOCK_BITS		DT_ST_STM32_I2C_V1_40005400_CLOCK_BITS
#define DT_I2C_1_CLOCK_BUS		DT_ST_STM32_I2C_V1_40005400_CLOCK_BUS

#define DT_I2C_2_BASE_ADDRESS		DT_ST_STM32_I2C_V1_40005800_BASE_ADDRESS
#define DT_I2C_2_EVENT_IRQ_PRI		DT_ST_STM32_I2C_V1_40005800_IRQ_EVENT_PRIORITY
#define DT_I2C_2_ERROR_IRQ_PRI		DT_ST_STM32_I2C_V1_40005800_IRQ_ERROR_PRIORITY
#define CONFIG_I2C_2_NAME		DT_ST_STM32_I2C_V1_40005800_LABEL
#define DT_I2C_2_EVENT_IRQ		DT_ST_STM32_I2C_V1_40005800_IRQ_EVENT
#define DT_I2C_2_ERROR_IRQ		DT_ST_STM32_I2C_V1_40005800_IRQ_ERROR
#define DT_I2C_2_BITRATE		DT_ST_STM32_I2C_V1_40005800_CLOCK_FREQUENCY
#define DT_I2C_2_CLOCK_BITS		DT_ST_STM32_I2C_V1_40005800_CLOCK_BITS
#define DT_I2C_2_CLOCK_BUS		DT_ST_STM32_I2C_V1_40005800_CLOCK_BUS

#define DT_I2C_3_BASE_ADDRESS		DT_ST_STM32_I2C_V1_40005C00_BASE_ADDRESS
#define DT_I2C_3_EVENT_IRQ_PRI		DT_ST_STM32_I2C_V1_40005C00_IRQ_EVENT_PRIORITY
#define DT_I2C_3_ERROR_IRQ_PRI		DT_ST_STM32_I2C_V1_40005C00_IRQ_ERROR_PRIORITY
#define CONFIG_I2C_3_NAME		DT_ST_STM32_I2C_V1_40005C00_LABEL
#define DT_I2C_3_EVENT_IRQ		DT_ST_STM32_I2C_V1_40005C00_IRQ_EVENT
#define DT_I2C_3_ERROR_IRQ		DT_ST_STM32_I2C_V1_40005C00_IRQ_ERROR
#define DT_I2C_3_BITRATE		DT_ST_STM32_I2C_V1_40005C00_CLOCK_FREQUENCY
#define DT_I2C_3_CLOCK_BITS		DT_ST_STM32_I2C_V1_40005C00_CLOCK_BITS
#define DT_I2C_3_CLOCK_BUS		DT_ST_STM32_I2C_V1_40005C00_CLOCK_BUS

#define DT_SPI_1_BASE_ADDRESS		DT_ST_STM32_SPI_40013000_BASE_ADDRESS
#define DT_SPI_1_IRQ_PRI		DT_ST_STM32_SPI_40013000_IRQ_0_PRIORITY
#define DT_SPI_1_NAME			DT_ST_STM32_SPI_40013000_LABEL
#define DT_SPI_1_IRQ			DT_ST_STM32_SPI_40013000_IRQ_0
#define DT_SPI_1_CLOCK_BITS		DT_ST_STM32_SPI_40013000_CLOCK_BITS
#define DT_SPI_1_CLOCK_BUS		DT_ST_STM32_SPI_40013000_CLOCK_BUS

#define DT_SPI_2_BASE_ADDRESS		DT_ST_STM32_SPI_40003800_BASE_ADDRESS
#define DT_SPI_2_IRQ_PRI		DT_ST_STM32_SPI_40003800_IRQ_0_PRIORITY
#define DT_SPI_2_NAME			DT_ST_STM32_SPI_40003800_LABEL
#define DT_SPI_2_IRQ			DT_ST_STM32_SPI_40003800_IRQ_0
#define DT_SPI_2_CLOCK_BITS		DT_ST_STM32_SPI_40003800_CLOCK_BITS
#define DT_SPI_2_CLOCK_BUS		DT_ST_STM32_SPI_40003800_CLOCK_BUS

#define DT_SPI_3_BASE_ADDRESS		DT_ST_STM32_SPI_40003C00_BASE_ADDRESS
#define DT_SPI_3_IRQ_PRI		DT_ST_STM32_SPI_40003C00_IRQ_0_PRIORITY
#define DT_SPI_3_NAME			DT_ST_STM32_SPI_40003C00_LABEL
#define DT_SPI_3_IRQ			DT_ST_STM32_SPI_40003C00_IRQ_0
#define DT_SPI_3_CLOCK_BITS		DT_ST_STM32_SPI_40003C00_CLOCK_BITS
#define DT_SPI_3_CLOCK_BUS		DT_ST_STM32_SPI_40003C00_CLOCK_BUS

#define DT_SPI_4_BASE_ADDRESS		DT_ST_STM32_SPI_40013400_BASE_ADDRESS
#define DT_SPI_4_IRQ_PRI		DT_ST_STM32_SPI_40013400_IRQ_0_PRIORITY
#define DT_SPI_4_NAME			DT_ST_STM32_SPI_40013400_LABEL
#define DT_SPI_4_IRQ			DT_ST_STM32_SPI_40013400_IRQ_0
#define DT_SPI_4_CLOCK_BITS		DT_ST_STM32_SPI_40013400_CLOCK_BITS
#define DT_SPI_4_CLOCK_BUS		DT_ST_STM32_SPI_40013400_CLOCK_BUS

#define DT_SPI_5_BASE_ADDRESS		DT_ST_STM32_SPI_40015000_BASE_ADDRESS
#define DT_SPI_5_IRQ_PRI		DT_ST_STM32_SPI_40015000_IRQ_0_PRIORITY
#define DT_SPI_5_NAME			DT_ST_STM32_SPI_40015000_LABEL
#define DT_SPI_5_IRQ			DT_ST_STM32_SPI_40015000_IRQ_0
#define DT_SPI_5_CLOCK_BITS		DT_ST_STM32_SPI_40015000_CLOCK_BITS
#define DT_SPI_5_CLOCK_BUS		DT_ST_STM32_SPI_40015000_CLOCK_BUS

#define DT_SPI_6_BASE_ADDRESS		DT_ST_STM32_SPI_40015400_BASE_ADDRESS
#define DT_SPI_6_IRQ_PRI		DT_ST_STM32_SPI_40015400_IRQ_0_PRIORITY
#define DT_SPI_6_NAME			DT_ST_STM32_SPI_40015400_LABEL
#define DT_SPI_6_IRQ			DT_ST_STM32_SPI_40015400_IRQ_0
#define DT_SPI_6_CLOCK_BITS		DT_ST_STM32_SPI_40015400_CLOCK_BITS
#define DT_SPI_6_CLOCK_BUS		DT_ST_STM32_SPI_40015400_CLOCK_BUS

#define DT_I2S_1_BASE_ADDRESS		DT_ST_STM32_I2S_40013000_BASE_ADDRESS
#define DT_I2S_1_IRQ_PRI		DT_ST_STM32_I2S_40013000_IRQ_0_PRIORITY
#define DT_I2S_1_NAME			DT_ST_STM32_I2S_40013000_LABEL
#define DT_I2S_1_IRQ			DT_ST_STM32_I2S_40013000_IRQ_0
#define DT_I2S_1_CLOCK_BITS		DT_ST_STM32_I2S_40013000_CLOCK_BITS
#define DT_I2S_1_CLOCK_BUS		DT_ST_STM32_I2S_40013000_CLOCK_BUS

#define DT_I2S_2_BASE_ADDRESS		DT_ST_STM32_I2S_40003800_BASE_ADDRESS
#define DT_I2S_2_IRQ_PRI		DT_ST_STM32_I2S_40003800_IRQ_0_PRIORITY
#define DT_I2S_2_NAME			DT_ST_STM32_I2S_40003800_LABEL
#define DT_I2S_2_IRQ			DT_ST_STM32_I2S_40003800_IRQ_0
#define DT_I2S_2_CLOCK_BITS		DT_ST_STM32_I2S_40003800_CLOCK_BITS
#define DT_I2S_2_CLOCK_BUS		DT_ST_STM32_I2S_40003800_CLOCK_BUS

#define DT_I2S_3_BASE_ADDRESS		DT_ST_STM32_I2S_40003C00_BASE_ADDRESS
#define DT_I2S_3_IRQ_PRI		DT_ST_STM32_I2S_40003C00_IRQ_0_PRIORITY
#define DT_I2S_3_NAME			DT_ST_STM32_I2S_40003C00_LABEL
#define DT_I2S_3_IRQ			DT_ST_STM32_I2S_40003C00_IRQ_0
#define DT_I2S_3_CLOCK_BITS		DT_ST_STM32_I2S_40003C00_CLOCK_BITS
#define DT_I2S_3_CLOCK_BUS		DT_ST_STM32_I2S_40003C00_CLOCK_BUS

#define DT_I2S_4_BASE_ADDRESS		DT_ST_STM32_I2S_40013400_BASE_ADDRESS
#define DT_I2S_4_IRQ_PRI		DT_ST_STM32_I2S_40013400_IRQ_0_PRIORITY
#define DT_I2S_4_NAME			DT_ST_STM32_I2S_40013400_LABEL
#define DT_I2S_4_IRQ			DT_ST_STM32_I2S_40013400_IRQ_0
#define DT_I2S_4_CLOCK_BITS		DT_ST_STM32_I2S_40013400_CLOCK_BITS
#define DT_I2S_4_CLOCK_BUS		DT_ST_STM32_I2S_40013400_CLOCK_BUS

#define DT_I2S_5_BASE_ADDRESS		DT_ST_STM32_I2S_40015000_BASE_ADDRESS
#define DT_I2S_5_IRQ_PRI		DT_ST_STM32_I2S_40015000_IRQ_0_PRIORITY
#define DT_I2S_5_NAME			DT_ST_STM32_I2S_40015000_LABEL
#define DT_I2S_5_IRQ			DT_ST_STM32_I2S_40015000_IRQ_0
#define DT_I2S_5_CLOCK_BITS		DT_ST_STM32_I2S_40015000_CLOCK_BITS
#define DT_I2S_5_CLOCK_BUS		DT_ST_STM32_I2S_40015000_CLOCK_BUS

#define DT_I2S_6_BASE_ADDRESS		DT_ST_STM32_I2S_40015400_BASE_ADDRESS
#define DT_I2S_6_IRQ_PRI		DT_ST_STM32_I2S_40015400_IRQ_0_PRIORITY
#define DT_I2S_6_NAME			DT_ST_STM32_I2S_40015400_LABEL
#define DT_I2S_6_IRQ			DT_ST_STM32_I2S_40015400_IRQ_0
#define DT_I2S_6_CLOCK_BITS		DT_ST_STM32_I2S_40015400_CLOCK_BITS
#define DT_I2S_6_CLOCK_BUS		DT_ST_STM32_I2S_40015400_CLOCK_BUS

#define DT_FLASH_DEV_BASE_ADDRESS	DT_ST_STM32F4_FLASH_CONTROLLER_40023C00_BASE_ADDRESS
#define DT_FLASH_DEV_NAME		DT_ST_STM32F4_FLASH_CONTROLLER_40023C00_LABEL

#ifdef DT_ST_STM32_OTGFS_50000000_BASE_ADDRESS
#define DT_USB_BASE_ADDRESS		DT_ST_STM32_OTGFS_50000000_BASE_ADDRESS
#define DT_USB_IRQ			DT_ST_STM32_OTGFS_50000000_IRQ_OTGFS
#define DT_USB_IRQ_PRI			DT_ST_STM32_OTGFS_50000000_IRQ_OTGFS_PRIORITY
#define DT_USB_NUM_BIDIR_ENDPOINTS	DT_ST_STM32_OTGFS_50000000_NUM_BIDIR_ENDPOINTS
#define DT_USB_RAM_SIZE			DT_ST_STM32_OTGFS_50000000_RAM_SIZE
#define DT_USB_MAXIMUM_SPEED		DT_ST_STM32_OTGFS_50000000_MAXIMUM_SPEED
#define DT_USB_CLOCK_BITS		DT_ST_STM32_OTGFS_50000000_CLOCK_BITS
#define DT_USB_CLOCK_BUS		DT_ST_STM32_OTGFS_50000000_CLOCK_BUS
#endif /*  DT_ST_STM32_OTGFS_50000000_BASE_ADDRESS */

#ifdef DT_ST_STM32_OTGHS_40040000_BASE_ADDRESS
#define DT_USB_HS_BASE_ADDRESS		DT_ST_STM32_OTGHS_40040000_BASE_ADDRESS
#define DT_USB_IRQ			DT_ST_STM32_OTGHS_40040000_IRQ_OTGHS
#define DT_USB_IRQ_PRI			DT_ST_STM32_OTGHS_40040000_IRQ_OTGHS_PRIORITY
#define DT_USB_NUM_BIDIR_ENDPOINTS	DT_ST_STM32_OTGHS_40040000_NUM_BIDIR_ENDPOINTS
#define DT_USB_RAM_SIZE			DT_ST_STM32_OTGHS_40040000_RAM_SIZE
#define DT_USB_MAXIMUM_SPEED		DT_ST_STM32_OTGHS_40040000_MAXIMUM_SPEED
#define DT_USB_CLOCK_BITS		DT_ST_STM32_OTGHS_40040000_CLOCK_BITS
#define DT_USB_CLOCK_BUS		DT_ST_STM32_OTGHS_40040000_CLOCK_BUS
#endif /* DT_ST_STM32_OTGHS_40040000_BASE_ADDRESS */

#define DT_PWM_STM32_1_DEV_NAME		DT_ST_STM32_PWM_40010000_PWM_LABEL
#define DT_PWM_STM32_1_PRESCALER	DT_ST_STM32_PWM_40010000_PWM_ST_PRESCALER
#define DT_TIM_STM32_1_BASE_ADDRESS	DT_ST_STM32_TIMERS_40010000_BASE_ADDRESS
#define DT_TIM_STM32_1_CLOCK_BITS	DT_ST_STM32_TIMERS_40010000_CLOCK_BITS
#define DT_TIM_STM32_1_CLOCK_BUS	DT_ST_STM32_TIMERS_40010000_CLOCK_BUS

#define DT_PWM_STM32_2_DEV_NAME		DT_ST_STM32_PWM_40000000_PWM_LABEL
#define DT_PWM_STM32_2_PRESCALER	DT_ST_STM32_PWM_40000000_PWM_ST_PRESCALER
#define DT_TIM_STM32_2_BASE_ADDRESS	DT_ST_STM32_TIMERS_40000000_BASE_ADDRESS
#define DT_TIM_STM32_2_CLOCK_BITS	DT_ST_STM32_TIMERS_40000000_CLOCK_BITS
#define DT_TIM_STM32_2_CLOCK_BUS	DT_ST_STM32_TIMERS_40000000_CLOCK_BUS

#define DT_PWM_STM32_3_DEV_NAME		DT_ST_STM32_PWM_40000400_PWM_LABEL
#define DT_PWM_STM32_3_PRESCALER	DT_ST_STM32_PWM_40000400_PWM_ST_PRESCALER
#define DT_TIM_STM32_3_BASE_ADDRESS	DT_ST_STM32_TIMERS_40000400_BASE_ADDRESS
#define DT_TIM_STM32_3_CLOCK_BITS	DT_ST_STM32_TIMERS_40000400_CLOCK_BITS
#define DT_TIM_STM32_3_CLOCK_BUS	DT_ST_STM32_TIMERS_40000400_CLOCK_BUS

#define DT_PWM_STM32_4_DEV_NAME		DT_ST_STM32_PWM_40000800_PWM_LABEL
#define DT_PWM_STM32_4_PRESCALER	DT_ST_STM32_PWM_40000800_PWM_ST_PRESCALER
#define DT_TIM_STM32_4_BASE_ADDRESS	DT_ST_STM32_TIMERS_40000800_BASE_ADDRESS
#define DT_TIM_STM32_4_CLOCK_BITS	DT_ST_STM32_TIMERS_40000800_CLOCK_BITS
#define DT_TIM_STM32_4_CLOCK_BUS	DT_ST_STM32_TIMERS_40000800_CLOCK_BUS

#define DT_PWM_STM32_5_DEV_NAME		DT_ST_STM32_PWM_40000C00_PWM_LABEL
#define DT_PWM_STM32_5_PRESCALER	DT_ST_STM32_PWM_40000C00_PWM_ST_PRESCALER
#define DT_TIM_STM32_5_BASE_ADDRESS	DT_ST_STM32_TIMERS_40000C00_BASE_ADDRESS
#define DT_TIM_STM32_5_CLOCK_BITS	DT_ST_STM32_TIMERS_40000C00_CLOCK_BITS
#define DT_TIM_STM32_5_CLOCK_BUS	DT_ST_STM32_TIMERS_40000C00_CLOCK_BUS

#define DT_PWM_STM32_6_DEV_NAME		DT_ST_STM32_PWM_40001000_PWM_LABEL
#define DT_PWM_STM32_6_PRESCALER	DT_ST_STM32_PWM_40001000_PWM_ST_PRESCALER
#define DT_TIM_STM32_6_BASE_ADDRESS	DT_ST_STM32_TIMERS_40001000_BASE_ADDRESS
#define DT_TIM_STM32_6_CLOCK_BITS	DT_ST_STM32_TIMERS_40001000_CLOCK_BITS
#define DT_TIM_STM32_6_CLOCK_BUS	DT_ST_STM32_TIMERS_40001000_CLOCK_BUS

#define DT_PWM_STM32_7_DEV_NAME		DT_ST_STM32_PWM_40001400_PWM_LABEL
#define DT_PWM_STM32_7_PRESCALER	DT_ST_STM32_PWM_40001400_PWM_ST_PRESCALER
#define DT_TIM_STM32_7_BASE_ADDRESS	DT_ST_STM32_TIMERS_40001400_BASE_ADDRESS
#define DT_TIM_STM32_7_CLOCK_BITS	DT_ST_STM32_TIMERS_40001400_CLOCK_BITS
#define DT_TIM_STM32_7_CLOCK_BUS	DT_ST_STM32_TIMERS_40001400_CLOCK_BUS

#define DT_PWM_STM32_8_DEV_NAME		DT_ST_STM32_PWM_40010400_PWM_LABEL
#define DT_PWM_STM32_8_PRESCALER	DT_ST_STM32_PWM_40010400_PWM_ST_PRESCALER
#define DT_TIM_STM32_8_BASE_ADDRESS	DT_ST_STM32_TIMERS_40010400_BASE_ADDRESS
#define DT_TIM_STM32_8_CLOCK_BITS	DT_ST_STM32_TIMERS_40010400_CLOCK_BITS
#define DT_TIM_STM32_8_CLOCK_BUS	DT_ST_STM32_TIMERS_40010400_CLOCK_BUS

#define DT_PWM_STM32_9_DEV_NAME		DT_ST_STM32_PWM_40014000_PWM_LABEL
#define DT_PWM_STM32_9_PRESCALER	DT_ST_STM32_PWM_40014000_PWM_ST_PRESCALER
#define DT_TIM_STM32_9_BASE_ADDRESS	DT_ST_STM32_TIMERS_40014000_BASE_ADDRESS
#define DT_TIM_STM32_9_CLOCK_BITS	DT_ST_STM32_TIMERS_40014000_CLOCK_BITS
#define DT_TIM_STM32_9_CLOCK_BUS	DT_ST_STM32_TIMERS_40014000_CLOCK_BUS

#define DT_PWM_STM32_10_DEV_NAME	DT_ST_STM32_PWM_40014400_PWM_LABEL
#define DT_PWM_STM32_10_PRESCALER	DT_ST_STM32_PWM_40014400_PWM_ST_PRESCALER
#define DT_TIM_STM32_10_BASE_ADDRESS	DT_ST_STM32_TIMERS_40014400_BASE_ADDRESS
#define DT_TIM_STM32_10_CLOCK_BITS	DT_ST_STM32_TIMERS_40014400_CLOCK_BITS
#define DT_TIM_STM32_10_CLOCK_BUS	DT_ST_STM32_TIMERS_40014400_CLOCK_BUS

#define DT_PWM_STM32_11_DEV_NAME	DT_ST_STM32_PWM_40014800_PWM_LABEL
#define DT_PWM_STM32_11_PRESCALER	DT_ST_STM32_PWM_40014800_PWM_ST_PRESCALER
#define DT_TIM_STM32_11_BASE_ADDRESS	DT_ST_STM32_TIMERS_40014800_BASE_ADDRESS
#define DT_TIM_STM32_11_CLOCK_BITS	DT_ST_STM32_TIMERS_40014800_CLOCK_BITS
#define DT_TIM_STM32_11_CLOCK_BUS	DT_ST_STM32_TIMERS_40014800_CLOCK_BUS

#define DT_PWM_STM32_12_DEV_NAME	DT_ST_STM32_PWM_40001800_PWM_LABEL
#define DT_PWM_STM32_12_PRESCALER	DT_ST_STM32_PWM_40001800_PWM_ST_PRESCALER
#define DT_TIM_STM32_12_BASE_ADDRESS	DT_ST_STM32_TIMERS_40001800_BASE_ADDRESS
#define DT_TIM_STM32_12_CLOCK_BITS	DT_ST_STM32_TIMERS_40001800_CLOCK_BITS
#define DT_TIM_STM32_12_CLOCK_BUS	DT_ST_STM32_TIMERS_40001800_CLOCK_BUS

#define DT_PWM_STM32_13_DEV_NAME	DT_ST_STM32_PWM_40001C00_PWM_LABEL
#define DT_PWM_STM32_13_PRESCALER	DT_ST_STM32_PWM_40001C00_PWM_ST_PRESCALER
#define DT_TIM_STM32_13_BASE_ADDRESS	DT_ST_STM32_TIMERS_40001C00_BASE_ADDRESS
#define DT_TIM_STM32_13_CLOCK_BITS	DT_ST_STM32_TIMERS_40001C00_CLOCK_BITS
#define DT_TIM_STM32_13_CLOCK_BUS	DT_ST_STM32_TIMERS_40001C00_CLOCK_BUS

#define DT_PWM_STM32_14_DEV_NAME	DT_ST_STM32_PWM_40002000_PWM_LABEL
#define DT_PWM_STM32_14_PRESCALER	DT_ST_STM32_PWM_40002000_PWM_ST_PRESCALER
#define DT_TIM_STM32_14_BASE_ADDRESS	DT_ST_STM32_TIMERS_40002000_BASE_ADDRESS
#define DT_TIM_STM32_14_CLOCK_BITS	DT_ST_STM32_TIMERS_40002000_CLOCK_BITS
#define DT_TIM_STM32_14_CLOCK_BUS	DT_ST_STM32_TIMERS_40002000_CLOCK_BUS

#define DT_RTC_0_BASE_ADDRESS		DT_ST_STM32_RTC_40002800_BASE_ADDRESS
#define DT_RTC_0_IRQ_PRI		DT_ST_STM32_RTC_40002800_IRQ_0_PRIORITY
#define DT_RTC_0_IRQ			DT_ST_STM32_RTC_40002800_IRQ_0
#define DT_RTC_0_NAME			DT_ST_STM32_RTC_40002800_LABEL
#define DT_RTC_0_CLOCK_BITS		DT_ST_STM32_RTC_40002800_CLOCK_BITS
#define DT_RTC_0_CLOCK_BUS		DT_ST_STM32_RTC_40002800_CLOCK_BUS

#define DT_WDT_0_NAME			DT_INST_0_ST_STM32_WATCHDOG_LABEL

#define DT_WWDT_0_BASE_ADDRESS		DT_INST_0_ST_STM32_WINDOW_WATCHDOG_BASE_ADDRESS
#define DT_WWDT_0_NAME			DT_INST_0_ST_STM32_WINDOW_WATCHDOG_LABEL
#define DT_WWDT_0_IRQ			DT_INST_0_ST_STM32_WINDOW_WATCHDOG_IRQ_0
#define DT_WWDT_0_IRQ_PRI		DT_INST_0_ST_STM32_WINDOW_WATCHDOG_IRQ_0_PRIORITY
#define DT_WWDT_0_CLOCK_BITS		DT_INST_0_ST_STM32_WINDOW_WATCHDOG_CLOCK_BITS
#define DT_WWDT_0_CLOCK_BUS		DT_INST_0_ST_STM32_WINDOW_WATCHDOG_CLOCK_BUS

#define DT_ADC_1_BASE_ADDRESS		DT_ST_STM32_ADC_40012000_BASE_ADDRESS
#define DT_ADC_1_IRQ			DT_ST_STM32_ADC_40012000_IRQ_0
#define DT_ADC_1_IRQ_PRI		DT_ST_STM32_ADC_40012000_IRQ_0_PRIORITY
#define DT_ADC_1_NAME			DT_ST_STM32_ADC_40012000_LABEL
#define DT_ADC_1_CLOCK_BITS		DT_ST_STM32_ADC_40012000_CLOCK_BITS_0
#define DT_ADC_1_CLOCK_BUS		DT_ST_STM32_ADC_40012000_CLOCK_BUS_0

#define DT_CAN_1_BASE_ADDRESS		DT_ST_STM32_CAN_40006400_BASE_ADDRESS
#define DT_CAN_1_BUS_SPEED		DT_ST_STM32_CAN_40006400_BUS_SPEED
#define DT_CAN_1_NAME			DT_ST_STM32_CAN_40006400_LABEL
#define DT_CAN_1_IRQ_TX			DT_ST_STM32_CAN_40006400_IRQ_TX
#define DT_CAN_1_IRQ_RX0		DT_ST_STM32_CAN_40006400_IRQ_RX0
#define DT_CAN_1_IRQ_RX1		DT_ST_STM32_CAN_40006400_IRQ_RX1
#define DT_CAN_1_IRQ_SCE		DT_ST_STM32_CAN_40006400_IRQ_SCE
#define DT_CAN_1_IRQ_PRIORITY		DT_ST_STM32_CAN_40006400_IRQ_0_PRIORITY
#define DT_CAN_1_SJW			DT_ST_STM32_CAN_40006400_SJW
#define DT_CAN_1_PROP_SEG		DT_ST_STM32_CAN_40006400_PROP_SEG
#define DT_CAN_1_PHASE_SEG1		DT_ST_STM32_CAN_40006400_PHASE_SEG1
#define DT_CAN_1_PHASE_SEG2		DT_ST_STM32_CAN_40006400_PHASE_SEG2
#define DT_CAN_1_CLOCK_BUS		DT_ST_STM32_CAN_40006400_CLOCK_BUS
#define DT_CAN_1_CLOCK_BITS		DT_ST_STM32_CAN_40006400_CLOCK_BITS

/* End of SoC Level DTS fixup file */
