summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-06-28 09:06:26 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2021-06-28 22:40:19 +0200
commit27cda57226a4f24d6c3153387a99bf4862425592 (patch)
tree26a2da3136e3919ebf7d4d0ea350ec2812d10466 /arch/arm/dts
parent65915417103be6c883e8dbba8874068f78087c61 (diff)
downloadbarebox-27cda57226a4f24d6c3153387a99bf4862425592.tar.gz
barebox-27cda57226a4f24d6c3153387a99bf4862425592.tar.xz
ARM: imx6: marsboard: simplify ar8035 PHY fixups
These are the same fixups as the riotboard's, itself propably taken from Linux, where mach-imx registers the same fixups for ar803x PHYs. Some of these fixups can now be solved by PHY properties added since. Make use of them and make the remaining MMD indirect phy usage more compact by using phy_read_mmd_indirect. Cc: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.barebox.org/20210628070627.16329-1-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r--arch/arm/dts/imx6q-marsboard.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/dts/imx6q-marsboard.dts b/arch/arm/dts/imx6q-marsboard.dts
index 1d9f8f005d..cc5edfff66 100644
--- a/arch/arm/dts/imx6q-marsboard.dts
+++ b/arch/arm/dts/imx6q-marsboard.dts
@@ -36,6 +36,11 @@
&fec {
phy-reset-duration = <2>;
+ phy-mode = "rgmii-id";
+};
+
+&rgmii_phy {
+ qca,clk-out-frequency = <125000000>;
};
&ocotp {