git: 2cfa2ed6e0f7 - main - aw_ccu: h6: Add the AVS clock
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 12 Nov 2026 09:51:38 UTC
The branch main has been updated by manu:
URL: https://cgit.FreeBSD.org/src/commit/?id=2cfa2ed6e0f7c635f78bb9ff890ed1e97be546c4
commit 2cfa2ed6e0f7c635f78bb9ff890ed1e97be546c4
Author: Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2026-11-10 16:52:03 +0000
Commit: Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2026-11-12 09:47:31 +0000
aw_ccu: h6: Add the AVS clock
Add the gate of the AVS clock, which is the 24MHz oscillator.
Tested on: H6
---
sys/dev/clk/allwinner/ccu_h6.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sys/dev/clk/allwinner/ccu_h6.c b/sys/dev/clk/allwinner/ccu_h6.c
index d673cd32aed9..9a492e16b8d3 100644
--- a/sys/dev/clk/allwinner/ccu_h6.c
+++ b/sys/dev/clk/allwinner/ccu_h6.c
@@ -155,6 +155,9 @@ static struct aw_ccung_gate h6_ccu_gates[] = {
/* HSTIMER_BGR_REG */
CCU_GATE(CLK_BUS_HSTIMER, "bus-hstimer", "psi_ahb1_ahb2", 0x73c, 0)
+ /* AVS_CLK_REG */
+ CCU_GATE(CLK_AVS, "avs", "osc24M", 0x740, 31)
+
/* DBGSYS_BGR_REG */
CCU_GATE(CLK_BUS_DBG, "bus-dbg", "psi_ahb1_ahb2", 0x78c, 0)