From: kettenis Date: Sat, 27 Jan 2024 12:23:03 +0000 (+0000) Subject: Add a few drivers to support Allwinner D1. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=0785a13cd1b9b80d5b6c5412ba063cf3b0758f8c;p=openbsd Add a few drivers to support Allwinner D1. --- 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