aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/mt7621/config-5.4
diff options
context:
space:
mode:
authorRené van Dorst <opensource@vdorst.com>2020-03-11 01:34:33 +0800
committerAlexander Couzens <lynxis@fe80.eu>2020-04-25 23:48:45 +0200
commit4c70bb4f906b875aee1da6636aa7d2023ef69064 (patch)
treecfb5891b2ac41d5dd90cc4900628a45c2d3dbad1 /target/linux/ramips/mt7621/config-5.4
parentec2f7a47d379c3828eec930df881b09acc6fec06 (diff)
downloadupstream-4c70bb4f906b875aee1da6636aa7d2023ef69064.tar.gz
upstream-4c70bb4f906b875aee1da6636aa7d2023ef69064.tar.bz2
upstream-4c70bb4f906b875aee1da6636aa7d2023ef69064.zip
ramips: enable SFP port for Ubiquiti ER-X-SFP
SFP cage of this device is connected via a AT8031 phy to port 5 of the switch. This phy act as a RGMII-to-SerDes converter. Also a I2C clock gate needs to be enabled in order to access the SFP module via I2C bus. SFP cage also has module detect pin which is connected to I2C gpio expander. With this patch the kernel/PHYLINK now can detect, readout and use the SFP module/port. NOTE: SFP cage / AT8033 PHY only support 1000base-X encoding! This means that some SGMII modules can work and only at forced 1GBit/full-duplex! Signed-off-by: René van Dorst <opensource@vdorst.com>
Diffstat (limited to 'target/linux/ramips/mt7621/config-5.4')
-rw-r--r--target/linux/ramips/mt7621/config-5.41
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/mt7621/config-5.4 b/target/linux/ramips/mt7621/config-5.4
index e91003d8d2..fda295a93f 100644
--- a/target/linux/ramips/mt7621/config-5.4
+++ b/target/linux/ramips/mt7621/config-5.4
@@ -19,6 +19,7 @@ CONFIG_ARCH_USE_QUEUED_RWLOCKS=y
CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y
CONFIG_ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT=y
CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
+CONFIG_AT803X_PHY=y
CONFIG_BLK_MQ_PCI=y
CONFIG_BOARD_SCACHE=y
CONFIG_BOUNCE=y