ramips: D-Link DIR-810L. Add support for SoC 2.4 GHz wireless and fix leds naming
authorJohn Crispin <john@openwrt.org>
Fri, 19 Sep 2014 11:07:08 +0000 (11:07 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 19 Sep 2014 11:07:08 +0000 (11:07 +0000)
SVN-Revision: 42619

target/linux/ramips/base-files/etc/board.d/01_leds
target/linux/ramips/dts/DIR-810L.dts

index 01e23633f6f1ddef76d4194136bbe80f27d33f97..bf646ed53b50e45d49e2a35236fead5fa18c8fc3 100755 (executable)
@@ -91,7 +91,7 @@ case $board in
                set_wifi_led "d-link:green:wifi"
                ;;
        dir-810l)
-               ucidef_set_led_default "power" "POWER" "dlink:green:power" "1"
+               ucidef_set_led_default "power" "POWER" "dlink:power:green" "1"
                ;;
        dir-610-a1 |\
        dir-300-b7 |\
index 2f656fd1259e96d9797209eeec2935165a8d1c2f..5dd8859916ee8b5742367a50ed8553e3491ef8f3 100644 (file)
                status = "okay";
        };
 
+       wmac@10180000 {
+               ralink,mtd-eeprom = <&factory 0>;
+       };
+
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
        gpio-leds {
                compatible = "gpio-leds";
                power {
-                       label = "dlink:green:power";
+                       label = "dlink:power:green";
                        gpios = <&gpio0 9 0>;
                };
                internet {
-                       label = "asus:yellow:internet";
+                       label = "dlink:internet:orange";
                        gpios = <&gpio0 12 0>;
                };
                status {
-                       label = "asus:internet:status";
+                       label = "dlink:power:orange";
                        gpios = <&gpio0 13 0>;
                };
        };