git: 5fea0aec5c8e - main - riscv: add aw_rtc device to config

From: Mitchell Horne <mhorne_at_FreeBSD.org>
Date: Fri, 04 Jul 2025 16:26:45 UTC
The branch main has been updated by mhorne:

URL: https://cgit.FreeBSD.org/src/commit/?id=5fea0aec5c8e7e8e68a3f0de6ae717588344a6b4

commit 5fea0aec5c8e7e8e68a3f0de6ae717588344a6b4
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2025-03-18 17:27:15 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2025-07-04 16:17:45 +0000

    riscv: add aw_rtc device to config
    
    Somehow dropped during a rebase. This actually enables the driver.
    
    Fixes:  d88bc5f943a9 ("riscv: enable allwinner RTC")
    Sponsored by:   The FreeBSD Foundation
---
 sys/riscv/allwinner/files.allwinner | 1 +
 sys/riscv/conf/std.allwinner        | 1 +
 2 files changed, 2 insertions(+)

diff --git a/sys/riscv/allwinner/files.allwinner b/sys/riscv/allwinner/files.allwinner
index 423a89c10c78..73fa9660e2d2 100644
--- a/sys/riscv/allwinner/files.allwinner
+++ b/sys/riscv/allwinner/files.allwinner
@@ -1,5 +1,6 @@
 
 arm/allwinner/aw_gpio.c			optional gpio aw_gpio fdt
+arm/allwinner/aw_rtc.c			optional aw_rtc fdt
 arm/allwinner/aw_syscon.c		optional syscon
 arm/allwinner/aw_sid.c			optional aw_sid nvmem
 arm/allwinner/aw_timer.c		optional aw_timer fdt
diff --git a/sys/riscv/conf/std.allwinner b/sys/riscv/conf/std.allwinner
index 1bf6b027a4cb..2b1e0d4e09dc 100644
--- a/sys/riscv/conf/std.allwinner
+++ b/sys/riscv/conf/std.allwinner
@@ -7,6 +7,7 @@ options 	SOC_ALLWINNER_D1
 
 device		aw_ccu		# Allwinner clock controller
 device		aw_gpio		# Allwinner GPIO controller
+device		aw_rtc		# Allwinner Real-time Clock
 device		aw_sid		# Allwinner Secure ID EFUSE
 device		aw_timer	# Allwinner Timer
 device		aw_usbphy	# Allwinner USB PHY