]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: mvebu: fix GPIO config on the Linksys boards
authorImre Kaloz <kaloz@openwrt.org>
Fri, 31 Jul 2015 18:42:00 +0000 (20:42 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Wed, 30 Mar 2016 09:29:30 +0000 (11:29 +0200)
Some of the GPIO configs were wrong in the submitted DTS files,
this patch fixes all affected boards.

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
Cc: <stable@vger.kernel.org> # v4.1 +
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/boot/dts/armada-385-linksys.dtsi
arch/arm/boot/dts/armada-xp-linksys-mamba.dts

index 3710755c6d76b52fe339ea8f8f71d7dd8a1dc0ec..6ebe9a78fc6564b6ef5d6254c3dbb9a3bf36f3f9 100644 (file)
                button@2 {
                        label = "Factory Reset Button";
                        linux,code = <KEY_RESTART>;
-                       gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
+                       gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
                };
        };
 
                };
 
                sata {
-                       gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
                        default-state = "off";
                };
        };
 
 &pinctrl {
        keys_pin: keys-pin {
-               marvell,pins = "mpp24", "mpp47";
+               marvell,pins = "mpp24", "mpp29";
                marvell,function = "gpio";
        };
 
index b89e6cf1271a1370aead2a000e729cefad376ab0..7a461541ce506c9353c751bf8d14a080e80d2787 100644 (file)
                button@1 {
                        label = "WPS";
                        linux,code = <KEY_WPS_BUTTON>;
-                       gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
                };
 
                button@2 {
                        label = "Factory Reset Button";
                        linux,code = <KEY_RESTART>;
-                       gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
                };
        };