diff options
author | Tom Rini <trini@konsulko.com> | 2018-11-14 11:30:07 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-11-14 11:30:07 -0500 |
commit | 208ecbad2ea83333e8f3c9933213867addf16f4a (patch) | |
tree | 7af7000318ac1987179fc398a267caf1cac13af8 /arch/arm/include/asm/ti-common/keystone_net.h | |
parent | 0157013f4a4945bbdb70bb4d98d680e0845fd784 (diff) | |
parent | 9e2a90280939fd896eb7af5db49c0410d5bd8420 (diff) |
Merge branch 'next'
This brings in the u-boot-net PR from Joe.
Diffstat (limited to 'arch/arm/include/asm/ti-common/keystone_net.h')
-rw-r--r-- | arch/arm/include/asm/ti-common/keystone_net.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/arch/arm/include/asm/ti-common/keystone_net.h b/arch/arm/include/asm/ti-common/keystone_net.h index f89e043f6e..bba1048499 100644 --- a/arch/arm/include/asm/ti-common/keystone_net.h +++ b/arch/arm/include/asm/ti-common/keystone_net.h @@ -57,19 +57,6 @@ /* MDIO clock output frequency */ #define EMAC_MDIO_CLOCK_FREQ 2500000 /* 2.5 MHz */ -/* MII Status Register */ -#define MII_STATUS_REG 1 -#define MII_STATUS_LINK_MASK 0x4 - -#define MDIO_CONTROL_IDLE 0x80000000 -#define MDIO_CONTROL_ENABLE 0x40000000 -#define MDIO_CONTROL_FAULT_ENABLE 0x40000 -#define MDIO_CONTROL_FAULT 0x80000 -#define MDIO_USERACCESS0_GO 0x80000000 -#define MDIO_USERACCESS0_WRITE_READ 0x0 -#define MDIO_USERACCESS0_WRITE_WRITE 0x40000000 -#define MDIO_USERACCESS0_ACK 0x20000000 - #define EMAC_MACCONTROL_MIIEN_ENABLE 0x20 #define EMAC_MACCONTROL_FULLDUPLEX_ENABLE 0x1 #define EMAC_MACCONTROL_GIGABIT_ENABLE BIT(7) @@ -242,18 +229,4 @@ struct mdio_regs { u32 userphysel1; }; -struct eth_priv_t { - char int_name[32]; - int rx_flow; - int phy_addr; - int slave_port; - int sgmii_link_type; - phy_interface_t phy_if; - struct phy_device *phy_dev; -}; - -int keystone2_emac_initialize(struct eth_priv_t *eth_priv); -void sgmii_serdes_setup_156p25mhz(void); -void sgmii_serdes_shutdown(void); - #endif /* _KEYSTONE_NET_H_ */ |