openwrt/target/linux
Pawel Dembicki a82fa5bcd4 ramips: mt7620: Enable PHY aneg of Lava LR-25G001
In 20b09a2125 Lava LR-25G001 router have problem with two inactive
ethernet ports. JBOOT bootloader didn't configure ethernet devices by default.
The same situation was there. It is required to enable all phy ports.
This is fragment of stock bootlog:

switch reg write_athr offset=90, value=2b0
switch reg write_athr offset=8c, value=2b0
switch reg write_athr offset=88, value=2b0
switch reg write_athr offset=84, value=2b0
switch reg write_athr offset=80, value=2b0

This patch adds proper registers configuration ar8337 initvals.
0x2b0 value causes force flow control configuration, 0x1200 was used
instead (flow control config auto-neg with phy). [1]

When switch is now ok, let's fix port numeration too.

Fixes: 20b09a2125 ("ramips: add support for Lava LR-25G001")

[1] https://github.com/openwrt/openwrt/pull/4806#issuecomment-982019858

Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
2021-12-04 00:36:47 +01:00
..
apm821xx kernel: bump 5.4 to 5.4.161 2021-11-28 16:32:45 +01:00
arc770 kernel: move two symbols to the generic kconfigs 2021-08-29 17:07:19 +02:00
archs38 archs38: update kernel version to 5.10 2021-11-07 17:12:10 +01:00
armvirt armvirt: enable MMIO_CMDLINE_DEVICES for firecracker support 2021-10-12 19:22:08 -10:00
at91 kernel: Set some options in generic configuration 2021-11-02 23:37:19 +01:00
ath25 kernel: bump 5.4 to 5.4.154 2021-10-21 00:17:36 +02:00
ath79 ath79: add Embedded Wireless Balin Platform 2021-12-03 12:30:08 +01:00
bcm27xx kernel: bump 5.10 to 5.10.80 2021-11-19 09:40:29 +00:00
bcm47xx bcm47xx: switch to kernel 5.10 2021-11-08 15:56:39 +01:00
bcm53xx bcm53xx: sysupgrade: refactor handling different firmware formats 2021-12-02 09:15:18 +01:00
bcm63xx kernel: bump 5.4 to 5.4.162 2021-11-28 16:32:45 +01:00
bcm4908 bcm4908: sysupgrade: refactor handling different firmware formats 2021-12-02 09:17:43 +01:00
bmips kernel: Deactivate B53 symbols in generic configuration 2021-11-29 22:37:58 +01:00
gemini gemini: only provide squashfs image for storlink-derivates 2021-12-04 00:36:47 +01:00
generic kernel: Deactivate B53 symbols in generic configuration 2021-11-29 22:37:58 +01:00
imx imx: remove obsolete Kernel 5.4 2021-11-03 12:45:40 +01:00
ipq40xx ipq40xx: nvmem cells for EZVIZ CS-W3-WD1200G EUP 2021-12-04 00:36:47 +01:00
ipq806x ipq806x: sysupgrade: drop unnecessary UBI to UBI logic 2021-12-03 12:23:02 +01:00
ipq807x kernel: Set CONFIG_RCU_CPU_STALL_TIMEOUT=21 2021-09-09 20:24:12 +02:00
kirkwood kirkwood: sysupgrade: drop unnecessary UBI to UBI logic 2021-12-03 12:23:02 +01:00
lantiq lantiq: xway_legacy: disable unused switches 2021-11-30 22:29:24 +01:00
layerscape kernel: bump 5.4 to 5.4.162 2021-11-28 16:32:45 +01:00
malta malta: remove obsolete Kernel 5.4 2021-10-02 18:13:46 +02:00
mediatek mediatek: mt7623: switch to BPi-R2 to generic eMMC sysugprade 2021-12-02 20:43:17 +00:00
mpc85xx mpc85xx: Fix HiveAP-330 nvmem mac loader 2021-11-30 22:29:24 +01:00
mvebu mvebu: next backport mvnet MQPrio offload 2021-12-03 12:35:23 +01:00
mxs mxs: drop kernel 5.4 support 2021-11-14 23:32:51 +01:00
octeon octeon: add USB3 support (for Ubiquiti EdgeRouter 6P) 2021-11-20 20:54:26 +01:00
octeontx kernel: bump 5.4 to 5.4.161 2021-11-28 16:32:45 +01:00
omap uboot-omap: Remove omap3_overo configuration 2021-11-28 22:26:27 +01:00
oxnas kernel: bump 5.10 to 5.10.81 2021-11-27 19:19:11 +01:00
pistachio pistachio: drop Kernel 5.4 support 2021-11-07 18:32:21 +01:00
ramips ramips: mt7620: Enable PHY aneg of Lava LR-25G001 2021-12-04 00:36:47 +01:00
realtek realtek: netgear-gigabit: Add gpio-restart node 2021-11-28 22:43:08 +01:00
rockchip rockchip: move r8152 related patches to generic 2021-10-30 21:17:20 +02:00
sunxi sunxi: update nanopi neo air that use brcmfmac43430a0 2021-12-02 10:58:36 +00:00
tegra tegra: switch to kernel 5.10 2021-10-18 21:32:36 +02:00
uml uml: add Kernel 5.10 support via testing 2021-11-02 10:04:50 -10:00
x86 x86: sort alphabetically default packages 2021-11-06 23:36:32 +01:00
zynq kernel: Set some options in generic configuration 2021-11-02 23:37:19 +01:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00