Skip to content

Commit a2e7f6c

Browse files
sandiecao-dcConchuOD
authored andcommitted
riscv: dts: starfive: fml13v01: enable USB 3.0 port
Add usb_cdns3 and usb0_pins configuration to support super speed USB device on the FML13V01 board. Signed-off-by: Sandie Cao <[email protected]> Tested-by: Maud Spierings <[email protected]> Reviewed-by: Emil Renner Berthing <[email protected]> Signed-off-by: Conor Dooley <[email protected]>
1 parent 0af2f6b commit a2e7f6c

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

arch/riscv/boot/dts/starfive/jh7110-deepcomputing-fml13v01.dts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,28 @@
4343
slew-rate = <0>;
4444
};
4545
};
46+
47+
usb0_pins: usb0-0 {
48+
vbus-pins {
49+
pinmux = <GPIOMUX(25, GPOUT_SYS_USB_DRIVE_VBUS,
50+
GPOEN_ENABLE,
51+
GPI_NONE)>;
52+
bias-disable;
53+
input-disable;
54+
input-schmitt-disable;
55+
slew-rate = <0>;
56+
};
57+
};
4658
};
4759

4860
&usb0 {
4961
dr_mode = "host";
62+
pinctrl-names = "default";
63+
pinctrl-0 = <&usb0_pins>;
5064
status = "okay";
5165
};
66+
67+
&usb_cdns3 {
68+
phys = <&usbphy0>, <&pciephy0>;
69+
phy-names = "cdns3,usb2-phy", "cdns3,usb3-phy";
70+
};

0 commit comments

Comments
 (0)