diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2021-09-15 17:09:56 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2021-09-15 17:09:56 +0000 |
commit | 548a706608d7291a72ed37e6c400654ee1ceadef (patch) | |
tree | 94996c4049a29c6e2540d97b4a5c99807f23e07f | |
parent | cc2f9bbbad3b9cd81b8e66d57f9d34d8a42048dd (diff) | |
download | src-548a706608d7291a72ed37e6c400654ee1ceadef.tar.gz src-548a706608d7291a72ed37e6c400654ee1ceadef.zip |
arm64: rockchip: rk3328: Add watchdog clock
The watchdog clock is controlled by the secure world but we need a clock
to sastify the driver so add a fixed clock for it.
Reported by: avg
-rw-r--r-- | sys/arm64/rockchip/clk/rk3328_cru.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/arm64/rockchip/clk/rk3328_cru.c b/sys/arm64/rockchip/clk/rk3328_cru.c index 344bf3bcd7aa..63c8797f6b44 100644 --- a/sys/arm64/rockchip/clk/rk3328_cru.c +++ b/sys/arm64/rockchip/clk/rk3328_cru.c @@ -1064,6 +1064,11 @@ static struct rk_clk rk3328_clks[] = { /* GRF_MAC_CON2 */ MUXGRF(SCLK_MAC2PHY, "clk_mac2phy", mux_mac2phy_p, 0, RK3328_GRF_MAC_CON2, 10, 1), + + /* + * This clock is controlled in the secure world + */ + FFACT(PCLK_WDT, "pclk_wdt", "pclk_bus", 1, 1), }; static int |