From 77501a79cec40eac65c59ee7af3f786c703ead9c Mon Sep 17 00:00:00 2001
From: Philipp Zabel
Date: Thu, 14 Jul 2016 16:29:43 +0200
Subject: net: phy: micrel: Add KSZ8041FTL fiber mode support
We can't detect the FXEN (fiber mode) bootstrap pin, so configure
it via a boolean device tree property "micrel,fiber-mode".
If it is enabled, auto-negotiation is not supported.
The only available modes are 100base-fx (full duplex and half duplex).
Signed-off-by: Philipp Zabel
Signed-off-by: David S. Miller
---
include/linux/micrel_phy.h | 1 +
1 file changed, 1 insertion(+)
(limited to 'include/linux/micrel_phy.h')
diff --git a/include/linux/micrel_phy.h b/include/linux/micrel_phy.h
index 2e5b194b9b19..257173e0095e 100644
--- a/include/linux/micrel_phy.h
+++ b/include/linux/micrel_phy.h
@@ -37,6 +37,7 @@
/* struct phy_device dev_flags definitions */
#define MICREL_PHY_50MHZ_CLK 0x00000001
+#define MICREL_PHY_FXEN 0x00000002
#define MICREL_KSZ9021_EXTREG_CTRL 0xB
#define MICREL_KSZ9021_EXTREG_DATA_WRITE 0xC
--
cgit v1.2.3-70-g09d2