2018-12-22 01:53:34 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018 Nordic Semiconductor ASA
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* SoC level DTS fixup file */
|
|
|
|
|
|
|
|
#define DT_NUM_IRQ_PRIO_BITS DT_ARM_V8M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS
|
|
|
|
|
2018-12-19 02:26:24 +08:00
|
|
|
#define DT_NUM_MPU_REGIONS DT_ARM_ARMV8M_MPU_E000ED90_ARM_NUM_MPU_REGIONS
|
|
|
|
|
2018-12-22 01:53:34 +08:00
|
|
|
#define DT_ADC_0_NAME DT_NORDIC_NRF_SAADC_ADC_0_LABEL
|
|
|
|
|
|
|
|
#define DT_UART_0_NAME DT_NORDIC_NRF_UARTE_UART_0_LABEL
|
|
|
|
#define DT_UART_1_NAME DT_NORDIC_NRF_UARTE_UART_1_LABEL
|
|
|
|
#define DT_UART_2_NAME DT_NORDIC_NRF_UARTE_UART_2_LABEL
|
|
|
|
#define DT_UART_3_NAME DT_NORDIC_NRF_UARTE_UART_3_LABEL
|
|
|
|
|
|
|
|
#define DT_FLASH_DEV_NAME \
|
|
|
|
DT_NORDIC_NRF91_FLASH_CONTROLLER_FLASH_CONTROLLER_LABEL
|
|
|
|
|
|
|
|
#define DT_GPIO_P0_DEV_NAME DT_NORDIC_NRF_GPIO_GPIO_0_LABEL
|
|
|
|
|
2019-12-06 18:09:51 +08:00
|
|
|
#define DT_I2C_0_NAME DT_NORDIC_NRF_TWIM_I2C_0_LABEL
|
|
|
|
#define DT_I2C_1_NAME DT_NORDIC_NRF_TWIM_I2C_1_LABEL
|
|
|
|
#define DT_I2C_2_NAME DT_NORDIC_NRF_TWIM_I2C_2_LABEL
|
|
|
|
#define DT_I2C_3_NAME DT_NORDIC_NRF_TWIM_I2C_3_LABEL
|
2018-12-22 01:53:34 +08:00
|
|
|
|
2019-12-06 18:41:51 +08:00
|
|
|
#define DT_SPI_0_NAME DT_NORDIC_NRF_SPIM_SPI_0_LABEL
|
|
|
|
#define DT_SPI_1_NAME DT_NORDIC_NRF_SPIM_SPI_1_LABEL
|
|
|
|
#define DT_SPI_2_NAME DT_NORDIC_NRF_SPIM_SPI_2_LABEL
|
|
|
|
#define DT_SPI_3_NAME DT_NORDIC_NRF_SPIM_SPI_3_LABEL
|
2018-12-22 01:53:34 +08:00
|
|
|
|
2019-06-11 19:27:19 +08:00
|
|
|
#define DT_WDT_0_NAME DT_NORDIC_NRF_WATCHDOG_WDT_0_LABEL
|
2018-12-22 01:53:34 +08:00
|
|
|
|
2019-06-11 19:27:19 +08:00
|
|
|
#define DT_TIMER_0_NAME DT_NORDIC_NRF_TIMER_TIMER_0_LABEL
|
|
|
|
#define DT_TIMER_1_NAME DT_NORDIC_NRF_TIMER_TIMER_1_LABEL
|
|
|
|
#define DT_TIMER_2_NAME DT_NORDIC_NRF_TIMER_TIMER_2_LABEL
|
|
|
|
|
|
|
|
#define DT_RTC_0_NAME DT_NORDIC_NRF_RTC_RTC_0_LABEL
|
|
|
|
#define DT_RTC_1_NAME DT_NORDIC_NRF_RTC_RTC_1_LABEL
|
2018-12-22 01:53:34 +08:00
|
|
|
|
|
|
|
/* End of SoC Level DTS fixup file */
|