summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorKhoronzhuk, Ivan <[email protected]>2014-10-17 21:01:13 +0300
committerTom Rini <[email protected]>2014-10-23 11:27:29 -0400
commit3c61502aad85e8b25b75e349dfd5a5a7eee22301 (patch)
tree79bc35b044f709ec8f9d19e5b7078f40e80f55d7 /drivers
parent2162faaf58684e262a0a7a933c1c77da45317831 (diff)
net: keystone_serdes: add keystone K2E SoC support
Keystone2 Edison SoC uses the same keystone SerDes driver. This patch adds support for K2E SoCs. Acked-by: Vitaly Andrianov <[email protected]> Acked-by: Murali Karicheri <[email protected]> Signed-off-by: Ivan Khoronzhuk <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/keystone_net.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/keystone_net.c b/drivers/net/keystone_net.c
index 13a1778298a..43c263e612e 100644
--- a/drivers/net/keystone_net.c
+++ b/drivers/net/keystone_net.c
@@ -551,6 +551,12 @@ static void keystone2_net_serdes_setup(void)
&ks2_serdes_sgmii_156p25mhz,
CONFIG_KSNET_SERDES_LANES_PER_SGMII);
+#ifdef CONFIG_SOC_K2E
+ ks2_serdes_init(CONFIG_KSNET_SERDES_SGMII2_BASE,
+ &ks2_serdes_sgmii_156p25mhz,
+ CONFIG_KSNET_SERDES_LANES_PER_SGMII);
+#endif
+
/* wait till setup */
udelay(5000);
}