Initial commit
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
This commit is contained in:
30
target/linux/ath79/patches-6.6/332-ath79-sgmii-config.patch
Normal file
30
target/linux/ath79/patches-6.6/332-ath79-sgmii-config.patch
Normal file
@@ -0,0 +1,30 @@
|
||||
From: David Bauer <mail@david-bauer.net>
|
||||
Subject: [PATCH] ath79: force SGMII SerDes mode to MAC operation
|
||||
|
||||
The mode on the SGMII SerDes on the QCA9563 is 1000 Base-X by default.
|
||||
This only allows for 1000 Mbit/s links, however when used with an SGMII
|
||||
PHY in 100 Mbit/s link mode, the link remains dead.
|
||||
|
||||
This strictly has nothing to do with the SerDes calibration, however it
|
||||
is done at the same point in the QCA reference U-Boot which is the
|
||||
blueprint for everything happening here. As the current state is more or
|
||||
less a hack, this should be fine.
|
||||
|
||||
This fixes the issues outlined above on a TP-Link EAP-225 Outdoor.
|
||||
|
||||
Reported-by: Tom Herbers <freifunk@tomherbers.de>
|
||||
Tested-by: Tom Herbers <freifunk@tomherbers.de>
|
||||
Submitted-by: David Bauer <mail@david-bauer.net>
|
||||
---
|
||||
arch/mips/include/asm/mach-ath79/ar71xx_regs.h | 1 +
|
||||
1 files changed, 1 insertion(+)
|
||||
|
||||
--- a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h
|
||||
+++ b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h
|
||||
@@ -1380,5 +1380,6 @@
|
||||
|
||||
#define QCA956X_SGMII_CONFIG_MODE_CTRL_SHIFT 0
|
||||
#define QCA956X_SGMII_CONFIG_MODE_CTRL_MASK 0x7
|
||||
+#define QCA956X_SGMII_CONFIG_MODE_CTRL_SGMII_MAC 0x2
|
||||
|
||||
#endif /* __ASM_MACH_AR71XX_REGS_H */
|
||||
Reference in New Issue
Block a user