summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-08-18 13:09:39 +0000
committerJohn Crispin <john@openwrt.org>2014-08-18 13:09:39 +0000
commitbb9a23aca2f35d81f14e2d90a586d890d545a70e (patch)
treece381c89b69dc3d020850f1b1f61b5fb5b19b7e8
parent5d9b1e7ec1badba2adf4b7b1f6963d8ff63b25a8 (diff)
downloadmtk-20170518-bb9a23aca2f35d81f14e2d90a586d890d545a70e.zip
mtk-20170518-bb9a23aca2f35d81f14e2d90a586d890d545a70e.tar.gz
mtk-20170518-bb9a23aca2f35d81f14e2d90a586d890d545a70e.tar.bz2
ramips: Hame: change LED name mpr-x -> hame
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 42190
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds4
-rwxr-xr-xtarget/linux/ramips/base-files/etc/diag.sh4
-rw-r--r--target/linux/ramips/dts/MPRA1.dts4
-rw-r--r--target/linux/ramips/dts/MPRA2.dts4
4 files changed, 8 insertions, 8 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 3e0a2bc..93fc5c2 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -124,10 +124,10 @@ case $board in
set_usb_led "mofi3500-3gn:green:usb"
;;
mpr-a1)
- set_wifi_led "mpr-a1:blue:system"
+ set_wifi_led "hame:blue:system"
;;
mpr-a2)
- set_wifi_led "mpr-a2:blue:system"
+ set_wifi_led "hame:blue:system"
;;
mzk-w300nh2)
set_wifi_led "mzkw300nh2:amber:wlan"
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index 4aac473..9ad7ccb 100755
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -80,10 +80,10 @@ get_status_led() {
status_led="mofi3500-3gn:green:status"
;;
mpr-a1)
- status_led="mpr-a1:red:power"
+ status_led="hame:red:power"
;;
mpr-a2)
- status_led="mpr-a2:red:power"
+ status_led="hame:red:power"
;;
nbg-419n)
status_led="nbg-419n:green:power"
diff --git a/target/linux/ramips/dts/MPRA1.dts b/target/linux/ramips/dts/MPRA1.dts
index 60a23fe..58f36fe 100644
--- a/target/linux/ramips/dts/MPRA1.dts
+++ b/target/linux/ramips/dts/MPRA1.dts
@@ -78,11 +78,11 @@
gpio-leds {
compatible = "gpio-leds";
system {
- label = "mpr-a1:blue:system";
+ label = "hame:blue:system";
gpios = <&gpio0 20 1>;
};
power {
- label = "mpr-a1:red:power";
+ label = "hame:red:power";
gpios = <&gpio0 17 1>;
};
};
diff --git a/target/linux/ramips/dts/MPRA2.dts b/target/linux/ramips/dts/MPRA2.dts
index 56d6f51..4f5e1c3 100644
--- a/target/linux/ramips/dts/MPRA2.dts
+++ b/target/linux/ramips/dts/MPRA2.dts
@@ -75,11 +75,11 @@
gpio-leds {
compatible = "gpio-leds";
system {
- label = "mpr-a2:blue:system";
+ label = "hame:blue:system";
gpios = <&gpio0 20 1>;
};
power {
- label = "mpr-a2:red:power";
+ label = "hame:red:power";
gpios = <&gpio0 17 1>;
};
};