ramips: Hame: change LED name mpr-x -> hame
authorJohn Crispin <john@openwrt.org>
Mon, 18 Aug 2014 13:09:39 +0000 (13:09 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 18 Aug 2014 13:09:39 +0000 (13:09 +0000)
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 42190

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

index 3e0a2bca4b0687bdae6a015136ade70182ad6327..93fc5c2868cf9e2aeadb19985195568c825a4b30 100755 (executable)
@@ -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"
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 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>;
                };
        };