mvebu: Fix up some leds on this series
authorKabuli Chana <newtownBuild@gmail.com>
Wed, 4 Jan 2017 19:35:39 +0000 (12:35 -0700)
committerJo-Philipp Wich <jo@mein.io>
Tue, 10 Jan 2017 11:28:32 +0000 (12:28 +0100)
correct ports, fix power led on rango, tested mamba,shelby,rango

Signed-off-by: Kabuli Chana <newtownBuild@gmail.com>
target/linux/mvebu/base-files/etc/board.d/01_leds
target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts

index 8310160ccff86d5a20b61238ef68199e89de9737..441dd04bfa3fd366451c4d4257ebc9475fc05dbc 100755 (executable)
@@ -15,22 +15,22 @@ case "$board" in
 armada-385-linksys-caiman)
        ucidef_set_led_netdev "wan" "WAN" "pca963x:caiman:white:wan" "eth0"
        ucidef_set_led_usbdev "usb2" "USB2" "pca963x:caiman:white:usb2" "1-1"
-       ucidef_set_led_usbdev "usb3" "USB3" "pca963x:caiman:white:usb3_1" "2-1"
+       ucidef_set_led_usbdev "usb3" "USB3" "pca963x:caiman:white:usb3_1" "3-1"
        ;;
 armada-385-linksys-cobra)
        ucidef_set_led_netdev "wan" "WAN" "pca963x:cobra:white:wan" "eth0"
        ucidef_set_led_usbdev "usb2" "USB2" "pca963x:cobra:white:usb2" "1-1"
-       ucidef_set_led_usbdev "usb3" "USB3" "pca963x:cobra:white:usb3_1" "2-1"
+       ucidef_set_led_usbdev "usb3" "USB3" "pca963x:cobra:white:usb3_1" "3-1"
        ;;
 armada-385-linksys-rango)
        ucidef_set_led_netdev "wan" "WAN" "pca963x:rango:white:wan" "eth0"
        ucidef_set_led_usbdev "usb2" "USB2" "pca963x:rango:white:usb2" "1-1"
-       ucidef_set_led_usbdev "usb3" "USB3" "pca963x:rango:white:usb3_1" "2-1"
+       ucidef_set_led_usbdev "usb3" "USB3" "pca963x:rango:white:usb3_1" "3-1"
        ;;
 armada-385-linksys-shelby)
        ucidef_set_led_netdev "wan" "WAN" "pca963x:shelby:white:wan" "eth0"
        ucidef_set_led_usbdev "usb2" "USB2" "pca963x:shelby:white:usb2" "1-1"
-       ucidef_set_led_usbdev "usb3" "USB3" "pca963x:shelby:white:usb3_1" "2-1"
+       ucidef_set_led_usbdev "usb3" "USB3" "pca963x:shelby:white:usb3_1" "3-1"
        ;;
 armada-xp-linksys-mamba)
        ucidef_set_led_netdev "wan" "WAN" "mamba:white:wan" "eth1"
index 00461255296e5b9e604510614a80acbdffc872a6..faac0b727dd2321bb96abaf933c87d3191a60584 100644 (file)
                pinctrl-names = "default";
 
                power {
-                       gpios = <&gpio1 25 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
                };