ramips: D-Link DIR-810L. Add support for SoC 2.4 GHz wireless and fix leds naming

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42619 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
John Crispin 2014-09-19 11:07:08 +00:00
parent 76b4032fe0
commit 9d4a086a64
2 changed files with 8 additions and 4 deletions

View File

@ -91,7 +91,7 @@ case $board in
set_wifi_led "d-link:green:wifi" set_wifi_led "d-link:green:wifi"
;; ;;
dir-810l) 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-610-a1 |\
dir-300-b7 |\ dir-300-b7 |\

View File

@ -93,6 +93,10 @@
status = "okay"; status = "okay";
}; };
wmac@10180000 {
ralink,mtd-eeprom = <&factory 0>;
};
gpio-keys-polled { gpio-keys-polled {
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
#address-cells = <1>; #address-cells = <1>;
@ -113,15 +117,15 @@
gpio-leds { gpio-leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
power { power {
label = "dlink:green:power"; label = "dlink:power:green";
gpios = <&gpio0 9 0>; gpios = <&gpio0 9 0>;
}; };
internet { internet {
label = "asus:yellow:internet"; label = "dlink:internet:orange";
gpios = <&gpio0 12 0>; gpios = <&gpio0 12 0>;
}; };
status { status {
label = "asus:internet:status"; label = "dlink:power:orange";
gpios = <&gpio0 13 0>; gpios = <&gpio0 13 0>;
}; };
}; };