[OpenWrt-Devel] [PATCH 2/3] ralink: add FireWRT led detail
Signed-off-by: wengbj fl.serv...@t-firefly.com --- 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..faebe2f 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 = firewrt:green:power; + gpios = gpio0 22 1; + }; + }; + }; -- 1.7.9.5 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH 2/3] ralink: add FireWRT led detail
On 30 January 2015 at 15:19, wengbj fl.serv...@t-firefly.com wrote: --- 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; Label should be named properly. + gpios = gpio0 22 1; + }; + }; + }; -- 1.7.9.5 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] [PATCH 2/3] ralink: add FireWRT led detail
--- 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@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel