Skip to content

Commit 08cd15d

Browse files
arbraunsaescolar
authored andcommitted
boards: stm32f769i_disco: enable USB
This board uses a ULPI PHY to provide HS (USB 2.0) connectivitiy instead of the internal PHY, which only supports FW (USB 1.x). Signed-off-by: Armin Brauns <[email protected]>
1 parent 74cc85c commit 08cd15d

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

boards/st/stm32f769i_disco/stm32f769i_disco.dts

+24
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@
3232
zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_RAM) )>;
3333
};
3434

35+
otghs_ulpi_phy: otghs_ulpis_phy {
36+
compatible = "usb-ulpi-phy";
37+
#phy-cells = <0>;
38+
};
39+
3540
leds {
3641
compatible = "gpio-leds";
3742
red_led_1:led_1 {
@@ -238,3 +243,22 @@ arduino_serial: &usart6 {};
238243
};
239244
};
240245
};
246+
247+
zephyr_udc0: &usbotg_hs {
248+
pinctrl-0 = <&usb_otg_hs_ulpi_ck_pa5
249+
&usb_otg_hs_ulpi_d0_pa3
250+
&usb_otg_hs_ulpi_d1_pb0
251+
&usb_otg_hs_ulpi_d2_pb1
252+
&usb_otg_hs_ulpi_d3_pb10
253+
&usb_otg_hs_ulpi_d4_pb11
254+
&usb_otg_hs_ulpi_d5_pb12
255+
&usb_otg_hs_ulpi_d6_pb13
256+
&usb_otg_hs_ulpi_d7_pb5
257+
&usb_otg_hs_ulpi_stp_pc0
258+
&usb_otg_hs_ulpi_dir_pi11
259+
&usb_otg_hs_ulpi_nxt_ph4>;
260+
pinctrl-names = "default";
261+
maximum-speed = "high-speed";
262+
phys = <&otghs_ulpi_phy>;
263+
status = "okay";
264+
};

0 commit comments

Comments
 (0)