board: ti: DRA7: Add DP83867 TI phy for rev c
PATCH 1/1 board: ti: DRA7: Add DP83867 TI phy for rev c
Enable the TI DP83867 Giga bit phy on the dra7 rev c board. The rx and tx internal delays are need for this board so the usage of RGMII_ID is required.
--- board/ti/dra7xx/evm.c | 6 ++++++ include/configs/dra7xx_evm.h | 1 + 2 files changed, 7 insertions(+)
board/ti/dra7xx/evm.c +6 -0
@@ -27,6 +27,7 @@#include <dwc3-uboot.h> #include <dwc3-omap-uboot.h> #include <ti-usb-phy-uboot.h> +#include <miiphy.h> #include "mux_data.h" #include "../common/board_detect.h"
@@ -679,6 +680,11 @@ int board_eth_init(bd_t *bis)if (*omap_si_rev ==DRA722_ES1_0 ) cpsw_data.active_slave =1 ; +if (board_is_dra72x_revc_or_later ()) { + cpsw_slaves[0 ].phy_if =PHY_INTERFACE_MODE_RGMII_ID ; + cpsw_slaves[1 ].phy_if =PHY_INTERFACE_MODE_RGMII_ID ; + } + ret =cpsw_register (&cpsw_data);if (ret <0 )printf ("Error %d registering CPSW switch\n" , ret);
include/configs/dra7xx_evm.h +1 -0
@@ -155,6 +155,7 @@#define CONFIG_MII /* Required in net/eth.c */ #define CONFIG_PHY_GIGE /* per-board part of CPSW */ #define CONFIG_PHYLIB +#define CONFIG_PHY_TI /* SPI */ #undef CONFIG_OMAP3_SPI
Signature · 1 line
2.8.0.rc3
PATCH 1/1 board: ti: DRA7: Add DP83867 TI phy for rev c
Quoted 6 lines · Dan Murphy
Enable the TI DP83867 Giga bit phy on the dra7 rev c board. The rx and tx internal delays are need for this board so the usage of
RGMII_IDis required.Signed-off-by Dan Murphy <[email protected]>
Regards
Mugunthan V N
PATCH 1/1 board: ti: DRA7: Add DP83867 TI phy for rev c
In reply to Dan MurphyQuoted 6 lines · Dan Murphy
Enable the TI DP83867 Giga bit phy on the dra7 rev c board. The rx and tx internal delays are need for this board so the usage of
RGMII_IDis required.Signed-off-by Dan Murphy <[email protected]>
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160331/8472a649/attachment.sig>
Quoted 8 lines · Dan Murphy
Enable the TI DP83867 Giga bit phy on the dra7 rev c board. The rx and tx internal delays are need for this board so the usage of
RGMII_IDis required.Signed-off-by Dan Murphy <[email protected]>Acked-by Mugunthan V N <[email protected]>Reviewed-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160401/0b62e152/attachment.sig>