ath79: ag71xx: Rework mdio clock settings
authorChuanhong Guo <gch981213@gmail.com>
Tue, 17 Jul 2018 09:09:14 +0000 (17:09 +0800)
committerJohn Crispin <john@phrozen.org>
Mon, 30 Jul 2018 08:43:34 +0000 (10:43 +0200)
commit85189e4c0051a9ca2fd61e9e9d88663b8012b197
tree9e6bb19838e41682d70aa66de2a0c87242bbc51b
parentbb7fac4369ca3b3a18535d032e84e158b03a35e5
ath79: ag71xx: Rework mdio clock settings

Allow specifying desired mdio clock frequency in dts.
Use default frequency around 5MHz for builtin switch and 2MHz for other mdio bus.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/ath79/dts/ar9330.dtsi
target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_mdio.c