drivers: counter: Refactor mcux gpt driver to use generated dts macros
Refactors the mcux gpt driver to use generated device tree macros directly. Removes now unused dts fixup macros from i.mx rt socs. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
9e14543c19
commit
b8ad9969ef
3 changed files with 7 additions and 14 deletions
|
@ -13,16 +13,7 @@
|
|||
#define DT_MCUX_CCM_BASE_ADDRESS DT_NXP_IMX_CCM_400FC000_BASE_ADDRESS
|
||||
#define DT_MCUX_CCM_NAME DT_NXP_IMX_CCM_400FC000_LABEL
|
||||
|
||||
#define DT_COUNTER_MCUX_GPT_1_BASE_ADDRESS DT_NXP_IMX_GPT_401EC000_BASE_ADDRESS
|
||||
#define DT_COUNTER_MCUX_GPT_1_IRQ DT_NXP_IMX_GPT_401EC000_IRQ_0
|
||||
#define DT_COUNTER_MCUX_GPT_1_IRQ_PRI DT_NXP_IMX_GPT_401EC000_IRQ_0_PRIORITY
|
||||
#define DT_COUNTER_MCUX_GPT_1_NAME DT_NXP_IMX_GPT_401EC000_LABEL
|
||||
#define DT_RTC_0_NAME DT_COUNTER_MCUX_GPT_1_NAME
|
||||
|
||||
#define DT_COUNTER_MCUX_GPT_2_BASE_ADDRESS DT_NXP_IMX_GPT_401F0000_BASE_ADDRESS
|
||||
#define DT_COUNTER_MCUX_GPT_2_IRQ DT_NXP_IMX_GPT_401F0000_IRQ_0
|
||||
#define DT_COUNTER_MCUX_GPT_2_IRQ_PRI DT_NXP_IMX_GPT_401F0000_IRQ_0_PRIORITY
|
||||
#define DT_COUNTER_MCUX_GPT_2_NAME DT_NXP_IMX_GPT_401F0000_LABEL
|
||||
#define DT_RTC_1_NAME DT_COUNTER_MCUX_GPT_2_NAME
|
||||
|
||||
#define DT_ETH_MCUX_0_NAME DT_NXP_KINETIS_ETHERNET_402D8000_LABEL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue