imx: ventana: display neteowrk PHY
Add displaying the detected network PHY on boot. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
This commit is contained in:
committed by
Stefano Babic
parent
9634c748b1
commit
e9284c03bc
@@ -81,6 +81,7 @@ int board_phy_config(struct phy_device *phydev)
|
|||||||
|
|
||||||
/* Marvel 88E1510 */
|
/* Marvel 88E1510 */
|
||||||
if (phydev->phy_id == 0x1410dd1) {
|
if (phydev->phy_id == 0x1410dd1) {
|
||||||
|
puts("MV88E1510");
|
||||||
/*
|
/*
|
||||||
* Page 3, Register 16: LED[2:0] Function Control Register
|
* Page 3, Register 16: LED[2:0] Function Control Register
|
||||||
* LED[0] (SPD:Amber) R16_3.3:0 to 0111: on-GbE link
|
* LED[0] (SPD:Amber) R16_3.3:0 to 0111: on-GbE link
|
||||||
@@ -96,6 +97,7 @@ int board_phy_config(struct phy_device *phydev)
|
|||||||
|
|
||||||
/* TI DP83867 */
|
/* TI DP83867 */
|
||||||
else if (phydev->phy_id == 0x2000a231) {
|
else if (phydev->phy_id == 0x2000a231) {
|
||||||
|
puts("TIDP83867 ");
|
||||||
/* LED configuration */
|
/* LED configuration */
|
||||||
val = 0;
|
val = 0;
|
||||||
val |= 0x5 << 4; /* LED1(Amber;Speed) : 1000BT link */
|
val |= 0x5 << 4; /* LED1(Amber;Speed) : 1000BT link */
|
||||||
|
|||||||
Reference in New Issue
Block a user