Index: sys/conf/files.riscv =================================================================== --- sys/conf/files.riscv +++ sys/conf/files.riscv @@ -1,3 +1,4 @@ +arm64/arm64/pl031_rtc.c optional fdt pl031 cddl/dev/dtrace/riscv/dtrace_asm.S optional dtrace compile-with "${DTRACE_S}" cddl/dev/dtrace/riscv/dtrace_subr.c optional dtrace compile-with "${DTRACE_C}" cddl/dev/dtrace/riscv/instr_size.c optional dtrace compile-with "${DTRACE_C}" Index: sys/riscv/conf/GENERIC =================================================================== --- sys/riscv/conf/GENERIC +++ sys/riscv/conf/GENERIC @@ -77,6 +77,15 @@ options RCTL # Resource limits options SMP +# Block devices +device ahci +device scbus +device da + +# ATA/SCSI peripherals +device cd # CD +device pass # Passthrough device (direct ATA/SCSI access) + # RISC-V SBI console device rcons @@ -193,6 +202,12 @@ device iicbus # Bus support, required for iicoc below. device iicoc # OpenCores I2C controller support +# RTC +device pl031 # Arm PL031 RTC + +# Serial (COM) ports +device pl011 # Arm PL011 UART + # Include SoC specific configuration include "std.allwinner" include "std.sifive"