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>
This commit is contained in:
Daniel Golle
2018-01-24 01:27:51 +01:00
parent a8b023272d
commit 32f120b783
7 changed files with 15 additions and 18 deletions

View File

@@ -685,9 +685,6 @@ ramips_board_detect() {
*"ZBT-WA05")
name="zbt-wa05"
;;
*"ZBT-WE1226")
name="zbt-we1226"
;;
*"ZBT-WE1326")
name="zbt-we1326"
;;