1/*
2 * Copyright (c) 2023 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/delete-node/ &zephyr_udc0;
8
9/ {
10	soc {
11		dwc2_fsotg0: usb@50000000 {
12			compatible = "st,stm32f4-fsotg", "snps,dwc2";
13			reg = <0x50000000 0x40000>;
14			interrupts = <67 0>;
15			interrupt-names = "fsotg";
16			clocks = <&rcc STM32_CLOCK_BUS_AHB2 0x00000080>,
17				 <&rcc STM32_SRC_PLL_Q NO_SEL>;
18			num-out-eps = <6>;
19			num-in-eps = <6>;
20			ghwcfg1 = <0x00000000>;
21			ghwcfg2 = <0x229ed520>;
22			ghwcfg4 = <0x17f08030>;
23			status = "disabled";
24		};
25	};
26};
27
28zephyr_udc0: &dwc2_fsotg0 {
29	pinctrl-0 = <&usb_otg_fs_dm_pa11 &usb_otg_fs_dp_pa12>;
30	pinctrl-names = "default";
31	status = "okay";
32	cdc_acm_uart0 {
33		compatible = "zephyr,cdc-acm-uart";
34	};
35};
36