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 e90c58a commit 916213e
Show file tree
Hide file tree
Showing 3 changed files with 13 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
10 changes: 10 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,13 @@ 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>,
* <&rcc STM32_SRC_PLL1_Q FDCAN_SEL(1)>;

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
*/
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 916213e

Please sign in to comment.