summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2019-10-07 18:55:20 +0000
committerkettenis <kettenis@openbsd.org>2019-10-07 18:55:20 +0000
commitbafa30812a1a5817d9e5d8b29cf6ce5fa97fad05 (patch)
treefc93acbdf1dcb741555f00f4faa09840c765fc31
parentAdd amliic(4), a driver for the I2C controller found on Amlogic SoCs. (diff)
downloadwireguard-openbsd-bafa30812a1a5817d9e5d8b29cf6ce5fa97fad05.tar.xz
wireguard-openbsd-bafa30812a1a5817d9e5d8b29cf6ce5fa97fad05.zip
Add amliic(4) and pcxrtc(4). This adds support for the RTC on the odroid-n2.
ok patrick@
-rw-r--r--sys/arch/arm64/conf/GENERIC7
-rw-r--r--sys/arch/arm64/conf/RAMDISK7
2 files changed, 10 insertions, 4 deletions
diff --git a/sys/arch/arm64/conf/GENERIC b/sys/arch/arm64/conf/GENERIC
index 3989a3fc7e3..bbfe9ad98b8 100644
--- a/sys/arch/arm64/conf/GENERIC
+++ b/sys/arch/arm64/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.126 2019/09/30 20:48:15 kettenis Exp $
+# $OpenBSD: GENERIC,v 1.127 2019/10/07 18:55:20 kettenis Exp $
#
# GENERIC machine description file
#
@@ -144,6 +144,8 @@ usb* at dwctwo?
# Amlogic SoCs
amlclock* at fdt? early 1
amldwusb* at fdt?
+amliic* at fdt?
+iic* at amliic?
amlmmc* at fdt?
sdmmc* at amlmmc?
amlpciephy* at fdt?
@@ -367,12 +369,13 @@ uk* at scsibus?
# I2C devices
abcrtc* at iic? # Abracon x80x RTC
fanpwr* at iic? # FAN53555 regulator
+fusbtc* at iic? # USB Type-C controller
ipmi* at iic? # IPMI (SIIF)
islrtc* at iic? # ISL1208 RTC
mcprtc* at iic? # MCP794XX RTC
+pcxrtc* at iic? # PCF8563 RTC
rkpmic* at iic? # RK808 PMIC
sypwr* at iic? # SY8106A regulator
-fusbtc* at iic? # USB Type-C controller
# GPIO "pin bus" drivers
gpioiic* at gpio? # I2C bus bit-banging
diff --git a/sys/arch/arm64/conf/RAMDISK b/sys/arch/arm64/conf/RAMDISK
index 2a87cc9a88a..26bc35cd5b9 100644
--- a/sys/arch/arm64/conf/RAMDISK
+++ b/sys/arch/arm64/conf/RAMDISK
@@ -1,4 +1,4 @@
-# $OpenBSD: RAMDISK,v 1.103 2019/09/09 20:00:27 patrick Exp $
+# $OpenBSD: RAMDISK,v 1.104 2019/10/07 18:55:20 kettenis Exp $
#
# GENERIC machine description file
#
@@ -133,6 +133,8 @@ usb* at dwctwo?
# Amlogic SoCs
amlclock* at fdt? early 1
amldwusb* at fdt?
+amliic* at fdt?
+iic* at amliic?
amlmmc* at fdt?
sdmmc* at amlmmc?
amlpciephy* at fdt?
@@ -272,10 +274,11 @@ uk* at scsibus?
# I2C devices
abcrtc* at iic? # Abracon x80x RTC
+fusbtc* at iic? # USB Type-C controller
islrtc* at iic? # ISL1208 RTC
mcprtc* at iic? # MCP794XX RTC
+pcxrtc* at iic? # PCF8563 RTC
rkpmic* at iic? # RK808 PMIC
-fusbtc* at iic? # USB Type-C controller
pseudo-device loop 1
pseudo-device vlan