ar71xx: build ALFA AP96 images with default profile as well
[oweals/openwrt.git] / target / linux / ar71xx / files / arch / mips / include / asm / mach-ar71xx / platform.h
index c60641b5129736cd434edb77df95d8f54beba0da..206c4d75009677cd7f9b5634c7697aad27a05010 100644 (file)
 #include <linux/phy.h>
 #include <linux/spi/spi.h>
 
+struct ag71xx_switch_platform_data {
+       u8              phy4_mii_en:1;
+};
+
 struct ag71xx_platform_data {
        phy_interface_t phy_if_mode;
        u32             phy_mask;
@@ -31,7 +35,8 @@ struct ag71xx_platform_data {
        u8              is_ar7240:1;
        u8              is_ar724x:1;
        u8              has_ar8216:1;
-       u8              has_ar7240_switch:1;
+
+       struct ag71xx_switch_platform_data *switch_data;
 
        void            (*ddr_flush)(void);
        void            (*set_speed)(int speed);