Skip to content

Commit

Permalink
boards: arm: nucleo_h745zi_q
Browse files Browse the repository at this point in the history
add fdcan1, fdcan2 and usb_fs DT configurations

Signed-off-by: Alexander Kozhinov <ak.alexander.kozhinov@gmail.com>
  • Loading branch information
KozhinovAlexander committed Nov 4, 2024
1 parent 5c9b0a5 commit c7199bb
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions boards/st/nucleo_h745zi_q/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ features:
+-------------+------------+-------------------------------------+
| SPI | on-chip | spi |
+-------------+------------+-------------------------------------+
| FDCAN | on-chip | CAN-FD Control Area Network |
+-------------+------------+-------------------------------------+

Other hardware features are not yet supported on this Zephyr port.

Expand Down
11 changes: 11 additions & 0 deletions boards/st/nucleo_h745zi_q/nucleo_h745zi_q_stm32h745xx_m7.dts
Original file line number Diff line number Diff line change
Expand Up @@ -144,3 +144,14 @@ zephyr_udc0: &usbotg_fs {
pinctrl-names = "default";
status = "okay";
};

&fdcan1 {
pinctrl-0 = <&fdcan1_rx_pd0 &fdcan1_tx_pd1>;
/* HSE will be used by default. Uncomment below to enable APB1.2 120MHz clock */
/*
* clocks = <&rcc STM32_CLOCK_BUS_APB1_2 0x00000100>,

Check warning on line 152 in boards/st/nucleo_h745zi_q/nucleo_h745zi_q_stm32h745xx_m7.dts

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

BLOCK_COMMENT_STYLE

boards/st/nucleo_h745zi_q/nucleo_h745zi_q_stm32h745xx_m7.dts:152 Block comments should align the * on each line
* <&rcc STM32_SRC_PLL1_Q FDCAN_SEL(1)>;
*/
pinctrl-names = "default";
status = "okay";
};
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ supported:
- counter
- i2c
- pwm
- can
- netif:eth
- spi
- usb_device
Expand Down

0 comments on commit c7199bb

Please sign in to comment.