boards: st: nucleo_h745zi_q: enable USB

Add USB OTG FS node to the devicetree of Cortex-M7 core.

Signed-off-by: Gustavo Silva <gustavograzs@gmail.com>
This commit is contained in:
Gustavo Silva 2024-03-02 17:21:11 -03:00 committed by Maureen Helm
parent 1ec7116042
commit 1686ae763d
3 changed files with 32 additions and 22 deletions

View file

@ -94,32 +94,34 @@ Supported Features
The Zephyr nucleo_h745zi_q board configuration supports the following hardware
features:
+-----------+------------+-------------------------------------+
+-------------+------------+-------------------------------------+
| Interface | Controller | Driver/Component |
+===========+============+=====================================+
+=============+============+=====================================+
| NVIC | on-chip | nested vector interrupt controller |
+-----------+------------+-------------------------------------+
+-------------+------------+-------------------------------------+
| UART | on-chip | serial port |
+-----------+------------+-------------------------------------+
+-------------+------------+-------------------------------------+
| PINMUX | on-chip | pinmux |
+-----------+------------+-------------------------------------+
+-------------+------------+-------------------------------------+
| GPIO | on-chip | gpio |
+-----------+------------+-------------------------------------+
+-------------+------------+-------------------------------------+
| RTC | on-chip | counter |
+-----------+------------+-------------------------------------+
+-------------+------------+-------------------------------------+
| I2C | on-chip | i2c |
+-----------+------------+-------------------------------------+
+-------------+------------+-------------------------------------+
| PWM | on-chip | pwm |
+-----------+------------+-------------------------------------+
+-------------+------------+-------------------------------------+
| ETHERNET | on-chip | ethernet |
+-----------+------------+-------------------------------------+
+-------------+------------+-------------------------------------+
| RNG | on-chip | True Random number generator |
+-----------+------------+-------------------------------------+
+-------------+------------+-------------------------------------+
| USB OTG FS | on-chip | USB device |
+-------------+------------+-------------------------------------+
Other hardware features are not yet supported on this Zephyr port.
The default configuration per core can be found in the defconfig files:
:zephyr_file:`boards/st/nucleo_h745zi_q/nucleo_h745zi_q_stm32h745xx_m7_defconfig`` and
:zephyr_file:`boards/st/nucleo_h745zi_q/nucleo_h745zi_q_stm32h745xx_m7_defconfig` and
:zephyr_file:`boards/st/nucleo_h745zi_q/nucleo_h745zi_q_stm32h745xx_m4_defconfig`
For more details please refer to `STM32 Nucleo-144 board User Manual`_.

View file

@ -121,3 +121,9 @@
&rng {
status = "okay";
};
zephyr_udc0: &usbotg_fs {
pinctrl-0 = <&usb_otg_fs_dm_pa11 &usb_otg_fs_dp_pa12>;
pinctrl-names = "default";
status = "okay";
};

View file

@ -17,4 +17,6 @@ supported:
- i2c
- pwm
- netif:eth
- usb_cdc
- usb_device
vendor: st