openwrt/target/linux
Chen Minqiang f6d81e2fa1 mt7620: gsw: make IntPHY and ExtPHY share mdio addr 4 possible
To share mdio addr for IntPHY and ExtPHY,
as described in the documentation (MT7620_ProgrammingGuide.pdf).
(refer: http://download.villagetelco.org/hardware/MT7620/MT7620_ProgrammingGuide.pdf)

when port4 setup to work as gmac mode, dts like:

&gsw {
    mediatek,port4 = "gmac";
};

we should set SYSCFG1.GE2_MODE==0x0 (RGMII).
but SYSCFG1.GE2_MODE may have been set to 3(RJ-45) by uboot/default
so we need to re-set it to 0x0

before this changes:
gsw: 4FE + 2GE may not work correctly and MDIO addr 4 cannot be used by ExtPHY

after this changes:
gsw: 4FE + 2GE works and MDIO addr 4 can be used by ExtPHY

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2018-08-06 07:12:31 +02:00
..
adm5120
adm8668
apm821xx kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
ar7
ar71xx ar71xx: add support for TP-LINK CPE510 V2.0 2018-08-02 07:49:26 +02:00
arc770
archs38
armvirt kernel: add missing ARM64_SSBD symbol 2018-07-31 12:22:11 +03:00
at91
ath25
ath79 treewide: convert gpio-export to platform driver 2018-08-04 08:39:35 +02:00
au1000
bcm53xx kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
brcm47xx kernel: bump 4.9 to 4.9.116 2018-08-01 09:46:59 +02:00
brcm63xx brcm63xx: switch to 4.14 2018-08-02 08:49:18 +02:00
brcm2708 kernel: bump 4.9 to 4.9.117 2018-08-03 16:10:38 +02:00
cns3xxx kernel: bump 4.14 to 4.14.60 2018-08-03 16:10:38 +02:00
gemini
generic kernel: bump 4.14 to 4.14.60 2018-08-03 16:10:38 +02:00
imx6
ipq40xx kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
ipq806x
ixp4xx kernel: bump 4.9 to 4.9.116 2018-08-01 09:46:59 +02:00
kirkwood kernel: bump 4.9 to 4.9.116 2018-08-01 09:46:59 +02:00
lantiq treewide: convert gpio-export to platform driver 2018-08-04 08:39:35 +02:00
layerscape kernel: bump 4.9 to 4.9.117 2018-08-03 16:10:38 +02:00
malta
mcs814x
mediatek kernel: add missing ARM64_SSBD symbol 2018-07-31 12:22:11 +03:00
mpc85xx
mvebu kernel: bump 4.14 to 4.14.60 2018-08-03 16:10:38 +02:00
mxs
octeon
octeontx kernel: add missing ARM64_SSBD symbol 2018-07-31 12:22:11 +03:00
omap omap: disable ubifs 2018-07-30 11:03:02 +02:00
omap24xx
orion
oxnas kernel: bump 4.14 to 4.14.59 2018-07-31 05:11:07 +03:00
pistachio
ppc40x
ppc44x
ramips mt7620: gsw: make IntPHY and ExtPHY share mdio addr 4 possible 2018-08-06 07:12:31 +02:00
rb532
samsung samsung/s5pv210: New target 2018-07-30 14:10:00 +02:00
sunxi kernel: bump 4.9 to 4.9.116 2018-08-01 09:46:59 +02:00
uml
x86 x86: add support to set GRUB menu entry title 2018-07-30 15:55:21 +02:00
xburst
zynq
Makefile