diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2019-09-16 11:49:06 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2019-09-16 11:49:06 +0000 |
commit | 8e00514a891f8abb61b34b3a53b0f17d309573a4 (patch) | |
tree | 846e9f4b28d7319fa22386d6189ebc63fc8379eb | |
parent | e507fe1f2c1bd204627c4bd81e06c4564b9b09d8 (diff) |
Add RK3399 GMAC clock.
-rw-r--r-- | sys/dev/fdt/rkclock.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/fdt/rkclock.c b/sys/dev/fdt/rkclock.c index 225701d8942..ac09d4a331c 100644 --- a/sys/dev/fdt/rkclock.c +++ b/sys/dev/fdt/rkclock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rkclock.c,v 1.41 2019/01/01 17:12:58 kettenis Exp $ */ +/* $OpenBSD: rkclock.c,v 1.42 2019/09/16 11:49:05 kettenis Exp $ */ /* * Copyright (c) 2017, 2018 Mark Kettenis <kettenis@openbsd.org> * @@ -1506,6 +1506,11 @@ struct rkclock rk3399_clocks[] = { { 0, 0, RK3399_XIN24M } }, { + RK3399_CLK_MAC, RK3399_CRU_CLKSEL_CON(20), + SEL(15, 14), DIV(12, 8), + { RK3399_PLL_CPLL, RK3399_PLL_GPLL, RK3399_PLL_NPLL } + }, + { RK3399_ACLK_PERIPH, RK3399_CRU_CLKSEL_CON(14), SEL(7, 7), DIV(4, 0), { RK3399_PLL_CPLL, RK3399_PLL_GPLL } |