Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions boards/st/nucleo_u385rg_q/nucleo_u385rg_q.dts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@
status = "okay";
};

&clk_hsi48 {
status = "okay";
};

&clk_lse {
status = "okay";
};
Expand Down Expand Up @@ -190,3 +194,9 @@
&wwdg {
status = "okay";
};

zephyr_udc0: &usb {
pinctrl-0 = <&usb_dm_pa11 &usb_dp_pa12>;
pinctrl-names = "default";
status = "okay";
};
2 changes: 2 additions & 0 deletions boards/st/nucleo_u385rg_q/nucleo_u385rg_q.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ supported:
- spi
- uart
- usart
- usb_device
- usbd
- watchdog
ram: 256
flash: 1024
19 changes: 19 additions & 0 deletions dts/arm/st/u3/stm32u3.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,25 @@
STM32_DMA_16BITS)>;
status = "disabled";
};

usb: usb@40016000 {
compatible = "st,stm32-usb";
reg = <0x40016000 0x400>;
interrupts = <73 0>;
interrupt-names = "usb";
num-bidir-endpoints = <8>;
ram-size = <2048>;
maximum-speed = "full-speed";
clocks = <&rcc STM32_CLOCK(APB2, 24)>,
<&rcc STM32_SRC_HSI48 ICLK_SEL(0)>;
phys = <&usb_fs_phy>;
status = "disabled";
};
};

usb_fs_phy: usb_fs_phy {
compatible = "usb-nop-xceiv";
#phy-cells = <0>;
};
};

Expand Down