From 32f120b783f1a0467993cdfd15efdef06cad56d8 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Wed, 24 Jan 2018 01:27:51 +0100 Subject: 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 Signed-off-by: Daniel Golle --- target/linux/ramips/base-files/etc/board.d/01_leds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ramips/base-files/etc/board.d/01_leds') diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index 37630cde66..110b588339 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -491,7 +491,7 @@ zbt-we826-32M) set_wifi_led "zbt-we826:green:wifi" set_usb_led "zbt-we826:green:usb" ;; -zbt-we1226) +zbtlink,zbt-we1226) set_wifi_led "$boardname:green:wlan" ucidef_set_led_switch "lan1" "LAN1" "$boardname:green:lan1" "switch0" "0x01" ucidef_set_led_switch "lan2" "LAN2" "$boardname:green:lan2" "switch0" "0x02" -- cgit v1.2.3