board: ge: bx50v3: cleanup phy config
authorSebastian Reichel <sebastian.reichel@collabora.com>
Mon, 14 Dec 2020 23:41:57 +0000 (00:41 +0100)
committerStefano Babic <sbabic@denx.de>
Sat, 26 Dec 2020 13:56:09 +0000 (14:56 +0100)
commit717bf50f4b362c1f4fac5ac9f030fab5bed9cf65
treea5de5a3557e1c0aeaf19347701a907be8c64b873
parentc44d374bef118a07b44a5a5f596569891cfc6d21
board: ge: bx50v3: cleanup phy config

The current PHY rework does the following things:

1. Configure 125MHz clock
2. Setup the TX clock delay (RX is enabled by default),
3. Setup reserved bits to avoid voltage peak

The clock delays are nowadays already configured by the
PHY driver (in ar803x_delay_config). The code for that
can simply be dropped. The clock speed can also be
configured by the PHY driver by adding the device tree
property "qca,clk-out-frequency".

What is left is setting up the undocumented reserved bits
to avoid the voltage peak problem. I slightly improved its
documentation while updating the board's PHY rework code.

Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
arch/arm/dts/imx6q-ba16.dtsi
board/ge/bx50v3/bx50v3.c