Skip to content

Commit 6e8dcd1

Browse files
Sutter099Yixun Lan
authored andcommitted
riscv: dts: spacemit: Add DWC3 USB 3.0 controller node for K1
Add node for the Synopsys DWC3 USB 3.0 host controller on the K1 SoC. The controller resides on the 'storage-bus' and uses its DMA translations. Tested-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Ze Huang <huang.ze@linux.dev> Reviewed-by: Yixun Lan <dlan@gentoo.org> Link: https://lore.kernel.org/r/20260111-k1-usb3dts-v2-v3-2-f5ebd546e904@linux.dev Signed-off-by: Yixun Lan <dlan@gentoo.org>
1 parent 9d591fe commit 6e8dcd1

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

  • arch/riscv/boot/dts/spacemit

arch/riscv/boot/dts/spacemit/k1.dtsi

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,6 +1170,30 @@
11701170
#size-cells = <2>;
11711171
dma-ranges = <0x0 0x00000000 0x0 0x00000000 0x0 0x80000000>;
11721172

1173+
usb_dwc3: usb@c0a00000 {
1174+
compatible = "spacemit,k1-dwc3";
1175+
reg = <0x0 0xc0a00000 0x0 0x10000>;
1176+
clocks = <&syscon_apmu CLK_USB30>;
1177+
clock-names = "usbdrd30";
1178+
interrupts = <125>;
1179+
phys = <&usbphy2>, <&combo_phy PHY_TYPE_USB3>;
1180+
phy-names = "usb2-phy", "usb3-phy";
1181+
phy_type = "utmi";
1182+
resets = <&syscon_apmu RESET_USB30_AHB>,
1183+
<&syscon_apmu RESET_USB30_VCC>,
1184+
<&syscon_apmu RESET_USB30_PHY>;
1185+
reset-names = "ahb", "vcc", "phy";
1186+
reset-delay = <2>;
1187+
snps,hsphy_interface = "utmi";
1188+
snps,dis_enblslpm_quirk;
1189+
snps,dis-u2-freeclk-exists-quirk;
1190+
snps,dis-del-phy-power-chg-quirk;
1191+
snps,dis_u2_susphy_quirk;
1192+
snps,dis_u3_susphy_quirk;
1193+
snps,dis_rxdet_inp3_quirk;
1194+
status = "disabled";
1195+
};
1196+
11731197
emmc: mmc@d4281000 {
11741198
compatible = "spacemit,k1-sdhci";
11751199
reg = <0x0 0xd4281000 0x0 0x200>;

0 commit comments

Comments
 (0)