[ar71xx] use platform data to setup the MAC_CFG register in the spi_vsc7385 driver
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / files / arch / mips / ar71xx / mach-ap83.c
index 111ea4a3dd55a1c47fbcac5d1efa1bbfd5ef6d66..80dd3c64aa8243b8cbfffe7369295346d48c6212 100644 (file)
@@ -169,6 +169,11 @@ static void ap83_vsc7385_reset(void)
 static struct vsc7385_platform_data ap83_vsc7385_data = {
        .reset          = ap83_vsc7385_reset,
        .ucode_name     = "vsc7385_ucode_ap83.bin",
+       .mac_cfg = {
+               .tx_ipg         = 6,
+               .bit2           = 0,
+               .clk_sel        = 3,
+       },
 };
 
 static struct spi_board_info ap83_spi_info[] = {