aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2025-10-20 18:49:24 +0000
committerAndrew Turner <andrew@FreeBSD.org>2025-10-23 10:47:05 +0000
commitb157c28ce97bbabfdddde35f67e3181053ed3ffd (patch)
tree3e0a2967bbe72edfa8e822a82fb16d1c6dfa6612
parent82778970eeb24f1249945612d05923725f9baa4f (diff)
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
-rw-r--r--sys/arm64/conf/std.arm3
-rw-r--r--sys/modules/dtb/arm/Makefile6
2 files changed, 9 insertions, 0 deletions
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>