summaryrefslogtreecommitdiff
path: root/sys/arch/arm64/conf
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2017-08-28 11:16:05 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2017-08-28 11:16:05 +0000
commit2a062b8cf666505b08804063bbb0d19c6c20318d (patch)
tree8bc57ba52a847e63593b34d5ace27df16e77f8eb /sys/arch/arm64/conf
parentca61723ec1907f92411f8e0161da19b69f605aa8 (diff)
Add rkpmic(4), a driver for the RK808 Power Management IC. For now, this
driver only provides support for the RTC embedded on this device. Support for the voltage regulators will come later. With this diff the Firefly-RK3399 gains a proper clock (if you connect a battery to the board).
Diffstat (limited to 'sys/arch/arm64/conf')
-rw-r--r--sys/arch/arm64/conf/GENERIC5
-rw-r--r--sys/arch/arm64/conf/RAMDISK5
2 files changed, 8 insertions, 2 deletions
diff --git a/sys/arch/arm64/conf/GENERIC b/sys/arch/arm64/conf/GENERIC
index 071e023aac3..5a02e15a7e3 100644
--- a/sys/arch/arm64/conf/GENERIC
+++ b/sys/arch/arm64/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.36 2017/08/27 22:09:21 kettenis Exp $
+# $OpenBSD: GENERIC,v 1.37 2017/08/28 11:16:04 kettenis Exp $
#
# GENERIC machine description file
#
@@ -252,6 +252,9 @@ st* at scsibus?
ch* at scsibus?
uk* at scsibus?
+# I2C devices
+rkpmic* at iic? # RK808 PMIC
+
# 1-Wire devices
option ONEWIREVERBOSE
owid* at onewire? # ID
diff --git a/sys/arch/arm64/conf/RAMDISK b/sys/arch/arm64/conf/RAMDISK
index 8c599bed372..e6df1cffd14 100644
--- a/sys/arch/arm64/conf/RAMDISK
+++ b/sys/arch/arm64/conf/RAMDISK
@@ -1,4 +1,4 @@
-# $OpenBSD: RAMDISK,v 1.34 2017/08/27 22:09:21 kettenis Exp $
+# $OpenBSD: RAMDISK,v 1.35 2017/08/28 11:16:04 kettenis Exp $
#
# GENERIC machine description file
#
@@ -192,6 +192,9 @@ st* at scsibus?
ch* at scsibus?
uk* at scsibus?
+# I2C devices
+rkpmic* at iic? # RK808 PMIC
+
pseudo-device loop 1
pseudo-device bpfilter 1
pseudo-device rd 1