dts: arm: stm32f4: add CAN_2 controller

Add the CAN controller device tree node for CAN_2 of the STM32F4 SoC
series.

Signed-off-by: Ivo Clarysse <ivo@bcdevices.com>
This commit is contained in:
Ivo Clarysse 2020-01-25 06:59:38 -08:00 committed by Anas Nashif
commit 0c8a99582e
2 changed files with 32 additions and 0 deletions

View file

@ -523,4 +523,19 @@
#define DT_CAN_1_CLOCK_BUS DT_ST_STM32_CAN_40006400_CLOCK_BUS
#define DT_CAN_1_CLOCK_BITS DT_ST_STM32_CAN_40006400_CLOCK_BITS
#define DT_CAN_2_BASE_ADDRESS DT_ST_STM32_CAN_40006800_BASE_ADDRESS
#define DT_CAN_2_BUS_SPEED DT_ST_STM32_CAN_40006800_BUS_SPEED
#define DT_CAN_2_NAME DT_ST_STM32_CAN_40006800_LABEL
#define DT_CAN_2_IRQ_TX DT_ST_STM32_CAN_40006800_IRQ_TX
#define DT_CAN_2_IRQ_RX0 DT_ST_STM32_CAN_40006800_IRQ_RX0
#define DT_CAN_2_IRQ_RX1 DT_ST_STM32_CAN_40006800_IRQ_RX1
#define DT_CAN_2_IRQ_SCE DT_ST_STM32_CAN_40006800_IRQ_SCE
#define DT_CAN_2_IRQ_PRIORITY DT_ST_STM32_CAN_40006800_IRQ_0_PRIORITY
#define DT_CAN_2_SJW DT_ST_STM32_CAN_40006800_SJW
#define DT_CAN_2_PROP_SEG DT_ST_STM32_CAN_40006800_PROP_SEG
#define DT_CAN_2_PHASE_SEG1 DT_ST_STM32_CAN_40006800_PHASE_SEG1
#define DT_CAN_2_PHASE_SEG2 DT_ST_STM32_CAN_40006800_PHASE_SEG2
#define DT_CAN_2_CLOCK_BUS DT_ST_STM32_CAN_40006800_CLOCK_BUS
#define DT_CAN_2_CLOCK_BITS DT_ST_STM32_CAN_40006800_CLOCK_BITS
/* End of SoC Level DTS fixup file */