diff options
author | Vitaly Andrianov <vitalya@ti.com> | 2015-09-19 10:56:50 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-10-22 18:22:23 (GMT) |
commit | 4657a2d44ed06272c1fb1d6f5b842e93ceddbbb6 (patch) | |
tree | 9246611d2d9e563f925208f7249069e8a564a6e3 /arch/arm/include/asm/ti-common | |
parent | bc3003b99928c8976961a8d9bc3a899a7eb2bab4 (diff) | |
download | u-boot-4657a2d44ed06272c1fb1d6f5b842e93ceddbbb6.tar.xz |
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/asm/ti-common')
-rw-r--r-- | arch/arm/include/asm/ti-common/keystone_net.h | 5 |
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 |