ramips: Remove LED GPIO definitions in MQmaker WiTi device tree
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 1 Jan 2016 21:20:54 +0000 (21:20 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 1 Jan 2016 21:20:54 +0000 (21:20 +0000)
LED's were defined wrong in the device tree file, they are hardware driven because they are connected directly to the switch chip and wireless chips respectively, thus no GPIO addresses are assigned to them. It is safe to remove them from the device tree file to stop confusion.

Signed-off-by: Sebastian Careba <nitroshift@yahoo.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48055 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/ramips/dts/WITI.dts

index b046b87..78e2bc9 100644 (file)
                mtd-mac-address = <&factory 0xe000>;
        };
 
-       gpio-leds {
-               compatible = "gpio-leds";
-
-               power {
-                       label = "witi:green:power";
-                       gpios = <&gpio0 25 1>;
-               };
-
-               sys {
-                       label = "witi:green:sys";
-                       gpios = <&gpio0 24 1>;
-               };
-
-               internet {
-                       label = "witi:green:internet";
-                       gpios = <&gpio0 23 1>;
-               };
-       };
-
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;