summaryrefslogtreecommitdiff
path: root/include/micrel.h
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2020-03-04 19:33:47 +0100
committerPhilippe Schenker <philippe.schenker@toradex.com>2020-03-04 20:01:43 +0100
commit50e975e6ce4e4e88f8c5c943ef2ddc38b0a31997 (patch)
treef63b83cf7a7c08e155234590e7613d5bebb59257 /include/micrel.h
parent150e6b7f6c9c8342997245be50f3bc58df78aaf3 (diff)
board: verdin-imx8mm: Add KSZ9131 phy skew settings
This patch basically just enables both RXC and TXC delay lines in the PHY. This will compensate the missing delay from the MAC. Other skew settings are not needed as the traces on board are routed exactly the same length Related-to: ELB-1299 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Diffstat (limited to 'include/micrel.h')
-rw-r--r--include/micrel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/micrel.h b/include/micrel.h
index f5126f2992..a2593c5b10 100644
--- a/include/micrel.h
+++ b/include/micrel.h
@@ -25,6 +25,10 @@
#define MII_KSZ9x31_SILICON_REV_MASK 0xfffff0
+#define MII_KSZ9131_RXTXDLL_BYPASS BIT(12)
+#define MII_KSZ9131_EXT_RGMII_2NS_SKEW_RXDLL 0x4c
+#define MII_KSZ9131_EXT_RGMII_2NS_SKEW_TXDLL 0x4d
+
#define PHY_ID_KSZ9031 0x00221620
#define PHY_ID_KSZ9131 0x00221640