aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi/cortexa7
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-09-10 23:02:15 +0100
committerDaniel Golle <daniel@makrotopia.org>2021-09-15 19:11:29 +0100
commit47b531de3250de24158024a39beda21328f50701 (patch)
tree5e41a997a380fbe43415d2b32a5901ee6ebd6965 /target/linux/sunxi/cortexa7
parent23e4d90b617e2369a272e1873321c531a9296e4c (diff)
downloadupstream-47b531de3250de24158024a39beda21328f50701.tar.gz
upstream-47b531de3250de24158024a39beda21328f50701.tar.bz2
upstream-47b531de3250de24158024a39beda21328f50701.zip
sunxi: bring up DSA b53 switch on Lamobo R1
Build cortexa7 subtarget with DSA driver for MDIO-connected Broadcom BCM53xxx switches. This is needed for the Lamobo R1 aka. BananaPi BPi-R1 board which comes with such a switch IC. Remove old swconfig driver from target kernel config as the only board using it is now supported by the DSA driver. No changes to device tree are needed as upstream DTS already got a DSA switch definition and we are just using that upstream source. Update default network config of the Lamobo R1 to create lan bridge with all 4 lan ports. Introduce DEVICE_COMPAT_VERSION for the board to inform users about having the re-create their network configuration and add device alias as Bananapi BPi-R1 while at it. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/sunxi/cortexa7')
-rw-r--r--target/linux/sunxi/cortexa7/config-5.412
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/sunxi/cortexa7/config-5.4 b/target/linux/sunxi/cortexa7/config-5.4
index 2d013357c5..1136c84272 100644
--- a/target/linux/sunxi/cortexa7/config-5.4
+++ b/target/linux/sunxi/cortexa7/config-5.4
@@ -21,3 +21,15 @@ CONFIG_USB_MUSB_HDRC=y
# CONFIG_USB_MUSB_HOST is not set
CONFIG_USB_MUSB_SUNXI=y
CONFIG_USB_PHY=y
+CONFIG_NET_DEVLINK=y
+CONFIG_NET_DSA=y
+CONFIG_NET_DSA_TAG_BRCM=y
+CONFIG_NET_DSA_TAG_BRCM_COMMON=y
+CONFIG_NET_DSA_TAG_BRCM_PREPEND=y
+CONFIG_NET_SWITCHDEV=y
+CONFIG_B53=y
+CONFIG_B53_MDIO_DRIVER=y
+# CONFIG_B53_MMAP_DRIVER is not set
+# CONFIG_B53_SERDES is not set
+# CONFIG_B53_SPI_DRIVER is not set
+# CONFIG_B53_SRAB_DRIVER is not set