git: 015ff812d6b7 - main - ipq4018: add initial IPQ4018/IPQ4019 support

From: Adrian Chadd <adrian_at_FreeBSD.org>
Date: Mon, 18 Oct 2021 19:19:21 UTC
The branch main has been updated by adrian:

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

commit 015ff812d6b7eda57f87789173bad675ca685bb2
Author:     Adrian Chadd <adrian@FreeBSD.org>
AuthorDate: 2021-10-16 18:48:37 +0000
Commit:     Adrian Chadd <adrian@FreeBSD.org>
CommitDate: 2021-10-18 19:19:06 +0000

    ipq4018: add initial IPQ4018/IPQ4019 support
    
    Summary:
    This adds required IPQ4018/IPQ4019 SoC support to boot.
    It also includes support for disabling the ARMv7 hardware
    breakpoint / debug stuff at compile time as this is
    required for the IPQ SoCs, and printing out the undefined
    instruction itself.
    
    Test Plan: * compiled/booted on an IPQ4019 SoC AP
    
    Reviewers: #core_team!
    
    Subscribers: imp, andrew
    
    Differential Revision: https://reviews.freebsd.org/D32538
---
 sys/arm/conf/ASUS_AC1300 | 52 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/sys/arm/conf/ASUS_AC1300 b/sys/arm/conf/ASUS_AC1300
new file mode 100644
index 000000000000..73d3d9f37eb7
--- /dev/null
+++ b/sys/arm/conf/ASUS_AC1300
@@ -0,0 +1,52 @@
+#
+# ASUS_AC1300 -- Qualcomm kernel configuration file for FreeBSD/arm
+#
+# For more information on this file, please read the config(5) manual page,
+# and/or the handbook section on Kernel Configuration Files:
+#
+#    https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config
+#
+# The handbook is also available locally in /usr/share/doc/handbook
+# if you've installed the doc distribution, otherwise always see the
+# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the
+# latest information.
+#
+# An exhaustive list of options and more detailed explanations of the
+# device lines is also present in the ../../conf/NOTES and NOTES files.
+# If you are in doubt as to the purpose or necessity of a line, check first
+# in NOTES.
+#
+
+#NO_UNIVERSE
+
+include		"std.armv7"
+include		"std.qca"
+
+cpu		CPU_CORTEXA
+ident		ASUS_AC1300
+machine		arm armv7
+
+# Use a low VA here so we get the early printf stuff working all the
+# way up to cninit().
+#options SOCDEV_PA=0x07800000
+#options SOCDEV_VA=0x07800000
+#options EARLY_PRINTF
+options 	BOOTVERBOSE
+
+options 	FDT_DTB_STATIC
+makeoptions 	FDT_DTS_FILE=qcom-ipq4018-rt-ac58u.dts
+
+options 	LINUX_BOOT_ABI
+options 	SCHED_ULE
+# DEFINITELY not ready for SMP yet!
+# options 	SMP
+options 	PLATFORM
+
+device 		loop
+device 		pty
+device 		md
+device 		gpio
+
+device 		ether
+device 		mii
+device 		bpf