summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorVitaly Andrianov <vitalya@ti.com>2015-09-19 16:26:50 +0530
committerTom Rini <trini@konsulko.com>2015-10-22 14:22:23 -0400
commit4657a2d44ed06272c1fb1d6f5b842e93ceddbbb6 (patch)
tree9246611d2d9e563f925208f7249069e8a564a6e3 /arch/arm/include
parentbc3003b99928c8976961a8d9bc3a899a7eb2bab4 (diff)
downloadu-boot-imx-4657a2d44ed06272c1fb1d6f5b842e93ceddbbb6.zip
u-boot-imx-4657a2d44ed06272c1fb1d6f5b842e93ceddbbb6.tar.gz
u-boot-imx-4657a2d44ed06272c1fb1d6f5b842e93ceddbbb6.tar.bz2
driver: net: keystone_net: add support for rgmii phy
In K2G, Ethernet doesn't support SGMII instead it support RGMII, adding support to the driver to connect to RGMII phy. Signed-off-by: Vitaly Andrianov <vitalya@ti.com> Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/ti-common/keystone_net.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/include/asm/ti-common/keystone_net.h b/arch/arm/include/asm/ti-common/keystone_net.h
index 43a6568..a0d0d9b 100644
--- a/arch/arm/include/asm/ti-common/keystone_net.h
+++ b/arch/arm/include/asm/ti-common/keystone_net.h
@@ -193,6 +193,11 @@ struct mac_sl_cfg {
#define SGMII_RXCFG_REG(x) (EMAC_SGMII_BASE_ADDR + SGMII_OFFSET(x) + 0x034)
#define SGMII_AUXCFG_REG(x) (EMAC_SGMII_BASE_ADDR + SGMII_OFFSET(x) + 0x038)
+/* RGMII */
+#define RGMII_REG_STATUS_LINK BIT(0)
+
+#define RGMII_STATUS_REG (GBETH_BASE + 0x18)
+
/* PSS */
#ifdef CONFIG_KSNET_NETCP_V1_0