summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2017-01-21 08:29:24 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2017-01-21 08:29:24 +0000
commitc295a84fcf3fe786c9c8363df933bb4a9eaf94f5 (patch)
treec8cb2cc37cfb74f28e52c733a6824a0780368f56 /sys
parent4596180d482a930f1a5fa3d7726b035419aaf5cc (diff)
Add support for the Allwinner A64 PIO controller clock.
ok kettenis@ phessler@
Diffstat (limited to 'sys')
-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 fdd0282623b..5a8f36f9993 100644
--- a/sys/dev/fdt/sxiccmu_clocks.h
+++ b/sys/dev/fdt/sxiccmu_clocks.h
@@ -19,6 +19,8 @@
#define A64_CLK_BUS_OHCI0 44
#define A64_CLK_BUS_OHCI1 45
+#define A64_CLK_BUS_PIO 58
+
#define A64_CLK_BUS_UART0 67
#define A64_CLK_BUS_UART1 68
#define A64_CLK_BUS_UART2 69
@@ -42,6 +44,7 @@ struct sxiccmu_ccu_bit sun50i_a64_gates[] = {
[A64_CLK_BUS_EHCI1] = { 0x0060, 25 },
[A64_CLK_BUS_OHCI0] = { 0x0060, 28 },
[A64_CLK_BUS_OHCI1] = { 0x0060, 29 },
+ [A64_CLK_BUS_PIO] = { 0x0068, 5 },
[A64_CLK_BUS_UART0] = { 0x006c, 16, A64_CLK_APB2 },
[A64_CLK_BUS_UART1] = { 0x006c, 17, A64_CLK_APB2 },
[A64_CLK_BUS_UART2] = { 0x006c, 18, A64_CLK_APB2 },