ramips: added led support for wrtnode board
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 14 Jul 2015 07:41:19 +0000 (07:41 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46350 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ramips/dts/WRTNODE.dts

index 3fb2303..793c02f 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>;
+               };
+       };
 };