immortalwrt/target/linux
Pawel Dembicki ef784379ea 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-05 23:57:36 +08:00
..
apm821xx kernel: bump 5.10 to 5.10.76 2021-11-01 23:54:04 +08:00
arc770 arc770: drop target 2021-09-14 03:17:29 +08:00
archs38 archs38: update kernel version to 5.10 2021-11-10 23:59:07 +08:00
armvirt armvirt: enable MMIO_CMDLINE_DEVICES for firecracker support 2021-10-14 23:56:43 +08:00
at91 kernel: Set some options in generic configuration 2021-11-12 00:06:18 +08:00
ath25 kernel: bump 5.4 to 5.4.154 2021-10-22 23:56:43 +08:00
ath79 ath79: add support for Dongwon T&I DW02-412H 2021-11-20 00:10:22 +08:00
bcm27xx kernel: Set some options in generic configuration 2021-11-12 00:06:18 +08:00
bcm47xx bcm47xx: fix bgmac regression present in 5.10 kernel 2021-11-14 23:56:20 +08:00
bcm53xx kernel: Deactivate B53 symbols in generic configuration 2021-12-03 00:03:50 +08:00
bcm63xx kernel: bump 5.10 to 5.10.74 2021-10-22 23:58:19 +08:00
bcm4908 bcm4908: Deactivate pci feature 2021-12-03 00:04:02 +08:00
bmips kernel: Deactivate B53 symbols in generic configuration 2021-12-03 00:03:50 +08:00
gemini gemini: splash banner on framebuffer console 2021-10-11 23:55:36 +08:00
generic kernel: Deactivate B53 symbols in generic configuration 2021-12-03 00:03:50 +08:00
imx6 kernel: Set some options in generic configuration 2021-11-12 00:06:18 +08:00
ipq40xx Merge Mainline 2021-10-27 12:18:41 +08:00
ipq806x ipq806x: ecw5410: use bootloader provided MAC-s 2021-11-13 00:17:56 +08:00
ipq807x kernel: Set CONFIG_RCU_CPU_STALL_TIMEOUT=21 2021-09-10 12:26:08 +08:00
kirkwood kirkwood: refresh kernel config 2021-10-06 23:56:13 +08:00
lantiq lantiq: xway_legacy: disable unused switches 2021-12-03 00:05:41 +08:00
layerscape layerscape: mkits-multiple-config: fail on invalid arguments 2021-11-14 23:57:59 +08:00
malta kernel: move two symbols to the generic kconfigs 2021-08-30 12:13:54 +08:00
mediatek kernel: Set some options in generic configuration 2021-11-12 00:06:18 +08:00
mpc85xx mpc85xx: Fix HiveAP-330 nvmem mac loader 2021-12-03 00:05:26 +08:00
mvebu kernel: bump 5.10 to 5.10.76 2021-11-01 23:54:04 +08:00
mxs kernel: Set some options in generic configuration 2021-11-12 00:06:18 +08:00
octeon kernel: move two symbols to the generic kconfigs 2021-08-30 12:13:54 +08:00
octeontx kernel: Deactivate some ARM64 errata workarounds 2021-10-07 00:04:20 +08:00
omap uboot-omap: Remove omap3_overo configuration 2021-12-01 23:48:09 +08:00
oxnas kernel: bump 5.10 to 5.10.76 2021-11-01 23:54:04 +08:00
pistachio pistachio: Take bootargs from device tree 2021-11-12 00:07:55 +08:00
ramips ramips: mt7620: Enable PHY aneg of Lava LR-25G001 2021-12-05 23:57:36 +08:00
realtek kernel: bump 5.10 to 5.10.76 2021-11-01 23:54:04 +08:00
rockchip rockchip: 5.10: NanoPi R2S: fixes vcc-rtl8153-regulator 2021-11-29 23:43:22 +08:00
sunxi sunxi: update nanopi neo air that use brcmfmac43430a0 2021-12-03 00:05:55 +08:00
tegra kernel: Set CONFIG_RCU_CPU_STALL_TIMEOUT=21 2021-09-10 12:26:08 +08:00
uml uml: add Kernel 5.10 support via testing 2021-11-05 00:03:04 +08:00
x86 x86: drop wireless util by default 2021-10-18 17:45:02 +08:00
zynq kernel: Set some options in generic configuration 2021-11-12 00:06:18 +08:00
Makefile