package/om-watchdog: add OpenMesh A60 support
[openwrt/openwrt.git] / package / kernel / om-watchdog / files / om-watchdog.init
index 47105f2..caed170 100644 (file)
@@ -16,19 +16,34 @@ get_gpio() {
                local board=$(ar71xx_board_name)
 
                case "$board" in
-                       "om2p"|"om2p-hs"|"om2p-hsv2")
+                       "om2p" | \
+                       "om2pv4" | \
+                       "om2p-hs" | \
+                       "om2p-hsv2" | \
+                       "om2p-hsv3" | \
+                       "om2p-hsv4" | \
+                       "om5p-acv2")
                                return 12
                                ;;
-                       "om2pv2"|"om2p-lc")
+                       "om2pv2" | \
+                       "om2p-lc")
                                return 26
                                ;;
-                       "om5p"|"om5p-an")
+                       "om5p" | \
+                       "om5p-an")
                                return 11
                                ;;
+                       "om5p-ac")
+                               return 17
+                               ;;
                        "mr600v2")
                                return 15
                                ;;
-                       "mr900"|"mr900v2"|"mr1750")
+                       "mr900" | \
+                       "mr900v2" | \
+                       "mr1750" | \
+                       "mr1750v2" | \
+                       "a60")
                                return 16
                                ;;
                esac