diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2023-06-19 09:54:16 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2023-06-19 09:54:16 +0000 |
commit | 85e4055f57fbb482af35cefee27ffc0fc3a93ebb (patch) | |
tree | 55bcd286988cbd10dab59ef7872b105f3bbeccac /sys/dev/fdt/rkclock.c | |
parent | e191f6eb8273804c85d95131a6b8ab64e12570f3 (diff) |
Add another reset for the PCIe controller on the RK3588.
ok dlg@
Diffstat (limited to 'sys/dev/fdt/rkclock.c')
-rw-r--r-- | sys/dev/fdt/rkclock.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/fdt/rkclock.c b/sys/dev/fdt/rkclock.c index dfa79af90df..728a10a7932 100644 --- a/sys/dev/fdt/rkclock.c +++ b/sys/dev/fdt/rkclock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rkclock.c,v 1.76 2023/04/27 08:55:59 kettenis Exp $ */ +/* $OpenBSD: rkclock.c,v 1.77 2023/06/19 09:54:15 kettenis Exp $ */ /* * Copyright (c) 2017, 2018 Mark Kettenis <kettenis@openbsd.org> * @@ -4341,6 +4341,10 @@ rk3588_reset(void *cookie, uint32_t *cells, int on) reg = RK3588_CRU_SOFTRST_CON(33); bit = 1; break; + case RK3588_SRST_P_PCIE4: + reg = RK3588_CRU_SOFTRST_CON(34); + bit = 0; + break; case RK3588_SRST_REF_PIPE_PHY0: reg = RK3588_CRU_SOFTRST_CON(77); bit = 6; |