CC: ramips: minor fixes for ZTB-WG2626
authorFelix Fietkau <nbd@openwrt.org>
Sat, 5 Dec 2015 09:47:06 +0000 (09:47 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 5 Dec 2015 09:47:06 +0000 (09:47 +0000)
In backport commit r47605 the LED was named wrongly in a userspace
script.
Also remove reference to undefined pinmux group "wdt rst" causing
logline
rt2880-pinmux pinctrl: invalid group "wdt rst" for function "gpio"

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 47773

target/linux/ramips/base-files/etc/diag.sh
target/linux/ramips/dts/ZBT-WG2626.dts

index 0747d703f10712619c49c19c7b97fe7ebd5903b8..a7e2501e09fee933f81aafb01034e687883d59b2 100644 (file)
@@ -248,7 +248,7 @@ get_status_led() {
                status_led="lenovo:blue:power"
                ;;
        zbt-wg2626)
-               status_led="zbt-wg2626:green:power"
+               status_led="zbt-wg2626:green:status"
                ;;
        zte-q7)
                status_led="zte:red:status"
index 6170454bc6a06967afa8ef71c2c7394b29c38496..6252a54067a2f562033f21456ff592f3f191ae24 100644 (file)
        pinctrl {
                state_default: pinctrl0 {
                        gpio {
-                               ralink,group = "wdt", "rgmii2", "wdt rst", "jtag", "mdio";
+                               ralink,group = "wdt", "rgmii2", "i2c", "mdio";
                                ralink,function = "gpio";
                        };
                };