summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-07-14 07:41:19 +0000
committerJohn Crispin <john@openwrt.org>2015-07-14 07:41:19 +0000
commit1aca6e6b27368eea5b58aed69857a8672bb8c3d0 (patch)
tree0cb3677f3c4b975fd52946623838e561be7b0f2f /target/linux
parentb6185738150c84e84522df3fc953e921528dbf23 (diff)
downloadmtk-20170518-1aca6e6b27368eea5b58aed69857a8672bb8c3d0.zip
mtk-20170518-1aca6e6b27368eea5b58aed69857a8672bb8c3d0.tar.gz
mtk-20170518-1aca6e6b27368eea5b58aed69857a8672bb8c3d0.tar.bz2
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> SVN-Revision: 46350
Diffstat (limited to 'target/linux')
-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 3fb2303..793c02f 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>;
+ };
+ };
};