2019-04-06 21:08:09 +08:00
|
|
|
/* SPDX-License-Identifier: Apache-2.0 */
|
|
|
|
|
2018-01-19 03:40:18 +08:00
|
|
|
/* SoC level DTS fixup file */
|
|
|
|
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_ADC_0_BASE_ADDRESS DT_NXP_KINETIS_ADC16_4003B000_BASE_ADDRESS
|
|
|
|
#define DT_ADC_0_IRQ DT_NXP_KINETIS_ADC16_4003B000_IRQ_0
|
2018-11-22 00:24:00 +08:00
|
|
|
#define DT_ADC_0_IRQ_PRI DT_NXP_KINETIS_ADC16_4003B000_IRQ_0_PRIORITY
|
2018-11-22 00:29:57 +08:00
|
|
|
#define DT_ADC_0_NAME DT_NXP_KINETIS_ADC16_4003B000_LABEL
|
2018-11-13 19:24:15 +08:00
|
|
|
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_SIM_BASE_ADDRESS DT_NXP_KINETIS_SIM_40047000_BASE_ADDRESS
|
|
|
|
#define DT_SIM_NAME DT_NXP_KINETIS_SIM_40047000_LABEL
|
|
|
|
|
2019-05-20 05:42:28 +08:00
|
|
|
#define DT_MCG_NAME DT_NXP_KINETIS_MCG_40064000_LABEL
|
|
|
|
|
2020-01-12 03:39:42 +08:00
|
|
|
#define DT_RTC_0_NAME DT_NXP_KINETIS_RTC_4003D000_LABEL
|
2018-04-25 02:28:08 +08:00
|
|
|
|
2018-01-19 03:40:18 +08:00
|
|
|
#if defined(CONFIG_SOC_MKW22D5) || defined(CONFIG_SOC_MKW24D5)
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS
|
|
|
|
|
|
|
|
#define DT_FLASH_DEV_BASE_ADDRESS DT_NXP_KINETIS_FTFL_40020000_BASE_ADDRESS
|
|
|
|
#define DT_FLASH_DEV_NAME DT_NXP_KINETIS_FTFL_40020000_LABEL
|
2018-11-13 19:24:15 +08:00
|
|
|
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_USBD_KINETIS_NAME DT_NXP_KINETIS_USBD_40072000_LABEL
|
|
|
|
#define DT_USBD_KINETIS_IRQ DT_NXP_KINETIS_USBD_40072000_IRQ_USB_OTG
|
|
|
|
#define DT_USBD_KINETIS_IRQ_PRI DT_NXP_KINETIS_USBD_40072000_IRQ_USB_OTG_PRIORITY
|
|
|
|
#define DT_USBD_KINETIS_BASE_ADDRESS DT_NXP_KINETIS_USBD_40072000_BASE_ADDRESS
|
|
|
|
#define DT_USBD_KINETIS_NUM_BIDIR_EP DT_NXP_KINETIS_USBD_40072000_NUM_BIDIR_ENDPOINTS
|
2018-11-13 19:24:15 +08:00
|
|
|
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_ENTROPY_MCUX_RNGA_BASE_ADDRESS DT_NXP_KINETIS_RNGA_40029000_BASE_ADDRESS
|
|
|
|
#define DT_ENTROPY_MCUX_RNGA_IRQ DT_NXP_KINETIS_RNGA_40029000_IRQ_0
|
|
|
|
#define DT_ENTROPY_MCUX_RNGA_IRQ_PRI DT_NXP_KINETIS_RNGA_40029000_IRQ_0_PRIORITY
|
|
|
|
#define DT_ENTROPY_MCUX_RNGA_NAME DT_NXP_KINETIS_RNGA_40029000_LABEL
|
2018-11-13 19:24:15 +08:00
|
|
|
#define CONFIG_ENTROPY_NAME DT_NXP_KINETIS_RNGA_40029000_LABEL
|
2018-01-19 03:40:18 +08:00
|
|
|
#endif /* CONFIG_SOC_MKW22D5 || CONFIG_SOC_MKW24D5 */
|
|
|
|
|
2018-01-30 03:24:08 +08:00
|
|
|
#if defined(CONFIG_SOC_MKW40Z4) || defined(CONFIG_SOC_MKW41Z4)
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_NUM_IRQ_PRIO_BITS DT_ARM_V6M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS
|
2018-11-13 19:24:15 +08:00
|
|
|
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_FLASH_DEV_BASE_ADDRESS DT_NXP_KINETIS_FTFA_40020000_BASE_ADDRESS
|
|
|
|
#define DT_FLASH_DEV_NAME DT_NXP_KINETIS_FTFA_40020000_LABEL
|
2018-11-13 19:24:15 +08:00
|
|
|
|
2018-11-13 22:15:23 +08:00
|
|
|
#define DT_ENTROPY_MCUX_TRNG_BASE_ADDRESS DT_NXP_KINETIS_TRNG_40029000_BASE_ADDRESS
|
|
|
|
#define DT_ENTROPY_MCUX_TRNG_IRQ DT_NXP_KINETIS_TRNG_40029000_IRQ_0
|
|
|
|
#define DT_ENTROPY_MCUX_TRNG_IRQ_PRI DT_NXP_KINETIS_TRNG_40029000_IRQ_0_PRIORITY
|
|
|
|
#define DT_ENTROPY_MCUX_TRNG_NAME DT_NXP_KINETIS_TRNG_40029000_LABEL
|
2018-11-13 19:24:15 +08:00
|
|
|
#define CONFIG_ENTROPY_NAME DT_NXP_KINETIS_TRNG_40029000_LABEL
|
2018-11-03 19:50:44 +08:00
|
|
|
|
2018-01-30 03:24:08 +08:00
|
|
|
#endif /* CONFIG_SOC_MKW40Z4 || CONFIG_SOC_MKW41Z4 */
|
2018-01-19 03:40:18 +08:00
|
|
|
/* End of SoC Level DTS fixup file */
|