From 282e39b772adea35bd54f3eec54f7acce9656916 Mon Sep 17 00:00:00 2001 From: blogic Date: Fri, 12 Feb 2016 09:29:23 +0000 Subject: [PATCH] ramips: Support LEDs on D-Link DIR-860L B1 Adds the required gpio definitions. Signed-off-by: Johannes Wienke git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48715 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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 da3f59c933..a6add705ba 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 { -- 2.11.0