summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2020-05-18 10:40:39 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2020-05-18 10:40:39 +0000
commit1ead6a09a0085ecd0bf064a9cee3e7e655070f7b (patch)
tree8b238ffd089991490bfc68cc3eb89adce50226ff /sys
parent9832396bfd63ec55ff3b13fe26c216da8ba982f7 (diff)
Add some comments.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/fdt/amlclock.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/fdt/amlclock.c b/sys/dev/fdt/amlclock.c
index a644de45946..9bf7978c280 100644
--- a/sys/dev/fdt/amlclock.c
+++ b/sys/dev/fdt/amlclock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: amlclock.c,v 1.10 2020/05/17 22:11:50 kettenis Exp $ */
+/* $OpenBSD: amlclock.c,v 1.11 2020/05/18 10:40:38 kettenis Exp $ */
/*
* Copyright (c) 2019 Mark Kettenis <kettenis@openbsd.org>
*
@@ -28,6 +28,7 @@
#include <dev/ofw/ofw_misc.h>
#include <dev/ofw/fdt.h>
+/* Clock IDs */
#define G12A_SYS_PLL 0
#define G12A_FCLK_DIV2 2
#define G12A_FCLK_DIV3 3
@@ -51,6 +52,7 @@
#define G12B_SYS1_PLL 214
#define G12B_CPUB_CLK 224
+/* Registers */
#define HHI_PCIE_PLL_CNTL0 0x26
#define HHI_PCIE_PLL_CNTL1 0x27
#define HHI_PCIE_PLL_CNTL2 0x28