ramips: reset mt7620 ethernet phy via reset controller
authorShiji Yang <yangshiji66@qq.com>
Tue, 12 Dec 2023 05:18:45 +0000 (05:18 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 6 Jan 2024 13:24:13 +0000 (14:24 +0100)
commitf547fc9d579e894257cccfebec3a374e27e69e0c
treef0969edd601369b152bc9053e0bd1d8f79b1253b
parentee82d9606fd5cd38778604aabefccd61d4028733
ramips: reset mt7620 ethernet phy via reset controller

Use reset controller to reset mt7620 ethernet phy instead of directly
writing system control registers. The reset line of "ephy" is 24, so
the DTS resets properties have been updated to get the correct reset
signal.

Tested on HiWiFi HC5861.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
target/linux/ramips/dts/mt7620a.dtsi
target/linux/ramips/dts/mt7620n.dtsi
target/linux/ramips/files/drivers/net/ethernet/ralink/gsw_mt7620.c
target/linux/ramips/files/drivers/net/ethernet/ralink/gsw_mt7620.h
target/linux/ramips/files/drivers/net/ethernet/ralink/mtk_eth_soc.c
target/linux/ramips/files/drivers/net/ethernet/ralink/mtk_eth_soc.h