mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-21 18:50:50 +01:00
riscv: Allwinner D1 clock and reset driver
Add the SOC_ALLWINNER_D1 config option, following other platforms. Co-authored-by: mhorne Reviewed by: manu (previous version) Sponsored by: The FreeBSD Foundation (in part) Differential Revision: https://reviews.freebsd.org/D47515
This commit is contained in:
parent
9ddd516b88
commit
c5c02a131a
@ -1,3 +1,6 @@
|
||||
RISCV opt_global.h # For cpu RISCV to work
|
||||
INTRNG opt_global.h
|
||||
PV_STATS opt_pmap.h
|
||||
|
||||
# SoC Support
|
||||
SOC_ALLWINNER_D1 opt_soc.h
|
||||
|
1062
sys/dev/clk/allwinner/ccu_d1.c
Normal file
1062
sys/dev/clk/allwinner/ccu_d1.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,15 @@
|
||||
|
||||
arm/allwinner/aw_rtc.c optional aw_rtc fdt
|
||||
arm/allwinner/aw_wdog.c optional aw_wdog
|
||||
arm/allwinner/aw_rtc.c optional aw_rtc fdt
|
||||
arm/allwinner/aw_wdog.c optional aw_wdog
|
||||
|
||||
# Allwinner clock drivers
|
||||
dev/clk/allwinner/aw_ccung.c optional aw_ccu fdt
|
||||
dev/clk/allwinner/aw_clk_frac.c optional aw_ccu fdt
|
||||
dev/clk/allwinner/aw_clk_m.c optional aw_ccu fdt
|
||||
dev/clk/allwinner/aw_clk_mipi.c optional aw_ccu fdt
|
||||
dev/clk/allwinner/aw_clk_nkmp.c optional aw_ccu fdt
|
||||
dev/clk/allwinner/aw_clk_nm.c optional aw_ccu fdt
|
||||
dev/clk/allwinner/aw_clk_nmm.c optional aw_ccu fdt
|
||||
dev/clk/allwinner/aw_clk_np.c optional aw_ccu fdt
|
||||
dev/clk/allwinner/aw_clk_prediv_mux.c optional aw_ccu fdt
|
||||
dev/clk/allwinner/ccu_d1.c optional soc_allwinner_d1 aw_ccu fdt
|
||||
|
@ -2,6 +2,10 @@
|
||||
# Allwinner SoC support
|
||||
#
|
||||
|
||||
# SoC support
|
||||
options SOC_ALLWINNER_D1
|
||||
|
||||
device aw_ccu # Allwinner clock controller
|
||||
device aw_rtc # Allwinner Real-time Clock
|
||||
device aw_wdog # Allwinner Watchdog
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user