drivers: counter: rtc_stm32: convert to DT_INST defines
Convert driver to use DT_INST_ defines. Removed DT_RTC_0 fixup macros but keep DT_RTC_NAME_0 as it is still in use across RTC users. Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
parent
0c9b537edf
commit
f289a6f3be
9 changed files with 14 additions and 53 deletions
|
@ -181,11 +181,6 @@
|
|||
#define DT_UART_STM32_UART_8_CLOCK_BUS DT_ST_STM32_UART_40007C00_CLOCK_BUS
|
||||
#define DT_UART_STM32_UART_8_HW_FLOW_CONTROL DT_ST_STM32_UART_40007C00_HW_FLOW_CONTROL
|
||||
|
||||
#define DT_RTC_0_BASE_ADDRESS DT_ST_STM32_RTC_58004000_BASE_ADDRESS
|
||||
#define DT_RTC_0_IRQ_PRI DT_ST_STM32_RTC_58004000_IRQ_0_PRIORITY
|
||||
#define DT_RTC_0_IRQ DT_ST_STM32_RTC_58004000_IRQ_0
|
||||
#define DT_RTC_0_NAME DT_ST_STM32_RTC_58004000_LABEL
|
||||
#define DT_RTC_0_CLOCK_BITS DT_ST_STM32_RTC_58004000_CLOCK_BITS
|
||||
#define DT_RTC_0_CLOCK_BUS DT_ST_STM32_RTC_58004000_CLOCK_BUS
|
||||
#define DT_RTC_0_NAME DT_INST_0_ST_STM32_RTC_LABEL
|
||||
|
||||
/* End of SoC Level DTS fixup file */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue