boards: arm: stm32 disco kit target board has USB-OTG instance

This commit enables the USB OTG full-speed instance (OTG)
on the target board b_u585i_iot02a from STMicroelectronics.
OTG is available on USB type-C connector (CN1).

Signed-off-by: Francois Ramu <francois.ramu@st.com>
This commit is contained in:
Francois Ramu 2021-10-27 13:06:09 +02:00 committed by Maureen Helm
commit cd6adfe074
3 changed files with 9 additions and 0 deletions

View file

@ -67,6 +67,11 @@
status = "okay";
};
zephyr_udc0: &usbotg_fs {
pinctrl-0 = <&usb_otg_fs_dm_pa11 &usb_otg_fs_dp_pa12>;
status = "okay";
};
&dac1 {
pinctrl-0 = <&dac1_out1_pa4>;
status = "okay";

View file

@ -12,6 +12,7 @@ supported:
- arduino_i2c
- arduino_spi
- hts221
- usb_device
- spi
- dac
- watchdog

View file

@ -186,6 +186,8 @@ The Zephyr b_u585i_iot02a board configuration supports the following hardware fe
+-----------+------------+-------------------------------------+
| WATCHDOG | on-chip | independent watchdog |
+-----------+------------+-------------------------------------+
| USB | on-chip | usb_device |
+-----------+------------+-------------------------------------+
The default configuration can be found in the defconfig file:
@ -211,6 +213,7 @@ Default Zephyr Peripheral Mapping:
- I2C_1 SDA/SDL : PB9/PB8 (Arduino I2C)
- I2C_2 SDA/SDL : PH5/PH4
- DAC1 CH1 : PA4 (STMOD+1)
- USB OTG : PA11/PA12
System Clock
------------