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:
parent
261d14b58b
commit
cd6adfe074
3 changed files with 9 additions and 0 deletions
|
@ -67,6 +67,11 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
zephyr_udc0: &usbotg_fs {
|
||||||
|
pinctrl-0 = <&usb_otg_fs_dm_pa11 &usb_otg_fs_dp_pa12>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&dac1 {
|
&dac1 {
|
||||||
pinctrl-0 = <&dac1_out1_pa4>;
|
pinctrl-0 = <&dac1_out1_pa4>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
|
@ -12,6 +12,7 @@ supported:
|
||||||
- arduino_i2c
|
- arduino_i2c
|
||||||
- arduino_spi
|
- arduino_spi
|
||||||
- hts221
|
- hts221
|
||||||
|
- usb_device
|
||||||
- spi
|
- spi
|
||||||
- dac
|
- dac
|
||||||
- watchdog
|
- watchdog
|
||||||
|
|
|
@ -186,6 +186,8 @@ The Zephyr b_u585i_iot02a board configuration supports the following hardware fe
|
||||||
+-----------+------------+-------------------------------------+
|
+-----------+------------+-------------------------------------+
|
||||||
| WATCHDOG | on-chip | independent watchdog |
|
| WATCHDOG | on-chip | independent watchdog |
|
||||||
+-----------+------------+-------------------------------------+
|
+-----------+------------+-------------------------------------+
|
||||||
|
| USB | on-chip | usb_device |
|
||||||
|
+-----------+------------+-------------------------------------+
|
||||||
|
|
||||||
The default configuration can be found in the defconfig file:
|
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_1 SDA/SDL : PB9/PB8 (Arduino I2C)
|
||||||
- I2C_2 SDA/SDL : PH5/PH4
|
- I2C_2 SDA/SDL : PH5/PH4
|
||||||
- DAC1 CH1 : PA4 (STMOD+1)
|
- DAC1 CH1 : PA4 (STMOD+1)
|
||||||
|
- USB OTG : PA11/PA12
|
||||||
|
|
||||||
System Clock
|
System Clock
|
||||||
------------
|
------------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue