summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2019-08-11 11:19:42 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2019-08-11 11:19:42 +0000
commit9e3108be56945c4e93f59c4068bebd20afc9cddd (patch)
treed96a4ffd5b0a0f558c95a53c333832b2877c8d9e /sys/arch
parent2d8a4444feb9950e8ad9725353134e47a1e022d4 (diff)
Add sxisyscon(4) a driver for the system controller found on various
Allwinner SoCs. This is basically a stripped down syscon(4) and is needed because the Linux device trees dropped the "syscon" compatible. ok patrick@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/arm64/conf/GENERIC3
-rw-r--r--sys/arch/arm64/conf/RAMDISK3
-rw-r--r--sys/arch/armv7/conf/GENERIC3
-rw-r--r--sys/arch/armv7/conf/RAMDISK3
4 files changed, 8 insertions, 4 deletions
diff --git a/sys/arch/arm64/conf/GENERIC b/sys/arch/arm64/conf/GENERIC
index 89557e2120d..3b2435c3079 100644
--- a/sys/arch/arm64/conf/GENERIC
+++ b/sys/arch/arm64/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.107 2019/08/04 15:44:17 kettenis Exp $
+# $OpenBSD: GENERIC,v 1.108 2019/08/11 11:19:41 kettenis Exp $
#
# GENERIC machine description file
#
@@ -179,6 +179,7 @@ axppmic* at rsb?
sxirtc* at fdt? # Real Time Clock
sximmc* at fdt? # SD/MMC card controller
sdmmc* at sximmc? # SD/MMC bus
+sxisyscon* at fdt? early 1 # System controller
sxitemp* at fdt? # Temperature sensor
sxitwi* at fdt? # I2C controller
iic* at sxitwi? # I2C bus
diff --git a/sys/arch/arm64/conf/RAMDISK b/sys/arch/arm64/conf/RAMDISK
index 7f102ef5c06..1bf6cfe0aa2 100644
--- a/sys/arch/arm64/conf/RAMDISK
+++ b/sys/arch/arm64/conf/RAMDISK
@@ -1,4 +1,4 @@
-# $OpenBSD: RAMDISK,v 1.88 2019/06/07 04:03:04 jmatthew Exp $
+# $OpenBSD: RAMDISK,v 1.89 2019/08/11 11:19:41 kettenis Exp $
#
# GENERIC machine description file
#
@@ -170,6 +170,7 @@ sxirsb* at fdt? early 1 # Reduced Serial Bus
sxirtc* at fdt? # Real Time Clock
sximmc* at fdt? # SD/MMC card controller
sdmmc* at sximmc? # SD/MMC bus
+sxisyscon* at fdt? early 1 # System controller
sxitwi* at fdt? # I2C controller
iic* at sxitwi? # I2C bus
dwxe* at fdt?
diff --git a/sys/arch/armv7/conf/GENERIC b/sys/arch/armv7/conf/GENERIC
index e44db78545f..4f51de02e54 100644
--- a/sys/arch/armv7/conf/GENERIC
+++ b/sys/arch/armv7/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.122 2019/05/08 23:54:39 kettenis Exp $
+# $OpenBSD: GENERIC,v 1.123 2019/08/11 11:19:41 kettenis Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -114,6 +114,7 @@ ehci* at fdt? # EHCI (shim)
usb* at ehci? #flags 0x1
ohci* at fdt?
usb* at ohci?
+sxisyscon* at fdt? early 1 # System controller
sxitemp* at fdt? # Temperature sensor
sxits* at fdt? # Touchpad controller
sxitwi* at fdt? # Two-Wire Serial Interface
diff --git a/sys/arch/armv7/conf/RAMDISK b/sys/arch/armv7/conf/RAMDISK
index 2e8a11bd544..dd99a7ca39e 100644
--- a/sys/arch/armv7/conf/RAMDISK
+++ b/sys/arch/armv7/conf/RAMDISK
@@ -1,4 +1,4 @@
-# $OpenBSD: RAMDISK,v 1.107 2019/01/12 19:37:16 kettenis Exp $
+# $OpenBSD: RAMDISK,v 1.108 2019/08/11 11:19:41 kettenis Exp $
machine armv7 arm
@@ -107,6 +107,7 @@ ehci* at fdt? # EHCI (shim)
usb* at ehci? #flags 0x1
ohci* at fdt?
usb* at ohci?
+sxisyscon* at fdt? early 1 # System controller
sxitwi* at fdt? # Two-Wire Serial Interface
iic* at sxitwi? # I2C bus