ar71xx: add support for TL-WA701ND v2
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / files / arch / mips / ath79 / mach-om2p.c
index f26314c29f2248763bcbf0a0a9b66b1e8f3ca7c8..6b0bdc3dcd1804afa25051301488d12bebcf4e53 100644 (file)
@@ -31,7 +31,7 @@
 #define OM2P_GPIO_LED_YELLOW   15
 #define OM2P_GPIO_LED_LAN      16
 #define OM2P_GPIO_LED_WAN      17
-#define OM2P_GPIO_BTN_RESET    11
+#define OM2P_GPIO_BTN_RESET    1
 
 #define OM2P_KEYS_POLL_INTERVAL                20      /* msecs */
 #define OM2P_KEYS_DEBOUNCE_INTERVAL    (3 * OM2P_KEYS_POLL_INTERVAL)
@@ -174,6 +174,7 @@ static void __init om2p_lc_setup(void)
 }
 
 MIPS_MACHINE(ATH79_MACH_OM2P_LC, "OM2P-LC", "OpenMesh OM2P LC", om2p_lc_setup);
+MIPS_MACHINE(ATH79_MACH_OM2Pv2, "OM2Pv2", "OpenMesh OM2Pv2", om2p_lc_setup);
 
 static void __init om2p_hs_setup(void)
 {
@@ -221,3 +222,4 @@ static void __init om2p_hs_setup(void)
 }
 
 MIPS_MACHINE(ATH79_MACH_OM2P_HS, "OM2P-HS", "OpenMesh OM2P HS", om2p_hs_setup);
+MIPS_MACHINE(ATH79_MACH_OM2P_HSv2, "OM2P-HSv2", "OpenMesh OM2P HSv2", om2p_hs_setup);