aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-07-14 07:41:19 +0000
committerJohn Crispin <blogic@openwrt.org>2015-07-14 07:41:19 +0000
commit938ea5aee6fe00915f69fdbac6b44faed525a3e3 (patch)
tree2722a745475a8975f8dae1b0ade82df2e3282455
parentd355b7fb2b588ace09420dd41e035eb1a4c7bae5 (diff)
downloadmaster-187ad058-938ea5aee6fe00915f69fdbac6b44faed525a3e3.tar.gz
master-187ad058-938ea5aee6fe00915f69fdbac6b44faed525a3e3.tar.bz2
master-187ad058-938ea5aee6fe00915f69fdbac6b44faed525a3e3.zip
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 <christian@m3hlis.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46350 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/ramips/dts/WRTNODE.dts12
1 files changed, 12 insertions, 0 deletions
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>;
+ };
+ };
};