riscv: build allwinner DTBs

These are known to work if loaded manually by loader(8) (for the Nezha
board at least). If nothing else, it is useful to provide a DTB closely
tied to the kernel version.

MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D53118
This commit is contained in:
Mitchell Horne
2025-10-20 11:25:08 -03:00
parent 96b137c044
commit 3ed48eb085
2 changed files with 9 additions and 1 deletions
+6 -1
View File
@@ -65,7 +65,12 @@ DTSO= sun50i-a64-mmc0-disable.dtso \
sun50i-a64-timer.dtso \
sun50i-h5-opp.dtso \
sun50i-h5-nanopi-neo2-opp.dtso
.elif ${MACHINE_CPUARCH} == "riscv"
DTS= \
allwinner/sun20i-d1-dongshan-nezha-stu.dts \
allwinner/sun20i-d1-lichee-rv.dts \
allwinner/sun20i-d1-mangopi-mq-pro.dts \
allwinner/sun20i-d1-nezha.dts
.endif
.include <bsd.dtb.mk>
+3
View File
@@ -17,4 +17,7 @@ device awg # Allwinner EMAC Gigabit Ethernet
device musb # Mentor Graphics USB OTG controller
# DTBs
makeoptions MODULES_EXTRA+="dtb/allwinner"
files "../allwinner/files.allwinner"