aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
authorAnton Arapov <arapov@gmail.com>2018-12-29 01:28:27 +0100
committerMathias Kresin <dev@kresin.me>2019-01-05 12:28:22 +0100
commit6ba58b7b020c4b793e6fb7a43c8adef070579d8d (patch)
tree455db99769b98e0ecb9c5638554ef7c52cae4728 /target/linux/ramips/base-files
parent52f2d7d2a9dc3e142bb957462a30806eb5cebaf4 (diff)
downloadupstream-6ba58b7b020c4b793e6fb7a43c8adef070579d8d.tar.gz
upstream-6ba58b7b020c4b793e6fb7a43c8adef070579d8d.tar.bz2
upstream-6ba58b7b020c4b793e6fb7a43c8adef070579d8d.zip
ramips: cleanup the RB750Gr3 support
Always enable the pwr led and use the usr led for boot status indication. Rename nodes in the dts, to match what is recommend in the devicetree specification. Increase the maximum spi frequency to 20MHz and drop the m25p,chunked-io which isn't required on mt7621. Use the BTN_0 keycode for the mode button. This board doesn't have any wireless. Use a more descriptive label for the reset button and the GPIO enabling the usb vcc supply. Use the beeper kernel module for the buzzer. Fix the pinmux to switch only pins used as GPIOs to the GPIO function. Add support for the PoE enable GPIO to the userspace. The PoE power status can be read via GPIO7. Since OpenWrt doesn't have support for reading inputs from userspace, prepare only the pinmux for the GPIO. Signed-off-by: Anton Arapov <arapov@gmail.com> Signed-off-by: Thibaut VARĂˆNE <hacks@slashdirt.org> Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/03_gpio_switches3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/03_gpio_switches b/target/linux/ramips/base-files/etc/board.d/03_gpio_switches
index a847a64d6b..a5f9124d12 100755
--- a/target/linux/ramips/base-files/etc/board.d/03_gpio_switches
+++ b/target/linux/ramips/base-files/etc/board.d/03_gpio_switches
@@ -7,6 +7,9 @@ board_config_update
board=$(board_name)
case "$board" in
+mikrotik,rb750gr3)
+ ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "17"
+ ;;
ubnt-erx)
ucidef_add_gpio_switch "poe_passthrough" "PoE Passthrough" "0"
;;