summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2019-09-02 15:24:40 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2019-09-02 15:24:40 +0000
commitd7734d60b52c794ce85331abc50d3c76edc33767 (patch)
tree15e471a45d839e7c7fd70f3c797bd83afc4d8e3e /sys/dev
parente1ad7e4899185aa79a1932e99e6c67d25a0292ed (diff)
Implement setting the CPU clock for Allwinner A64 SoCs.
From Krystian Lewandowski.
Diffstat (limited to 'sys/dev')
-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