diff options
Diffstat (limited to 'sys/dev/fdt/rkclock.c')
-rw-r--r-- | sys/dev/fdt/rkclock.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/sys/dev/fdt/rkclock.c b/sys/dev/fdt/rkclock.c index e7ee863951c..81aca118463 100644 --- a/sys/dev/fdt/rkclock.c +++ b/sys/dev/fdt/rkclock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rkclock.c,v 1.87 2024/03/06 14:55:22 kettenis Exp $ */ +/* $OpenBSD: rkclock.c,v 1.88 2024/04/01 11:16:11 patrick Exp $ */ /* * Copyright (c) 2017, 2018 Mark Kettenis <kettenis@openbsd.org> * @@ -3918,6 +3918,21 @@ rk3568_pmu_reset(void *cookie, uint32_t *cells, int on) const struct rkclock rk3588_clocks[] = { { + RK3588_CLK_PWM1, RK3588_CRU_CLKSEL_CON(59), + SEL(13, 12), 0, + { RK3588_CLK_100M_SRC, RK3588_CLK_50M_SRC, RK3588_XIN24M }, + }, + { + RK3588_CLK_PWM2, RK3588_CRU_CLKSEL_CON(59), + SEL(15, 14), 0, + { RK3588_CLK_100M_SRC, RK3588_CLK_50M_SRC, RK3588_XIN24M }, + }, + { + RK3588_CLK_PWM3, RK3588_CRU_CLKSEL_CON(60), + SEL(1, 0), 0, + { RK3588_CLK_100M_SRC, RK3588_CLK_50M_SRC, RK3588_XIN24M }, + }, + { RK3588_ACLK_BUS_ROOT, RK3588_CRU_CLKSEL_CON(38), SEL(5, 5), DIV(4, 0), { RK3588_PLL_GPLL, RK3588_PLL_CPLL } |