summaryrefslogtreecommitdiff
path: root/target/linux/mvebu
diff options
context:
space:
mode:
authorKabuli Chana <newtownBuild@gmail.com>2017-01-04 12:35:39 -0700
committerJo-Philipp Wich <jo@mein.io>2017-01-10 12:28:32 +0100
commitfe876e9ac6ae71d1150583b4406a8f50401635da (patch)
treebaa30a989b72d378f182aa4abac10745c46854d9 /target/linux/mvebu
parent72d751cba9cda9ce3ae46d5e6ab962d2f675e970 (diff)
downloadmtk-20170518-fe876e9ac6ae71d1150583b4406a8f50401635da.zip
mtk-20170518-fe876e9ac6ae71d1150583b4406a8f50401635da.tar.gz
mtk-20170518-fe876e9ac6ae71d1150583b4406a8f50401635da.tar.bz2
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>
Diffstat (limited to 'target/linux/mvebu')
-rwxr-xr-xtarget/linux/mvebu/base-files/etc/board.d/01_leds8
-rw-r--r--target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts2
2 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/mvebu/base-files/etc/board.d/01_leds b/target/linux/mvebu/base-files/etc/board.d/01_leds
index 8310160..441dd04 100755
--- a/target/linux/mvebu/base-files/etc/board.d/01_leds
+++ b/target/linux/mvebu/base-files/etc/board.d/01_leds
@@ -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"
diff --git a/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts b/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts
index 0046125..faac0b7 100644
--- a/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts
+++ b/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts
@@ -344,7 +344,7 @@
pinctrl-names = "default";
power {
- gpios = <&gpio1 25 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
default-state = "on";
};