From 47e75d72bc1ced0e8fd3e3e231304bfaa3e86540 Mon Sep 17 00:00:00 2001 From: Ajay Bhargav <[ajay.bhargav@einfochips.com]> Date: Tue, 13 Sep 2011 22:22:13 +0530 Subject: 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 --- include/configs/gplugd.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'include') diff --git a/include/configs/gplugd.h b/include/configs/gplugd.h index 3ad2de5..5f72163 100644 --- a/include/configs/gplugd.h +++ b/include/configs/gplugd.h @@ -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 -- cgit v1.1