ramips: add support for DLINK DIR-510L
[openwrt/.git] / target / linux / ramips / base-files / etc / board.d / 03_gpio_switches
index a5f9124d12a57c81781a9a6f87712d267c1bebdd..80e3c4c41f0378b290d1b754c812e349b7c2a02e 100755 (executable)
@@ -7,6 +7,10 @@ board_config_update
 board=$(board_name)
 
 case "$board" in
+dlink,dir-510l)
+       ucidef_add_gpio_switch "usb_enable1" "USB 1A enable" "12" "0"
+       ucidef_add_gpio_switch "usb_enable05" "USB 0.5A enable" "13" "1"
+       ;;
 mikrotik,rb750gr3)
        ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "17"
        ;;