drivers: mcux_rtc: convert to DT_INST defines
Convert driver to use DT_INST_ defines. Replace dts_fixup.h use for DT_RTC_0_NAME with DT_INST_0_NXP_KINETIS_RTC_LABEL to be consistent. Also, remove the aliases that had been used for this driver in various nxp_k*.dtsi. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
a49de1543b
commit
e04a367408
9 changed files with 11 additions and 15 deletions
|
@ -7,7 +7,7 @@
|
|||
#define DT_ADC_0_IRQ_PRI DT_NXP_KINETIS_ADC16_4003B000_IRQ_0_PRIORITY
|
||||
#define DT_ADC_0_NAME DT_NXP_KINETIS_ADC16_4003B000_LABEL
|
||||
|
||||
#define DT_RTC_0_NAME DT_NXP_KINETIS_RTC_4003D000_LABEL
|
||||
#define DT_RTC_0_NAME DT_INST_0_NXP_KINETIS_RTC_LABEL
|
||||
|
||||
#if defined(CONFIG_SOC_MKW22D5) || defined(CONFIG_SOC_MKW24D5)
|
||||
#define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue