summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2019-09-02 15:24:39 +0000
committerkettenis <kettenis@openbsd.org>2019-09-02 15:24:39 +0000
commit64501fcb52e6222540b3559ec34cae68ef4c5d17 (patch)
treea3fbdd2865817b0e05a56ddaaa08b3383d53e7e5
parentDelete what remains of the support for combining characters into (diff)
downloadwireguard-openbsd-64501fcb52e6222540b3559ec34cae68ef4c5d17.tar.xz
wireguard-openbsd-64501fcb52e6222540b3559ec34cae68ef4c5d17.zip
Implement setting the CPU clock for Allwinner A64 SoCs.
From Krystian Lewandowski.
-rw-r--r--sys/dev/fdt/sxiccmu_clocks.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/fdt/sxiccmu_clocks.h b/sys/dev/fdt/sxiccmu_clocks.h
index 9f323e5e3a7..ebc83c1edba 100644
--- a/sys/dev/fdt/sxiccmu_clocks.h
+++ b/sys/dev/fdt/sxiccmu_clocks.h
@@ -140,9 +140,12 @@ struct sxiccmu_ccu_bit sun8i_a23_gates[] = {
/* A64 */
+#define A64_CLK_PLL_CPUX 1
+
#define A64_CLK_PLL_PERIPH0 11
#define A64_CLK_PLL_PERIPH0_2X 12
+#define A64_CLK_CPUX 21
#define A64_CLK_AXI 22
#define A64_CLK_APB 23
#define A64_CLK_AHB1 24