summaryrefslogtreecommitdiff
path: root/sys/arch/riscv64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2024-01-27 12:23:04 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2024-01-27 12:23:04 +0000
commit6e9d44321cd1c9da41d767b1beae5cdef927873c (patch)
tree7addf614e29375855821316813d323fec48b520b /sys/arch/riscv64
parent8c87d334a8c5b075b1de061078ce373584b43bad (diff)
Add a few drivers to support Allwinner D1.
Diffstat (limited to 'sys/arch/riscv64')
-rw-r--r--sys/arch/riscv64/conf/GENERIC15
-rw-r--r--sys/arch/riscv64/conf/RAMDISK15
2 files changed, 28 insertions, 2 deletions
diff --git a/sys/arch/riscv64/conf/GENERIC b/sys/arch/riscv64/conf/GENERIC
index d06351a8323..a7992f4f52e 100644
--- a/sys/arch/riscv64/conf/GENERIC
+++ b/sys/arch/riscv64/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.47 2023/09/23 18:29:55 kettenis Exp $
+# $OpenBSD: GENERIC,v 1.48 2024/01/27 12:23:03 kettenis Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -44,6 +44,14 @@ intc0 at cpu0
# NS16550 compatible serial ports
com* at fdt?
+# Allwinner SoCs
+sxiccmu* at fdt? early 1
+sxidog* at fdt?
+sxipio* at fdt? early 1
+gpio* at sxipio?
+sxirtc* at fdt?
+sxitimer* at fdt?
+
# PolarFire SoCs
cdsdhc* at fdt?
sdmmc* at cdsdhc?
@@ -85,6 +93,9 @@ syscon* at fdt? early 1
gfrtc* at fdt?
gpiorestart* at fdt?
+ohci* at fdt?
+ehci* at fdt?
+
cad* at fdt?
dwge* at fdt?
dwqe* at fdt?
@@ -139,6 +150,8 @@ uk* at scsibus?
xhci* at pci?
# USB bus support
+usb* at ohci?
+usb* at ehci?
usb* at xhci?
# USB devices
diff --git a/sys/arch/riscv64/conf/RAMDISK b/sys/arch/riscv64/conf/RAMDISK
index ba4bd885557..676da8fb454 100644
--- a/sys/arch/riscv64/conf/RAMDISK
+++ b/sys/arch/riscv64/conf/RAMDISK
@@ -1,4 +1,4 @@
-# $OpenBSD: RAMDISK,v 1.40 2023/09/23 18:29:55 kettenis Exp $
+# $OpenBSD: RAMDISK,v 1.41 2024/01/27 12:23:03 kettenis Exp $
machine riscv64
maxusers 4
@@ -36,6 +36,14 @@ intc0 at cpu0
# NS16550 compatible serial ports
com* at fdt?
+# Allwinner SoCs
+sxiccmu* at fdt? early 1
+sxidog* at fdt?
+sxipio* at fdt? early 1
+gpio* at sxipio?
+sxirtc* at fdt?
+sxitimer* at fdt?
+
# PolarFire SoCs
cdsdhc* at fdt?
sdmmc* at cdsdhc?
@@ -75,6 +83,9 @@ syscon* at fdt? early 1
gfrtc* at fdt?
gpiorestart* at fdt?
+ohci* at fdt?
+ehci* at fdt?
+
cad* at fdt?
dwge* at fdt?
dwqe* at fdt?
@@ -122,6 +133,8 @@ uk* at scsibus?
xhci* at pci?
# USB bus support
+usb* at ohci?
+usb* at ehci?
usb* at xhci?
# USB devices