[OpenWrt-Devel] [PATCH 2/3] ralink: add FireWRT led detail

wengbj fl.service at t-firefly.com
Fri Jan 30 02:19:13 EST 2015


---
 target/linux/ramips/dts/FIREWRT.dts |    9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/target/linux/ramips/dts/FIREWRT.dts b/target/linux/ramips/dts/FIREWRT.dts
index 4e9e28b..ddad8bf 100644
--- a/target/linux/ramips/dts/FIREWRT.dts
+++ b/target/linux/ramips/dts/FIREWRT.dts
@@ -83,4 +83,13 @@
 		mtd-mac-address = <&factory 0xe000>;
 	};
 
+	gpio-leds {
+		compatible = "gpio-leds";
+
+		power {
+			label = "buffalo:green:power";
+			gpios = <&gpio0 22 1>;
+		};
+	};
+
 };
-- 
1.7.9.5
_______________________________________________
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