* [U-Boot] [PATCH] board: ti: DRA7: Add DP83867 TI phy for rev c
@ 2016-03-30 17:58 Dan Murphy
2016-03-31 5:54 ` Mugunthan V N
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Dan Murphy @ 2016-03-30 17:58 UTC (permalink / raw)
To: u-boot
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.
Signed-off-by: Dan Murphy <dmurphy@ti.com>
---
board/ti/dra7xx/evm.c | 6 ++++++
include/configs/dra7xx_evm.h | 1 +
2 files changed, 7 insertions(+)
diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c
index 25f2031..9bd71d8 100644
--- a/board/ti/dra7xx/evm.c
+++ b/board/ti/dra7xx/evm.c
@@ -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);
diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
index c0795ab..7734e8d 100644
--- a/include/configs/dra7xx_evm.h
+++ b/include/configs/dra7xx_evm.h
@@ -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
--
2.8.0.rc3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] board: ti: DRA7: Add DP83867 TI phy for rev c
2016-03-30 17:58 [U-Boot] [PATCH] board: ti: DRA7: Add DP83867 TI phy for rev c Dan Murphy
@ 2016-03-31 5:54 ` Mugunthan V N
2016-03-31 16:38 ` Tom Rini
2016-04-02 2:01 ` [U-Boot] " Tom Rini
2 siblings, 0 replies; 4+ messages in thread
From: Mugunthan V N @ 2016-03-31 5:54 UTC (permalink / raw)
To: u-boot
On Wednesday 30 March 2016 11:28 PM, Dan Murphy wrote:
> 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.
>
> Signed-off-by: Dan Murphy <dmurphy@ti.com>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Regards
Mugunthan V N
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] board: ti: DRA7: Add DP83867 TI phy for rev c
2016-03-30 17:58 [U-Boot] [PATCH] board: ti: DRA7: Add DP83867 TI phy for rev c Dan Murphy
2016-03-31 5:54 ` Mugunthan V N
@ 2016-03-31 16:38 ` Tom Rini
2016-04-02 2:01 ` [U-Boot] " Tom Rini
2 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2016-03-31 16:38 UTC (permalink / raw)
To: u-boot
On Wed, Mar 30, 2016 at 12:58:37PM -0500, Dan Murphy wrote:
> 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.
>
> Signed-off-by: Dan Murphy <dmurphy@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
--
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>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] board: ti: DRA7: Add DP83867 TI phy for rev c
2016-03-30 17:58 [U-Boot] [PATCH] board: ti: DRA7: Add DP83867 TI phy for rev c Dan Murphy
2016-03-31 5:54 ` Mugunthan V N
2016-03-31 16:38 ` Tom Rini
@ 2016-04-02 2:01 ` Tom Rini
2 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2016-04-02 2:01 UTC (permalink / raw)
To: u-boot
On Wed, Mar 30, 2016 at 12:58:37PM -0500, Dan Murphy wrote:
> 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.
>
> Signed-off-by: Dan Murphy <dmurphy@ti.com>
> Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
> Reviewed-by: Tom Rini <trini@konsulko.com>
Applied to u-boot/master, thanks!
--
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>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-04-02 2:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-30 17:58 [U-Boot] [PATCH] board: ti: DRA7: Add DP83867 TI phy for rev c Dan Murphy
2016-03-31 5:54 ` Mugunthan V N
2016-03-31 16:38 ` Tom Rini
2016-04-02 2:01 ` [U-Boot] " Tom Rini
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.