ath79: use hardware MDIO on MikroTik RouterBOARD wAP G-5HacT2HnD
authorSander Vanheule <[email protected]>
Tue, 21 Jul 2020 19:49:53 +0000 (21:49 +0200)
committerAdrian Schmutzler <[email protected]>
Mon, 25 Jan 2021 17:53:29 +0000 (18:53 +0100)
commitcd28edd6ecb7b1fe8ffceb13f8dd467278bb7d9a
tree706a678f108588e1dd27cdfab4ded13c76ebb968
parent53b24545a8e6e45fe180717f01c03ba63ec9ef4b
ath79: use hardware MDIO on MikroTik RouterBOARD wAP G-5HacT2HnD

Instead of using a bit-banged GPIO, configure the GPIO output mux to use
the SoC's MDIO functionality. According to the QCA955x datasheet, MDIO1
is associated with the use of SGMII.

The following changes are also made:
* Drop phy-mode from phy0: the ar71xx driver looks for this property in
  ethX nodes, but the correct value is already specified in the dtsi.
* Drop the deprecated 'device-type = "ethernet-phy"' for phy0.

Signed-off-by: Sander Vanheule <[email protected]>
[drop mdio2 from aliases]
Signed-off-by: Adrian Schmutzler <[email protected]>
target/linux/ath79/dts/qca9556_mikrotik_routerboard-wap-g-5hact2hnd.dts