]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: imx6dl-yapp4: Use rgmii-id phy mode on the cpu port
authorMichal Vokáč <michal.vokac@ysoft.com>
Fri, 1 Mar 2019 07:26:42 +0000 (08:26 +0100)
committerShawn Guo <shawnguo@kernel.org>
Tue, 19 Mar 2019 08:48:00 +0000 (16:48 +0800)
commit52cb1605e6003a215d703498085a9791b00960ad
tree9f1acc87bb4e78227ca5fcb16604191167f37591
parent805099b2fb57eba3d69bc38aeb447dfe76b0ebb9
ARM: dts: imx6dl-yapp4: Use rgmii-id phy mode on the cpu port

Use rgmii-id phy mode for the CPU port (MAC0) of the QCA8334 switch
to add delays to both Tx and Rx clock.

It worked with the rgmii mode before because the qca8k driver
(incorrectly) enabled delays in that mode and rgmii-id was not
implemented at all.

Commit 034096bf4bc4 ("net: dsa: qca8k: disable delay for RGMII mode")
removed the delays from the RGMII mode and hence broke the networking.

To fix the problem, commit a6ef9fc104b7 ("net: dsa: qca8k: Enable delay
for RGMII_ID mode") was introduced.

Now the correct phy mode is available so use it.

Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6dl-yapp4-common.dtsi