Skip to content

Commit 2e66391

Browse files
committed
dts: arm: st: c0: Add USB device node
Added USB device node with compatible "st,stm32-usb". Added usb_fs_phy node with compatible "usb-nop-xceiv". Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <[email protected]>
1 parent 0a0bb27 commit 2e66391

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

dts/arm/st/c0/stm32c071.dtsi

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,19 @@
4444
status = "disabled";
4545
};
4646

47+
usb: usb@40005c00 {
48+
compatible = "st,stm32-usb";
49+
reg = <0x40005c00 0x400>;
50+
interrupts = <8 0>;
51+
interrupt-names = "usb";
52+
num-bidir-endpoints = <8>;
53+
ram-size = <2048>;
54+
phys = <&usb_fs_phy>;
55+
clocks = <&rcc STM32_CLOCK(APB1, 13)>,
56+
<&rcc STM32_SRC_HSE USB_SEL(1)>;
57+
status = "disabled";
58+
};
59+
4760
spi2: spi@40003800 {
4861
compatible = "st,stm32-spi-fifo", "st,stm32-spi";
4962
#address-cells = <1>;
@@ -64,4 +77,9 @@
6477
dma-channels = <5>;
6578
};
6679
};
80+
81+
usb_fs_phy: usbphy {
82+
compatible = "usb-nop-xceiv";
83+
#phy-cells = <0>;
84+
};
6785
};

0 commit comments

Comments
 (0)