summaryrefslogtreecommitdiffstats
path: root/sys/dev/fdt/sxiccmu_clocks.h
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2017-12-31 10:54:39 +0000
committerkettenis <kettenis@openbsd.org>2017-12-31 10:54:39 +0000
commit3c38ffe89649cf2c14353c7854adc30926ba0888 (patch)
tree8cd4f89d478a3d13f2bb15e03da6a31da0a990ee /sys/dev/fdt/sxiccmu_clocks.h
parentRemove an unused variable and instruct lex not to produce the input() function (diff)
downloadwireguard-openbsd-3c38ffe89649cf2c14353c7854adc30926ba0888.tar.xz
wireguard-openbsd-3c38ffe89649cf2c14353c7854adc30926ba0888.zip
Implement H3/H5 CPU clock.
Diffstat (limited to 'sys/dev/fdt/sxiccmu_clocks.h')
-rw-r--r--sys/dev/fdt/sxiccmu_clocks.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/fdt/sxiccmu_clocks.h b/sys/dev/fdt/sxiccmu_clocks.h
index f71a54e7bc1..12ff9b9dfae 100644
--- a/sys/dev/fdt/sxiccmu_clocks.h
+++ b/sys/dev/fdt/sxiccmu_clocks.h
@@ -269,8 +269,10 @@ struct sxiccmu_ccu_bit sun9i_a80_mmc_gates[] = {
/* H3/H5 */
+#define H3_CLK_PLL_CPUX 0
#define H3_CLK_PLL_PERIPH0 9
+#define H3_CLK_CPUX 14
#define H3_CLK_AXI 15
#define H3_CLK_AHB1 16
#define H3_CLK_APB1 17