git: b157c28ce97b - main - modules/dtb: Add the ARM dtb module

From: Andrew Turner <andrew_at_FreeBSD.org>
Date: Thu, 23 Oct 2025 11:04:35 UTC
The branch main has been updated by andrew:

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

commit b157c28ce97bbabfdddde35f67e3181053ed3ffd
Author:     Andrew Turner <andrew@FreeBSD.org>
AuthorDate: 2025-10-20 18:49:24 +0000
Commit:     Andrew Turner <andrew@FreeBSD.org>
CommitDate: 2025-10-23 10:47:05 +0000

    modules/dtb: Add the ARM dtb module
    
    fvp-base-revc.dtb works with the kernel now interrupt-maps are
    supported in more cases.
    
    Reviewed by:    mhorne
    Sponsored by:   Arm Ltd
    Differential Revision:  https://reviews.freebsd.org/D51258
---
 sys/arm64/conf/std.arm       | 3 +++
 sys/modules/dtb/arm/Makefile | 6 ++++++
 2 files changed, 9 insertions(+)

diff --git a/sys/arm64/conf/std.arm b/sys/arm64/conf/std.arm
index fb5561506531..309059a096eb 100644
--- a/sys/arm64/conf/std.arm
+++ b/sys/arm64/conf/std.arm
@@ -21,3 +21,6 @@ device		arm_doorbell		# ARM Message Handling Unit (MHU)
 
 options 	FDT
 device		acpi
+
+# DTBs
+makeoptions	MODULES_EXTRA+="dtb/arm"
diff --git a/sys/modules/dtb/arm/Makefile b/sys/modules/dtb/arm/Makefile
new file mode 100644
index 000000000000..34136c78c03d
--- /dev/null
+++ b/sys/modules/dtb/arm/Makefile
@@ -0,0 +1,6 @@
+# All the dts files for Arm systems we support.
+
+DTS=	\
+	arm/fvp-base-revc.dts
+
+.include <bsd.dtb.mk>