]> git.dujemihanovic.xyz Git - u-boot.git/commit
eth: mtk-eth: enable mt7629 sgmii mode support in mediatek eth driver
authorMarkLee <Mark-MC.Lee@mediatek.com>
Fri, 19 Jun 2020 11:17:16 +0000 (19:17 +0800)
committerTom Rini <trini@konsulko.com>
Wed, 29 Jul 2020 02:44:00 +0000 (22:44 -0400)
commitf0236b7015283da3d7c9cb9e91b8b94a7e46c5e6
treec461a91d4c2746959b5ed2e29be5de92622975d8
parent3b191c56c841596771b4120f09fb556adf958b5c
eth: mtk-eth: enable mt7629 sgmii mode support in mediatek eth driver

The sgmii mode init flow is almost the same for all mediatek SoC, the
only difference is the register offset(SGMSYS_GEN2_SPEED) is 0x2028
in the old chip(mt7622) but changed to 0x128 for the newer chip(mt7629
and the following chips).

Signed-off-by: MarkLee <Mark-MC.Lee@mediatek.com>
drivers/net/mtk_eth.c
drivers/net/mtk_eth.h