ramips: remove non-existant poe_passthrough for RouterBOARD 750Gr3
authorJohn Thomson <git@johnthomson.fastmail.com.au>
Sat, 13 Jun 2020 11:25:12 +0000 (21:25 +1000)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sat, 25 Jul 2020 19:41:07 +0000 (21:41 +0200)
This 750gr3 GPIO17 switch was added based on vendor source,
but only the 760iGS (which shares the rbsysfs board identifier)
device has the physical wiring. The 750Gr3 actually does not
support PoE out.

Apart from that, note that the gpio base (480) would have required
this GPIO to be referenced as 497 if it was kept.

Fixes: 6ba58b7b020c ("ramips: cleanup the RB750Gr3 support")
Signed-off-by: John Thomson <git@johnthomson.fastmail.com.au>
[commit title/message facelift]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ramips/mt7621/base-files/etc/board.d/03_gpio_switches

index e24e04f1d8daee292c9a8aa450725f5950c9144b..7787ddcbc7a7a9317019398fbacbe4357d599e2b 100755 (executable)
@@ -7,9 +7,6 @@ board_config_update
 board=$(board_name)
 
 case "$board" in
-mikrotik,routerboard-750gr3)
-       ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "17"
-       ;;
 telco-electronics,x1)
        ucidef_add_gpio_switch "modem_reset" "Modem Reset" "16"
        ;;