Add ociic(4) and dapmic(4). The first is a driver for the OpenCores I2C
authorkettenis <kettenis@openbsd.org>
Wed, 16 Jun 2021 12:37:23 +0000 (12:37 +0000)
committerkettenis <kettenis@openbsd.org>
Wed, 16 Jun 2021 12:37:23 +0000 (12:37 +0000)
commit9b3c43d5be236f93526e6aca59466a9b92e7d012
treefec53450728780388647df2dd4f03cd727e0078c
parentaeb96c2586b50406b4a789fc39cf3b69ac7c3e75
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
sys/arch/riscv64/conf/RAMDISK
sys/dev/fdt/dapmic.c [new file with mode: 0644]
sys/dev/fdt/files.fdt
sys/dev/fdt/ociic.c [new file with mode: 0644]