summaryrefslogtreecommitdiff
path: root/sys/arch/riscv64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2021-06-16 12:37:25 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2021-06-16 12:37:25 +0000
commitfa7abd7ad089b127cb560069b8e2d2cb68b0918b (patch)
tree5584cfa5f7c5ddc91261830945efccfdace2b986 /sys/arch/riscv64
parent944accf0a71963c0a94b3fa4228c137e6430c36c (diff)
Add ociic(4) and dapmic(4). The first is a driver for the OpenCores I2C
controller and the latter is a driver for the Dialog DA9063 PMIC. The dapmic(4) driver currently supports the integrated RTC and also provides support for resetting and powering down an application processor. This functionality is used to support rebooting the SiFive Unmatched board. ok deraadt@
Diffstat (limited to 'sys/arch/riscv64')
-rw-r--r--sys/arch/riscv64/conf/GENERIC6
-rw-r--r--sys/arch/riscv64/conf/RAMDISK6
2 files changed, 10 insertions, 2 deletions
diff --git a/sys/arch/riscv64/conf/GENERIC b/sys/arch/riscv64/conf/GENERIC
index e643ca3a556..c02789355c7 100644
--- a/sys/arch/riscv64/conf/GENERIC
+++ b/sys/arch/riscv64/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.19 2021/06/14 06:09:28 jsg Exp $
+# $OpenBSD: GENERIC,v 1.20 2021/06/16 12:37:23 kettenis Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -69,6 +69,10 @@ pci* at dwpcie?
pciecam* at fdt?
pci* at pciecam?
+ociic* at fdt?
+iic* at ociic?
+dapmic* at iic?
+
# PCI
ppb* at pci? # PCI-PCI bridges
pci* at ppb?
diff --git a/sys/arch/riscv64/conf/RAMDISK b/sys/arch/riscv64/conf/RAMDISK
index 1c26456e505..bb621502490 100644
--- a/sys/arch/riscv64/conf/RAMDISK
+++ b/sys/arch/riscv64/conf/RAMDISK
@@ -1,4 +1,4 @@
-# $OpenBSD: RAMDISK,v 1.20 2021/06/14 06:09:28 jsg Exp $
+# $OpenBSD: RAMDISK,v 1.21 2021/06/16 12:37:23 kettenis Exp $
machine riscv64
maxusers 4
@@ -65,6 +65,10 @@ pci* at dwpcie?
pciecam* at fdt?
pci* at pciecam?
+ociic* at fdt?
+iic* at ociic?
+dapmic* at iic?
+
# PCI
ppb* at pci? # PCI-PCI bridges
pci* at ppb?