drivers: clock_control: mcux_sim: convert to DT_INST defines
Convert driver to use DT_INST_ defines. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
a32eed06f7
commit
a9e68d61df
8 changed files with 27 additions and 41 deletions
|
@ -7,14 +7,6 @@
|
|||
/* SoC level DTS fixup file */
|
||||
#define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS
|
||||
|
||||
#define DT_SIM_NAME DT_NXP_KINETIS_SIM_40047000_LABEL
|
||||
#ifdef DT_NXP_KINETIS_SIM_40047000_CLKOUT_DIVIDER
|
||||
#define DT_SIM_CLKOUT_DIVIDER DT_NXP_KINETIS_SIM_40047000_CLKOUT_DIVIDER
|
||||
#endif /* DT_NXP_KINETIS_SIM_40047000_CLKOUT_DIVIDER */
|
||||
#ifdef DT_NXP_KINETIS_SIM_40047000_CLKOUT_SOURCE
|
||||
#define DT_SIM_CLKOUT_SOURCE DT_NXP_KINETIS_SIM_40047000_CLKOUT_SOURCE
|
||||
#endif /* DT_NXP_KINETIS_SIM_40047000_CLKOUT_SOURCE */
|
||||
|
||||
#define DT_FLASH_DEV_BASE_ADDRESS DT_NXP_KINETIS_FTFE_40020000_BASE_ADDRESS
|
||||
#define DT_FLASH_DEV_NAME DT_NXP_KINETIS_FTFE_40020000_LABEL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue