ramips: various fixes for zbt-we1226
authorDaniel Golle <daniel@makrotopia.org>
Wed, 24 Jan 2018 00:27:51 +0000 (01:27 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 6 Feb 2018 02:00:33 +0000 (03:00 +0100)
commit32f120b783f1a0467993cdfd15efdef06cad56d8
treeb748cf490bee425e61c4962a0c190555e765555c
parenta8b023272d334e47ee82449eadda01b96e9c2a90
ramips: various fixes for zbt-we1226

Convert userspace code to use generic device-tree compatible board
detection method.  Users of the existing code will have to use
sysupgrade -F once to switch to the new generic board naming.
Properly setup pinctrl fixing the switch port LEDs.

Fixes commit 9c4fe103cb (ramips: add support for ZBT-WE1226)
Reported-by: Mathias Kresin <dev@kresin.me>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/ramips/base-files/etc/board.d/01_leds
target/linux/ramips/base-files/etc/board.d/02_network
target/linux/ramips/base-files/etc/diag.sh
target/linux/ramips/base-files/lib/ramips.sh
target/linux/ramips/base-files/lib/upgrade/platform.sh
target/linux/ramips/dts/ZBT-WE1226.dts
target/linux/ramips/image/mt76x8.mk