#include <linux/skbuff.h>
#include <linux/phy.h>
#include <linux/spi/spi.h>
-#include <linux/mtd/mtd.h>
-#include <linux/mtd/partitions.h>
struct ag71xx_platform_data {
phy_interface_t phy_if_mode;
u32 reset_bit;
u32 mii_if;
u8 mac_addr[ETH_ALEN];
+ struct device *mii_bus_dev;
u8 has_gbit:1;
u8 is_ar91xx:1;
+ u8 is_ar724x:1;
u8 has_ar8216:1;
+ u8 has_ar7240_switch:1;
- void (* ddr_flush)(void);
- void (* set_pll)(int speed);
+ void (*ddr_flush)(void);
+ void (*set_pll)(int speed);
+
+ u32 fifo_cfg1;
+ u32 fifo_cfg2;
+ u32 fifo_cfg3;
};
struct ag71xx_mdio_platform_data {
u32 phy_mask;
+ int is_ar7240;
};
struct ar71xx_ehci_platform_data {
#define AR71XX_SPI_CS_INACTIVE 0
#define AR71XX_SPI_CS_ACTIVE 1
-struct ar91xx_flash_platform_data {
- unsigned int width;
- u8 is_shared:1;
-#ifdef CONFIG_MTD_PARTITIONS
- unsigned int nr_parts;
- struct mtd_partition *parts;
-#endif
-};
-
#endif /* __ASM_MACH_AR71XX_PLATFORM_H */