zephyr/soc/arm/atmel_sam0/samd21/dts_fixup.h
Benjamin Valentin 6b46d38927 soc: sam0: add I2C to dts_fixup.h
tests/drivers/i2c/i2c_api wants to have CONFIG_I2C_0_NAME defined.
Add it to dts_fixup.h as was done for Watchdog and & timer.

Signed-off-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2019-05-30 06:48:53 -05:00

15 lines
420 B
C

/* SPDX-License-Identifier: Apache-2.0 */
/* SoC level DTS fixup file */
#define DT_FLASH_DEV_NAME DT_ATMEL_SAM0_NVMCTRL_0_LABEL
#define CONFIG_WDT_0_NAME DT_ATMEL_SAM0_WATCHDOG_0_LABEL
#define CONFIG_COUNTER_0_NAME DT_ATMEL_SAM0_TC32_0_LABEL
#define CONFIG_I2C_0_NAME DT_ATMEL_SAM0_I2C_0_LABEL
#define DT_NUM_IRQ_PRIO_BITS DT_ARM_V6M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS
/* End of SoC Level DTS fixup file */