aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2015-07-31 14:42:00 -0400
committerGregory CLEMENT <gregory.clement@free-electrons.com>2016-03-30 05:29:30 -0400
commit9800917cf92f5b5fe5cae706cb70db8d014f663c (patch)
treecf758fe2dcd38506953e5a06b4fb9e2c1627687f
parent9fe3219743dea7b6f14afec2f853c3f615b8849b (diff)
ARM: mvebu: fix GPIO config on the Linksys boards
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>
-rw-r--r--arch/arm/boot/dts/armada-385-linksys.dtsi6
-rw-r--r--arch/arm/boot/dts/armada-xp-linksys-mamba.dts4
2 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/boot/dts/armada-385-linksys.dtsi b/arch/arm/boot/dts/armada-385-linksys.dtsi
index 3710755c6d76..6ebe9a78fc65 100644
--- a/arch/arm/boot/dts/armada-385-linksys.dtsi
+++ b/arch/arm/boot/dts/armada-385-linksys.dtsi
@@ -245,7 +245,7 @@
245 button@2 { 245 button@2 {
246 label = "Factory Reset Button"; 246 label = "Factory Reset Button";
247 linux,code = <KEY_RESTART>; 247 linux,code = <KEY_RESTART>;
248 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; 248 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
249 }; 249 };
250 }; 250 };
251 251
@@ -260,7 +260,7 @@
260 }; 260 };
261 261
262 sata { 262 sata {
263 gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>; 263 gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
264 default-state = "off"; 264 default-state = "off";
265 }; 265 };
266 }; 266 };
@@ -313,7 +313,7 @@
313 313
314&pinctrl { 314&pinctrl {
315 keys_pin: keys-pin { 315 keys_pin: keys-pin {
316 marvell,pins = "mpp24", "mpp47"; 316 marvell,pins = "mpp24", "mpp29";
317 marvell,function = "gpio"; 317 marvell,function = "gpio";
318 }; 318 };
319 319
diff --git a/arch/arm/boot/dts/armada-xp-linksys-mamba.dts b/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
index b89e6cf1271a..7a461541ce50 100644
--- a/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
+++ b/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
@@ -304,13 +304,13 @@
304 button@1 { 304 button@1 {
305 label = "WPS"; 305 label = "WPS";
306 linux,code = <KEY_WPS_BUTTON>; 306 linux,code = <KEY_WPS_BUTTON>;
307 gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>; 307 gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
308 }; 308 };
309 309
310 button@2 { 310 button@2 {
311 label = "Factory Reset Button"; 311 label = "Factory Reset Button";
312 linux,code = <KEY_RESTART>; 312 linux,code = <KEY_RESTART>;
313 gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>; 313 gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
314 }; 314 };
315 }; 315 };
316 316