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

Yousong Zhou yszhou4tech at gmail.com
Fri Jan 30 03:03:11 EST 2015


On 30 January 2015 at 15:19, wengbj <fl.service at 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 at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
_______________________________________________
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