1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-20 06:28:12 +02:00
openwrt/target/linux/ath79
Julien Dusser 87627b2d76 ath79: add QCA956x SERDES init workaround
This commit add a workaround for non working SGMII link observed on some
QCA956x SoCs. The workaround originates part from the U-Boot source code
from QCA, part from the implementation from TP-Link found in the GPL
tarball for the EAP245v1.

Extends commit 0d416a8d3b990e3b78628f0e7546527709c877f7 for QCA956x.
Note that reset is the same on QCA955x and QCA956x, same register offset
and values.

Auto calibration is done on u-boot, but always fall back to default value
0x7. Add a DTS entry serdes-cal in case a device require another value.

Signed-off-by: Julien Dusser <julien.dusser@free.fr>
[Sander Vanheule:
    Minor code style fixes,
    Remove hunk adding qca956x-serdes-fixup to a missing DTS,
    Remove variable err that was only assigned,
    Rename function to sgmii_serdes_init,
    Lower priority of serdes call message to pr_debug]
Signed-off-by: Sander Vanheule <sander@svanheule.net>
2020-11-23 22:53:15 +01:00
..
base-files/etc/hotplug.d/ieee80211 ath79: add WiFi migration for AR913x 2020-09-28 16:23:03 +02:00
dts ath79: fix reset button support on 8devices Lima 2020-11-18 23:49:34 +01:00
files ath79: add QCA956x SERDES init workaround 2020-11-23 22:53:15 +01:00
generic ath79: move the squashfs feature to the parent target 2020-11-23 13:20:53 +01:00
image ath79: add support for ALFA Network Pi-WiFi4 2020-11-18 23:49:34 +01:00
mikrotik ath79: move the squashfs feature to the parent target 2020-11-23 13:20:53 +01:00
nand ath79: move the squashfs feature to the parent target 2020-11-23 13:20:53 +01:00
patches-5.4 ath79: drop upstreamed patch 2020-11-01 15:29:06 +01:00
tiny ath79: move the squashfs feature to the parent target 2020-11-23 13:20:53 +01:00
config-5.4 ath79: enable elf mtd splitter 2020-09-09 20:41:50 +03:00
Makefile ath79: move the squashfs feature to the parent target 2020-11-23 13:20:53 +01:00
modules.mk