aboutsummaryrefslogtreecommitdiff
path: root/sys/arm/conf
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2022-01-30 03:04:19 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2022-02-04 05:27:13 +0000
commite388de98bd0272b4ba237dcd44dcf12360d70d41 (patch)
tree6a38bc73d157ccb131b7bfa981b3c60f07125573 /sys/arm/conf
parentb509e538967b0a5e825c8849ab33bdebd67ea6bc (diff)
downloadsrc-e388de98bd0272b4ba237dcd44dcf12360d70d41.tar.gz
src-e388de98bd0272b4ba237dcd44dcf12360d70d41.zip
ar40xx_switch: add initial switch for the IPQ4018/IPQ4019.
Summary: This switch is based off of the AR8327/AR8337 external switch/PHY. However unlike the AR8327/AR8337 it itself doesn't have any PHYs; instead an external PHY connects to it using the PSGMII port. Differential Revision: https://reviews.freebsd.org/D34112 Reviewed by: manu This code is inspired by the ar40xx code in openwrt, which itself is based on the Qualcomm QCA-SSDK. Both of these sources are, amusingly, BSD licenced - and thus I have included some of the comments in the hardware workaround paths to document some of the magic numbers.
Diffstat (limited to 'sys/arm/conf')
-rw-r--r--sys/arm/conf/std.qca2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arm/conf/std.qca b/sys/arm/conf/std.qca
index e7cfe58c6d5d..b7bd2729a0dc 100644
--- a/sys/arm/conf/std.qca
+++ b/sys/arm/conf/std.qca
@@ -78,3 +78,5 @@ device mdio
device mii
device miibus
device qcom_mdio_ipq4018
+device etherswitch
+device ar40xx_switch