Skip to content

Commit 285c950

Browse files
Daniel Wagenknechtgalak
Daniel Wagenknecht
authored andcommitted
dts: stm32f1: move dts.fixup to soc family level
This moves and merges the existing board-level dts.fixup files for STM32 F1 SOC family into one soc family level dts.fixup file. No new fixup blocks have been added, only fixup blocks, that were part of at least one board level dts.fixup file are present in soc family level dts.fixup file. Contributes to #5707 Signed-off-by: Daniel Wagenknecht <[email protected]>
1 parent d76858f commit 285c950

File tree

6 files changed

+31
-102
lines changed

6 files changed

+31
-102
lines changed
+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/* SoC level DTS fixup file */
2+
3+
#define CONFIG_NUM_IRQ_PRIO_BITS ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS
4+
5+
#define CONFIG_UART_STM32_PORT_1_BASE_ADDRESS ST_STM32_USART_40013800_BASE_ADDRESS
6+
#define CONFIG_UART_STM32_PORT_1_BAUD_RATE ST_STM32_USART_40013800_CURRENT_SPEED
7+
#define CONFIG_UART_STM32_PORT_1_IRQ_PRI ST_STM32_USART_40013800_IRQ_0_PRIORITY
8+
#define CONFIG_UART_STM32_PORT_1_NAME ST_STM32_USART_40013800_LABEL
9+
#define PORT_1_IRQ ST_STM32_USART_40013800_IRQ_0
10+
11+
#define CONFIG_UART_STM32_PORT_2_BASE_ADDRESS ST_STM32_USART_40004400_BASE_ADDRESS
12+
#define CONFIG_UART_STM32_PORT_2_BAUD_RATE ST_STM32_USART_40004400_CURRENT_SPEED
13+
#define CONFIG_UART_STM32_PORT_2_IRQ_PRI ST_STM32_USART_40004400_IRQ_0_PRIORITY
14+
#define CONFIG_UART_STM32_PORT_2_NAME ST_STM32_USART_40004400_LABEL
15+
#define PORT_2_IRQ ST_STM32_USART_40004400_IRQ_0
16+
17+
#define CONFIG_UART_STM32_PORT_3_BASE_ADDRESS ST_STM32_USART_40004800_BASE_ADDRESS
18+
#define CONFIG_UART_STM32_PORT_3_BAUD_RATE ST_STM32_USART_40004800_CURRENT_SPEED
19+
#define CONFIG_UART_STM32_PORT_3_IRQ_PRI ST_STM32_USART_40004800_IRQ_0_PRIORITY
20+
#define CONFIG_UART_STM32_PORT_3_NAME ST_STM32_USART_40004800_LABEL
21+
#define PORT_3_IRQ ST_STM32_USART_40004800_IRQ_0
22+
23+
#define CONFIG_I2C_2_BASE_ADDRESS ST_STM32_I2C_V1_40005800_BASE_ADDRESS
24+
#define CONFIG_I2C_2_EVENT_IRQ_PRI ST_STM32_I2C_V1_40005800_IRQ_EVENT_PRIORITY
25+
#define CONFIG_I2C_2_ERROR_IRQ_PRI ST_STM32_I2C_V1_40005800_IRQ_ERROR_PRIORITY
26+
#define CONFIG_I2C_2_NAME ST_STM32_I2C_V1_40005800_LABEL
27+
#define CONFIG_I2C_2_EVENT_IRQ ST_STM32_I2C_V1_40005800_IRQ_EVENT
28+
#define CONFIG_I2C_2_ERROR_IRQ ST_STM32_I2C_V1_40005800_IRQ_ERROR
29+
#define CONFIG_I2C_2_BITRATE ST_STM32_I2C_V1_40005800_CLOCK_FREQUENCY
30+
31+
/* End of SoC Level DTS fixup file */

boards/arm/nucleo_f103rb/dts.fixup

-14
This file was deleted.

boards/arm/olimexino_stm32/dts.fixup

-34
This file was deleted.

boards/arm/stm3210c_eval/dts.fixup

-14
This file was deleted.

boards/arm/stm32_min_dev/dts.fixup

-26
This file was deleted.

boards/arm/stm32_mini_a15/dts.fixup

-14
This file was deleted.

0 commit comments

Comments
 (0)