boards: st: nucleo_h723zg: enable fdcan1

Enable FDCAN1 on the ST Nucleo H723ZG development board.

Signed-off-by: Henrik Brix Andersen <henrik@brixandersen.dk>
This commit is contained in:
Henrik Brix Andersen 2024-08-22 19:37:07 +00:00 committed by Carles Cufí
commit 15f5e2de07
3 changed files with 30 additions and 0 deletions

View file

@ -24,6 +24,7 @@
zephyr,dtcm = &dtcm;
zephyr,sram = &sram0;
zephyr,flash = &flash0;
zephyr,canbus = &fdcan1;
};
leds: leds {
@ -97,6 +98,16 @@
status = "okay";
};
&pll2 {
div-m = <1>;
mul-n = <10>;
div-p = <1>;
div-q = <1>;
div-r = <1>;
clocks = <&clk_hse>;
status = "okay";
};
&rcc {
clocks = <&pll>;
clock-frequency = <DT_FREQ_M(550)>;
@ -190,3 +201,11 @@ zephyr_udc0: &usbotg_hs {
&rng {
status = "okay";
};
&fdcan1 {
pinctrl-0 = <&fdcan1_rx_pd0 &fdcan1_tx_pd1>;
pinctrl-names = "default";
clocks = <&rcc STM32_CLOCK_BUS_APB1_2 0x00000100>,
<&rcc STM32_SRC_PLL2_Q FDCAN_SEL(2)>;
status = "okay";
};