boards: st: stm32n6570_dk: Enable OTG HS peripheral

Enable the USB OTG HS node of the stm32n6570_dk board

Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <marwa.ibenelhadjmessaoud-ext@st.com>
This commit is contained in:
IBEN EL HADJ MESSAOUD Marwa 2025-01-30 16:46:18 +01:00 committed by Benjamin Cabé
commit 752e1fe381
3 changed files with 40 additions and 0 deletions

View file

@ -66,6 +66,36 @@ Supported Features
.. zephyr:board-supported-hw::
USB
===
The USB pin assignments on the STM32N657XX microcontroller are immutable. This means that the specific
pins designated for USB functionality are fixed and cannot be changed or reassigned to other functions,
ensuring consistent and reliable USB communication.
USB PIN (IOs)
=============
+------------------+--------------------------------------+
| Name | Description |
+==================+======================================+
| OTG1_HSDM | USB OTG1 High-Speed Data- (negative) |
+------------------+--------------------------------------+
| OTG1_HSDP | USB OTG1 High-Speed Data+ (positive) |
+------------------+--------------------------------------+
| OTG1_ID | USB OTG1 ID Pin |
+------------------+--------------------------------------+
| OTG1_TXRTUNE | USB OTG1 Transmit Retune |
+------------------+--------------------------------------+
| OTG2_HSDM | USB OTG2 High-Speed Data- (negative) |
+------------------+--------------------------------------+
| OTG2_HSDP | USB OTG2 High-Speed Data+ (positive) |
+------------------+--------------------------------------+
| OTG2_ID | USB OTG2 ID Pin |
+------------------+--------------------------------------+
| OTG2_TXRTUNE | USB OTG2 Transmit Retune |
+------------------+--------------------------------------+
Connections and IOs
===================

View file

@ -45,6 +45,12 @@
};
};
&clk_hse {
hse-div2;
clock-frequency = <DT_FREQ_M(48)>;
status = "okay";
};
&clk_hsi {
hsi-div = <1>;
status = "okay";
@ -191,6 +197,9 @@
pinctrl-0 = <&usart2_tx_pd5 &usart2_rx_pf6>;
pinctrl-names = "default";
current-speed = <115200>;
};
zephyr_udc0: &usbotg_hs1 {
status = "okay";
};

View file

@ -16,6 +16,7 @@ supported:
- memc
- spi
- uart
- usb_device
variants:
stm32n6570_dk/stm32n657xx:
twister: false