-/* $OpenBSD: rkclock.c,v 1.77 2023/06/19 09:54:15 kettenis Exp $ */
+/* $OpenBSD: rkclock.c,v 1.78 2023/07/07 16:52:09 patrick Exp $ */
/*
* Copyright (c) 2017, 2018 Mark Kettenis <kettenis@openbsd.org>
*
reg = RK3588_CRU_SOFTRST_CON(34);
bit = 0;
break;
+ case RK3588_SRST_A_USB3OTG0:
+ reg = RK3588_CRU_SOFTRST_CON(42);
+ bit = 4;
+ break;
+ case RK3588_SRST_A_USB3OTG1:
+ reg = RK3588_CRU_SOFTRST_CON(42);
+ bit = 7;
+ break;
case RK3588_SRST_REF_PIPE_PHY0:
reg = RK3588_CRU_SOFTRST_CON(77);
bit = 6;
#define RK3588_SRST_PCIE4_POWER_UP 298
#define RK3588_SRST_P_PCIE4 303
+#define RK3588_SRST_A_USB3OTG0 338
+#define RK3588_SRST_A_USB3OTG1 339
#define RK3588_SRST_REF_PIPE_PHY0 572
#define RK3588_SRST_P_PCIE2_PHY0 579