ath79: correct various phy-mode properties
authorDavid Bauer <mail@david-bauer.net>
Tue, 18 Jun 2019 22:07:12 +0000 (00:07 +0200)
committerPetr Štetiar <ynezz@true.cz>
Thu, 20 Jun 2019 06:57:36 +0000 (08:57 +0200)
commit62abbd587dc9a6c6ea8e46da9a1352b8bdc8cfd5
treebff9a83f8cc78640cc9ae07291f4d3478a86f91c
parenteeeaf24e2868ae4dcbc316266105224f018db8e7
ath79: correct various phy-mode properties

Upstream commit 6d4cd04 changes how the internal delays of the AR803x
based PHYs are enabled. With this commit, all internal delays are
disabled on driver probe and enabled based on the 'phy-mode' property in
the device-tree.

Before this commit, the RX delay was always enabled upon soft-reset
while the TX delay retained it's previous state. A hard reset enabled
the RX delay while the TX delay was disabled.

Because of this inconsistency, wrongly specified PHY-modes were working
correctly while the hardware was in a different state.

Fix the PHY-modes of some affected devices (and clean up misplaced
properties along the way) to keep the devices working flawlessly with
kernels >= 5.1.

Signed-off-by: David Bauer <mail@david-bauer.net>
target/linux/ath79/dts/ar9344_ocedo_raccoon.dts
target/linux/ath79/dts/qca9558_devolo_dvl1200i.dts
target/linux/ath79/dts/qca9558_devolo_dvl1750c.dts
target/linux/ath79/dts/qca9558_devolo_dvl1750i.dts
target/linux/ath79/dts/qca9558_devolo_dvl1xxx.dtsi
target/linux/ath79/dts/qca9558_ocedo_koala.dts