[OpenWrt-Devel] [PATCH] CC: ramips: minor fixes for ZTB-WG2626

Daniel Golle daniel at makrotopia.org
Tue Dec 1 11:47:34 EST 2015


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 at makrotopia.org>
---
 target/linux/ramips/base-files/etc/diag.sh | 2 +-
 target/linux/ramips/dts/ZBT-WG2626.dts     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 0747d70..a7e2501 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -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"
diff --git a/target/linux/ramips/dts/ZBT-WG2626.dts b/target/linux/ramips/dts/ZBT-WG2626.dts
index 6170454..6252a54 100644
--- a/target/linux/ramips/dts/ZBT-WG2626.dts
+++ b/target/linux/ramips/dts/ZBT-WG2626.dts
@@ -119,7 +119,7 @@
 	pinctrl {
 		state_default: pinctrl0 {
 			gpio {
-				ralink,group = "wdt", "rgmii2", "wdt rst", "jtag", "mdio";
+				ralink,group = "wdt", "rgmii2", "i2c", "mdio";
 				ralink,function = "gpio";
 			};
 		};
-- 
2.6.2
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list