mvebu: Fix up some leds on this series

correct ports, fix power led on rango, tested mamba,shelby,rango

Signed-off-by: Kabuli Chana <newtownBuild@gmail.com>
This commit is contained in:
Kabuli Chana 2017-01-04 12:35:39 -07:00 committed by Jo-Philipp Wich
parent 72d751cba9
commit fe876e9ac6
2 changed files with 5 additions and 5 deletions

View File

@ -15,22 +15,22 @@ case "$board" in
armada-385-linksys-caiman) armada-385-linksys-caiman)
ucidef_set_led_netdev "wan" "WAN" "pca963x:caiman:white:wan" "eth0" 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 "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) armada-385-linksys-cobra)
ucidef_set_led_netdev "wan" "WAN" "pca963x:cobra:white:wan" "eth0" 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 "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) armada-385-linksys-rango)
ucidef_set_led_netdev "wan" "WAN" "pca963x:rango:white:wan" "eth0" 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 "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) armada-385-linksys-shelby)
ucidef_set_led_netdev "wan" "WAN" "pca963x:shelby:white:wan" "eth0" 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 "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) armada-xp-linksys-mamba)
ucidef_set_led_netdev "wan" "WAN" "mamba:white:wan" "eth1" ucidef_set_led_netdev "wan" "WAN" "mamba:white:wan" "eth1"

View File

@ -344,7 +344,7 @@
pinctrl-names = "default"; pinctrl-names = "default";
power { power {
gpios = <&gpio1 25 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
default-state = "on"; default-state = "on";
}; };