summaryrefslogtreecommitdiff
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-09-19 11:07:08 +0000
committerJohn Crispin <john@openwrt.org>2014-09-19 11:07:08 +0000
commitd4cc995c53ac3ce0898b83364ad32eaba93c4225 (patch)
treee589e7100d3d203bb22ebf74150a121d1598c940 /target/linux/ramips
parentd731d14362246fb035713f8775a312bd77f9b92c (diff)
downloadmtk-20170518-d4cc995c53ac3ce0898b83364ad32eaba93c4225.zip
mtk-20170518-d4cc995c53ac3ce0898b83364ad32eaba93c4225.tar.gz
mtk-20170518-d4cc995c53ac3ce0898b83364ad32eaba93c4225.tar.bz2
ramips: D-Link DIR-810L. Add support for SoC 2.4 GHz wireless and fix leds naming
SVN-Revision: 42619
Diffstat (limited to 'target/linux/ramips')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds2
-rw-r--r--target/linux/ramips/dts/DIR-810L.dts10
2 files changed, 8 insertions, 4 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index 01e2363..bf646ed 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -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 |\
diff --git a/target/linux/ramips/dts/DIR-810L.dts b/target/linux/ramips/dts/DIR-810L.dts
index 2f656fd..5dd8859 100644
--- a/target/linux/ramips/dts/DIR-810L.dts
+++ b/target/linux/ramips/dts/DIR-810L.dts
@@ -93,6 +93,10 @@
status = "okay";
};
+ wmac@10180000 {
+ ralink,mtd-eeprom = <&factory 0>;
+ };
+
gpio-keys-polled {
compatible = "gpio-keys-polled";
#address-cells = <1>;
@@ -113,15 +117,15 @@
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>;
};
};