boards: st: nucleo_n657x0_q: Enable OTG HS peripheral

Enable the USB OTG HS node of the nucleo_n657x0_q board

Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <marwa.ibenelhadjmessaoud-ext@st.com>
This commit is contained in:
IBEN EL HADJ MESSAOUD Marwa
2024-10-25 13:26:51 +02:00
committed by Benjamin Cabé
parent a3c08e0554
commit 5816fe0b52
3 changed files with 40 additions and 0 deletions

View File

@@ -62,6 +62,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

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

View File

@@ -14,6 +14,7 @@ supported:
- gpio
- spi
- uart
- usb_device
vendor: st
variants:
nucleo_n657x0_q/stm32n657xx: