ramips: Hame: change LED name mpr-x -> hame
authorJohn Crispin <john@openwrt.org>
Mon, 1 Sep 2014 13:22:13 +0000 (13:22 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 1 Sep 2014 13:22:13 +0000 (13:22 +0000)
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Backport of r42190

SVN-Revision: 42394

target/linux/ramips/base-files/etc/diag.sh
target/linux/ramips/base-files/etc/uci-defaults/01_leds
target/linux/ramips/dts/MPRA1.dts
target/linux/ramips/dts/MPRA2.dts

index 4aac473f5a47be7346b92da7e8fda73f8f3affa7..9ad7ccbda1042a1bfce2f4e53979f2113d706269 100755 (executable)
@@ -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"
index f01cb05ccdcedffc1fddac056fcb48224e3fd45c..2f36bed63df65a38c21fc757cb66272919d9311a 100755 (executable)
@@ -121,10 +121,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"
index 60a23fef411172ac4108b07329800045ba0f29d9..58f36fe02113db2502ab4f9f129ac53d1204c089 100644 (file)
        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>;
                };
        };
index 56d6f515973765ab1f29aa5b9736b6b384d8dd95..4f5e1c3c6d30c0101bef245ae11b5e6d75f15da3 100644 (file)
        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>;
                };
        };