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

@@ -248,9 +248,9 @@ define Device/wrtnode2r
endef
TARGET_DEVICES += wrtnode2r
define Device/zbt-we1226
define Device/zbtlink_zbt-we1226
DTS := ZBT-WE1226
IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_TITLE := ZBTlink ZBT-WE1226
endef
TARGET_DEVICES += zbt-we1226
TARGET_DEVICES += zbtlink_zbt-we1226