aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/board-da850-evm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-davinci/board-da850-evm.c')
-rw-r--r--arch/arm/mach-davinci/board-da850-evm.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c
index ac2297c69a92..5e435b068661 100644
--- a/arch/arm/mach-davinci/board-da850-evm.c
+++ b/arch/arm/mach-davinci/board-da850-evm.c
@@ -38,9 +38,7 @@
38#include <mach/mux.h> 38#include <mach/mux.h>
39#include <mach/aemif.h> 39#include <mach/aemif.h>
40 40
41#define DA850_EVM_PHY_MASK 0x1 41#define DA850_EVM_PHY_ID "0:00"
42#define DA850_EVM_MDIO_FREQUENCY 2200000 /* PHY bus frequency */
43
44#define DA850_LCD_PWR_PIN GPIO_TO_PIN(2, 8) 42#define DA850_LCD_PWR_PIN GPIO_TO_PIN(2, 8)
45#define DA850_LCD_BL_PIN GPIO_TO_PIN(2, 15) 43#define DA850_LCD_BL_PIN GPIO_TO_PIN(2, 15)
46 44
@@ -678,8 +676,7 @@ static int __init da850_evm_config_emac(void)
678 /* Enable/Disable MII MDIO clock */ 676 /* Enable/Disable MII MDIO clock */
679 gpio_direction_output(DA850_MII_MDIO_CLKEN_PIN, rmii_en); 677 gpio_direction_output(DA850_MII_MDIO_CLKEN_PIN, rmii_en);
680 678
681 soc_info->emac_pdata->phy_mask = DA850_EVM_PHY_MASK; 679 soc_info->emac_pdata->phy_id = DA850_EVM_PHY_ID;
682 soc_info->emac_pdata->mdio_max_freq = DA850_EVM_MDIO_FREQUENCY;
683 680
684 ret = da8xx_register_emac(); 681 ret = da8xx_register_emac();
685 if (ret) 682 if (ret)