diff options
author | Ajay Bhargav <[ajay.bhargav@einfochips.com]> | 2011-09-13 22:22:13 +0530 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-09-30 22:00:53 +0200 |
commit | 47e75d72bc1ced0e8fd3e3e231304bfaa3e86540 (patch) | |
tree | 6ec5e10ce20040563cfe67e675d45ff69ec3a0bd /include | |
parent | aa0ecfeb9d60d82e095daa0d6271f77b2c25d3fb (diff) | |
download | u-boot-imx-47e75d72bc1ced0e8fd3e3e231304bfaa3e86540.zip u-boot-imx-47e75d72bc1ced0e8fd3e3e231304bfaa3e86540.tar.gz u-boot-imx-47e75d72bc1ced0e8fd3e3e231304bfaa3e86540.tar.bz2 |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/gplugd.h | 14 |
1 files changed, 14 insertions, 0 deletions
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 |