ARM: imx: imx8mn-*-evk: use DM settings for PHY configuration
authorHeiko Thiery <heiko.thiery@gmail.com>
Wed, 23 Feb 2022 08:10:29 +0000 (09:10 +0100)
committerStefano Babic <sbabic@denx.de>
Tue, 12 Apr 2022 13:36:17 +0000 (15:36 +0200)
commit775011980bf8dd131da8e387a0fd854e9615c158
tree7d554765f0a4319c27d37621c3157ff29d101c34
parent9eb5e7d9ab8d63337f443f8c13fb9e26ae2f0266
ARM: imx: imx8mn-*-evk: use DM settings for PHY configuration

With the correct settings described in the device-tree the PHY settings
in the board init are no longer required. The values are taken from the
linux device tree.

The PHY latency settings are derived from the phy-mode property and the
voltage seetings are done via the regulator.

Suggested-by: Michael Walle <michael@walle.cc>
Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Tested-by: Marek Vasut <marex@denx.de> # 8MNANOD4-EVK
Reviewed-by: Fabio Estevam <festevam@gmail.com>
arch/arm/dts/imx8mn-evk.dtsi
board/freescale/imx8mn_evk/imx8mn_evk.c