[OpenWrt-Devel] [PATCH] ramips: Support LEDs on D-Link DIR-860L B1

John Crispin blogic at openwrt.org
Fri Feb 12 02:46:28 EST 2016



On 11/02/2016 14:46, Johannes Wienke wrote:
> Adds the required gpio definitions.
> 
> Signed-off-by: Johannes Wienke <languitar at semipol.de>


Hi Johannes,

patch fails to apply. please fix and resend.

	John

> ---
>  target/linux/ramips/dts/DIR-860L-B1.dts | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
> 
> diff --git a/target/linux/ramips/dts/DIR-860L-B1.dts
> b/target/linux/ramips/dts/DIR-860L-B1.dts
> index da3f59c..a6add70 100644
> --- a/target/linux/ramips/dts/DIR-860L-B1.dts
> +++ b/target/linux/ramips/dts/DIR-860L-B1.dts
> @@ -98,6 +98,26 @@
>   	gpio-leds {
>  		compatible = "gpio-leds";
> +
> +		power {
> +			label = "dir-860l-b1:orange:power";
> +			gpios = <&gpio0 13 1>;
> +		};
> +
> +		power2 {
> +			label = "dir-860l-b1:green:power";
> +			gpios = <&gpio0 15 1>;
> +		};
> +
> +		net {
> +			label = "dir-860l-b1:orange:net";
> +			gpios = <&gpio0 14 1>;
> +		};
> +
> +		net2 {
> +			label = "dir-860l-b1:green:net";
> +			gpios = <&gpio0 16 1>;
> +		};
>  	};
>   	gpio-keys-polled {
> 
_______________________________________________
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