Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f6f97588 authored by Sekhar Nori's avatar Sekhar Nori
Browse files

ARM: davinci: update mdio bus name



Commit 5a05a820 ("davinci_emac:
use an unique MDIO bus name") introduced during the v3.3 merge
window updated the davinci mdio bus name to make it unique.

Update the bus name in board files which use DaVinci MDIO bus
to match the new name. Without this PHY is not detected with
error like:

PHY 0:01 not found
net eth0: could not connect to phy 0:01

Tested on DM365 and DA850 EVMs.

Cc: Florian Fainelli <florian@openwrt.org>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
parent 7c655099
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@
#include <mach/aemif.h>
#include <mach/spi.h>

#define DA850_EVM_PHY_ID		"0:00"
#define DA850_EVM_PHY_ID		"davinci_mdio-0:00"
#define DA850_LCD_PWR_PIN		GPIO_TO_PIN(2, 8)
#define DA850_LCD_BL_PIN		GPIO_TO_PIN(2, 15)

+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ static inline int have_tvp7002(void)
	return 0;
}

#define DM365_EVM_PHY_ID		"0:01"
#define DM365_EVM_PHY_ID		"davinci_mdio-0:01"
/*
 * A MAX-II CPLD is used for various board control functions.
 */
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@
#include <mach/usb.h>
#include <mach/aemif.h>

#define DM644X_EVM_PHY_ID		"0:01"
#define DM644X_EVM_PHY_ID		"davinci_mdio-0:01"
#define LXT971_PHY_ID	(0x001378e2)
#define LXT971_PHY_MASK	(0xfffffff0)

+1 −1
Original line number Diff line number Diff line
@@ -736,7 +736,7 @@ static struct davinci_uart_config uart_config __initdata = {
	.enabled_uarts = (1 << 0),
};

#define DM646X_EVM_PHY_ID		"0:01"
#define DM646X_EVM_PHY_ID		"davinci_mdio-0:01"
/*
 * The following EDMA channels/slots are not being used by drivers (for
 * example: Timer, GPIO, UART events etc) on dm646x, hence they are being
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@
#include <mach/mmc.h>
#include <mach/usb.h>

#define NEUROS_OSD2_PHY_ID		"0:01"
#define NEUROS_OSD2_PHY_ID		"davinci_mdio-0:01"
#define LXT971_PHY_ID			0x001378e2
#define LXT971_PHY_MASK			0xfffffff0

Loading