ramips: added led support for wrtnode board
authorJohn Crispin <john@openwrt.org>
Tue, 14 Jul 2015 07:41:19 +0000 (07:41 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 14 Jul 2015 07:41:19 +0000 (07:41 +0000)
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

target/linux/ramips/dts/WRTNODE.dts

index 3fb2303e0267abf52faf43b9322e22452d16cc88..793c02fb4c8c97916b6af7f59a5e12f06e3b2b02 100644 (file)
@@ -7,6 +7,10 @@
        model = "WRTNODE";
 
        palmbus@10000000 {
+               gpio1: gpio@638 {
+                       status = "okay";
+               };
+
                gpio2: gpio@660 {
                        status = "okay";
                };
                        };
                };
        };
+
+       gpio-leds {
+               compatible = "gpio-leds";
+               indicator {
+                       label = "wrtnode:blue:indicator";
+                       gpios = <&gpio1 14 1>;
+               };
+       };
 };