From fa7abd7ad089b127cb560069b8e2d2cb68b0918b Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Wed, 16 Jun 2021 12:37:25 +0000 Subject: 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@ --- sys/arch/riscv64/conf/GENERIC | 6 +++++- sys/arch/riscv64/conf/RAMDISK | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'sys/arch/riscv64') 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? -- cgit v1.2.3