2019-02-01 18:21:51 +05:30
|
|
|
/*
|
|
|
|
* Copyright (c) 2019 Linaro Ltd.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* SoC level DTS fixup file */
|
|
|
|
|
2019-09-19 16:35:52 +02:00
|
|
|
#define DT_NUM_IRQ_PRIO_BITS DT_ARM_V7M_NVIC_E000E100_ARM_NUM_IRQ_PRIORITY_BITS
|
2019-02-01 18:21:51 +05:30
|
|
|
|
2019-09-19 16:35:52 +02:00
|
|
|
#define DT_I2C_1_BASE_ADDRESS DT_ST_STM32_I2C_V1_40005400_BASE_ADDRESS
|
|
|
|
#define DT_I2C_1_EVENT_IRQ_PRI DT_ST_STM32_I2C_V1_40005400_IRQ_EVENT_PRIORITY
|
|
|
|
#define DT_I2C_1_ERROR_IRQ_PRI DT_ST_STM32_I2C_V1_40005400_IRQ_ERROR_PRIORITY
|
|
|
|
#define DT_I2C_1_EVENT_IRQ DT_ST_STM32_I2C_V1_40005400_IRQ_EVENT
|
|
|
|
#define DT_I2C_1_ERROR_IRQ DT_ST_STM32_I2C_V1_40005400_IRQ_ERROR
|
|
|
|
#define DT_I2C_1_BITRATE DT_ST_STM32_I2C_V1_40005400_CLOCK_FREQUENCY
|
|
|
|
#define DT_I2C_1_CLOCK_BITS DT_ST_STM32_I2C_V1_40005400_CLOCK_BITS
|
|
|
|
#define DT_I2C_1_CLOCK_BUS DT_ST_STM32_I2C_V1_40005400_CLOCK_BUS
|
2019-01-04 22:05:03 +05:30
|
|
|
|
2019-09-19 16:35:52 +02:00
|
|
|
#define DT_I2C_2_BASE_ADDRESS DT_ST_STM32_I2C_V1_40005800_BASE_ADDRESS
|
|
|
|
#define DT_I2C_2_EVENT_IRQ_PRI DT_ST_STM32_I2C_V1_40005800_IRQ_EVENT_PRIORITY
|
|
|
|
#define DT_I2C_2_ERROR_IRQ_PRI DT_ST_STM32_I2C_V1_40005800_IRQ_ERROR_PRIORITY
|
|
|
|
#define DT_I2C_2_EVENT_IRQ DT_ST_STM32_I2C_V1_40005800_IRQ_EVENT
|
|
|
|
#define DT_I2C_2_ERROR_IRQ DT_ST_STM32_I2C_V1_40005800_IRQ_ERROR
|
|
|
|
#define DT_I2C_2_BITRATE DT_ST_STM32_I2C_V1_40005800_CLOCK_FREQUENCY
|
|
|
|
#define DT_I2C_2_CLOCK_BITS DT_ST_STM32_I2C_V1_40005800_CLOCK_BITS
|
|
|
|
#define DT_I2C_2_CLOCK_BUS DT_ST_STM32_I2C_V1_40005800_CLOCK_BUS
|
2019-01-04 22:05:03 +05:30
|
|
|
|
2020-03-24 16:38:22 -05:00
|
|
|
#define DT_WDT_0_NAME DT_LABEL(DT_INST(0, st_stm32_watchdog))
|
2020-01-23 12:14:49 +09:00
|
|
|
|
2020-03-18 08:52:28 +09:00
|
|
|
#define DT_ADC_1_NAME DT_ST_STM32_ADC_40012400_LABEL
|
|
|
|
|
2020-03-24 16:38:22 -05:00
|
|
|
#define DT_RTC_0_NAME DT_LABEL(DT_INST(0, st_stm32_rtc))
|
2019-02-01 18:21:51 +05:30
|
|
|
/* End of SoC Level DTS fixup file */
|