boards/arm: nucleo_u575zi_q enable CAN

Enable CAN and set it's domain clock source to PLL1_Q.

Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com>
This commit is contained in:
Thomas Stranger 2022-07-20 14:46:22 +02:00 committed by Carles Cufí
commit ab88f5c492
4 changed files with 18 additions and 0 deletions

View file

@ -146,6 +146,8 @@ The Zephyr nucleo_u575zi_q board configuration supports the following hardware f
+-----------+------------+-------------------------------------+
| Interface | Controller | Driver/Component |
+===========+============+=====================================+
| CAN/CANFD | on-chip | canbus |
+-----------+------------+-------------------------------------+
| CLOCK | on-chip | reset and clock control |
+-----------+------------+-------------------------------------+
| DAC | on-chip | DAC Controller |
@ -186,6 +188,9 @@ For mode details please refer to `STM32 Nucleo-144 board User Manual`_.
Default Zephyr Peripheral Mapping:
----------------------------------
- CAN/CANFD_TX: PD1
- CAN/CANFD_RX: PD0
- DAC1_OUT1 : PA4
- I2C_1_SCL : PB8
- I2C_1_SDA : PB9

View file

@ -117,3 +117,13 @@
&rng {
status = "okay";
};
&can1 {
clocks = <&rcc STM32_CLOCK_BUS_APB1_2 0x00000200>,
<&rcc STM32_SRC_PLL1_Q FDCAN1_SEL(1)>;
pinctrl-0 = <&fdcan1_rx_pd0 &fdcan1_tx_pd1>;
pinctrl-names = "default";
bus-speed = <125000>;
bus-speed-data = <1000000>;
status = "okay";
};

View file

@ -19,6 +19,7 @@
zephyr,shell-uart = &usart1;
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,canbus = &can1;
};
aliases {

View file

@ -10,6 +10,8 @@ supported:
- arduino_i2c
- arduino_serial
- arduino_spi
- can
- canfd
- dac
- gpio
- i2c