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 <armin.brauns@embedded-solutions.at>
This commit is contained in:
Armin Brauns 2024-03-28 13:16:01 +00:00 committed by Alberto Escolar
commit 08cd15d5b0

View file

@ -32,6 +32,11 @@
zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_RAM) )>;
};
otghs_ulpi_phy: otghs_ulpis_phy {
compatible = "usb-ulpi-phy";
#phy-cells = <0>;
};
leds {
compatible = "gpio-leds";
red_led_1:led_1 {
@ -238,3 +243,22 @@ arduino_serial: &usart6 {};
};
};
};
zephyr_udc0: &usbotg_hs {
pinctrl-0 = <&usb_otg_hs_ulpi_ck_pa5
&usb_otg_hs_ulpi_d0_pa3
&usb_otg_hs_ulpi_d1_pb0
&usb_otg_hs_ulpi_d2_pb1
&usb_otg_hs_ulpi_d3_pb10
&usb_otg_hs_ulpi_d4_pb11
&usb_otg_hs_ulpi_d5_pb12
&usb_otg_hs_ulpi_d6_pb13
&usb_otg_hs_ulpi_d7_pb5
&usb_otg_hs_ulpi_stp_pc0
&usb_otg_hs_ulpi_dir_pi11
&usb_otg_hs_ulpi_nxt_ph4>;
pinctrl-names = "default";
maximum-speed = "high-speed";
phys = <&otghs_ulpi_phy>;
status = "okay";
};