Armada100: Enable 88E3015 PHY support for GplugD

This patch adds support for 88E3015 PHY for Marvell GplugD board.
This patch depends on series of patch which adds support for Marvell
GuruPlug-Display.

Signed-off-by: Ajay Bhargav <ajay.bhargav@einfochips.com>
This commit is contained in:
Ajay Bhargav
2011-09-13 22:22:13 +05:30
committed by Albert ARIBAUD
parent aa0ecfeb9d
commit 47e75d72bc
2 changed files with 47 additions and 0 deletions

View File

@@ -77,6 +77,20 @@
#define CONFIG_BOOTP_DHCP_REQUEST_DELAY 50000
#endif /* CONFIG_CMD_NET */
/* GPIO Support */
#define CONFIG_MARVELL_GPIO
/* PHY configuration */
#define CONFIG_MII
#define CONFIG_CMD_MII
#define CONFIG_RESET_PHY_R
/* 88E3015 register definition */
#define PHY_LED_PAR_SEL_REG 22
#define PHY_LED_MAN_REG 25
#define PHY_LED_VAL 0x5b /* LINK LED1, ACT LED2 */
/* GPIO Configuration for PHY */
#define CONFIG_SYS_GPIO_PHY_RST 104 /* GPIO104 */
/*
* mv-common.h should be defined after CMD configs since it used them
* to enable certain macros