summaryrefslogtreecommitdiff
path: root/sys/dev/fdt/rkclock_clocks.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2017-08-21 21:02:13 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2017-08-21 21:02:13 +0000
commit9f1dd8f4872e01c3d3a9e8f845548cf02d8ed42e (patch)
tree101ff9689f818e22648f17270166f6eabb5225a9 /sys/dev/fdt/rkclock_clocks.h
parent35051b5de0479a5f234cf59c1c95b8eded304157 (diff)
Add RK3399 CPU core related clocks. Fix RK3399 SD/MMC controller clock.
For now, expose the clock speed of the Cortex-A53 cores through the hw.cupseed sysctl.
Diffstat (limited to 'sys/dev/fdt/rkclock_clocks.h')
-rw-r--r--sys/dev/fdt/rkclock_clocks.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/fdt/rkclock_clocks.h b/sys/dev/fdt/rkclock_clocks.h
index 6bc3dc28d4a..8dd16567a2f 100644
--- a/sys/dev/fdt/rkclock_clocks.h
+++ b/sys/dev/fdt/rkclock_clocks.h
@@ -30,9 +30,14 @@
* RK3399 clocks.
*/
+#define RK3399_PLL_ALPLL 1
+#define RK3399_PLL_ABPLL 2
+#define RK3399_PLL_DPLL 3
#define RK3399_PLL_CPLL 4
#define RK3399_PLL_GPLL 5
#define RK3399_PLL_NPLL 6
+#define RK3399_ARMCLKL 8
+#define RK3399_ARMCLKB 9
#define RK3399_CLK_SDMMC 76
#define RK3399_CLK_EMMC 78