Skip to content

Commit 1a8f5ba

Browse files
marwaiehm-stkartben
authored andcommitted
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 2e59e82 commit 1a8f5ba

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

dts/arm/st/c0/stm32c071.dtsi

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,20 @@
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+
maximum-speed = "full-speed";
55+
phys = <&usb_fs_phy>;
56+
clocks = <&rcc STM32_CLOCK(APB1, 13)>,
57+
<&rcc STM32_SRC_HSE USB_SEL(1)>;
58+
status = "disabled";
59+
};
60+
4761
spi2: spi@40003800 {
4862
compatible = "st,stm32-spi-fifo", "st,stm32-spi";
4963
#address-cells = <1>;
@@ -64,4 +78,9 @@
6478
dma-channels = <5>;
6579
};
6680
};
81+
82+
usb_fs_phy: usbphy {
83+
compatible = "usb-nop-xceiv";
84+
#phy-cells = <0>;
85+
};
6786
};

0 commit comments

Comments
 (0)