aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2020-12-18 16:55:54 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2020-12-18 16:55:54 +0000
commitfb6d44566125b97213e7c2360d99c6b169d83a1c (patch)
tree67bd28ccd42fa8180aefca6ce546e40e2fbd6963
parent72939459bdfa930348d0b3397db5d947593ad348 (diff)
downloadsrc-fb6d44566125b97213e7c2360d99c6b169d83a1c.tar.gz
src-fb6d44566125b97213e7c2360d99c6b169d83a1c.zip
arm64: rk3399: Export the watchdog clock
This clock is used by the watchdog IP and can be controlled only in the secure world.
Notes
Notes: svn path=/head/; revision=368766
-rw-r--r--sys/arm64/rockchip/clk/rk3399_cru.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/arm64/rockchip/clk/rk3399_cru.c b/sys/arm64/rockchip/clk/rk3399_cru.c
index 317b11edf26c..77686ecb66b8 100644
--- a/sys/arm64/rockchip/clk/rk3399_cru.c
+++ b/sys/arm64/rockchip/clk/rk3399_cru.c
@@ -1212,6 +1212,11 @@ static struct rk_clk rk3399_clks[] = {
FRACT(DCLK_VOP1_FRAC, "dclk_vop1_frac", "dclk_vop1_div", 0,
107),
+ /*
+ * This clock is controlled in the secure world
+ */
+ FFACT(PCLK_WDT, "pclk_wdt", "pclk_alive", 1, 1),
+
/* Not yet implemented yet
* MMC(SCLK_SDMMC_DRV, "sdmmc_drv", "clk_sdmmc", RK3399_SDMMC_CON0, 1),
* MMC(SCLK_SDMMC_SAMPLE, "sdmmc_sample", "clk_sdmmc", RK3399_SDMMC_CON1, 1),