From: blogic Date: Tue, 14 Jul 2015 07:41:19 +0000 (+0000) Subject: ramips: added led support for wrtnode board X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=f5d93d352bacf10f020a012073003aa4414c4b45;p=openwrt.git ramips: added led support for wrtnode board This syncs the dts file with the one provided by the wrtnode team: https://github.com/WRTnode/openwrt-patches/blob/master/R41508/wrtnode_factory_firmware_dts.patch Signed-off-by: Christian Mehlis git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46350 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/ramips/dts/WRTNODE.dts b/target/linux/ramips/dts/WRTNODE.dts index 3fb2303e02..793c02fb4c 100644 --- a/target/linux/ramips/dts/WRTNODE.dts +++ b/target/linux/ramips/dts/WRTNODE.dts @@ -7,6 +7,10 @@ model = "WRTNODE"; palmbus@10000000 { + gpio1: gpio@638 { + status = "okay"; + }; + gpio2: gpio@660 { status = "okay"; }; @@ -77,4 +81,12 @@ }; }; }; + + gpio-leds { + compatible = "gpio-leds"; + indicator { + label = "wrtnode:blue:indicator"; + gpios = <&gpio1 14 1>; + }; + }; };