1 Some of the GPIO configs were wrong in the submitted DTS files,
2 this patch fixes all affected boards.
4 Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
6 Cc: <stable@vger.kernel.org> # v4.1 +
8 arch/arm/boot/dts/armada-385-linksys.dtsi | 6 +++---
9 arch/arm/boot/dts/armada-xp-linksys-mamba.dts | 4 ++--
10 2 files changed, 5 insertions(+), 5 deletions(-)
12 --- a/arch/arm/boot/dts/armada-385-linksys.dtsi
13 +++ b/arch/arm/boot/dts/armada-385-linksys.dtsi
16 label = "Factory Reset Button";
17 linux,code = <KEY_RESTART>;
18 - gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
19 + gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
27 - gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>;
28 + gpios = <&gpio1 22 GPIO_ACTIVE_LOW>;
29 default-state = "off";
36 - marvell,pins = "mpp24", "mpp47";
37 + marvell,pins = "mpp24", "mpp29";
38 marvell,function = "gpio";
41 --- a/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
42 +++ b/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
46 linux,code = <KEY_WPS_BUTTON>;
47 - gpios = <&gpio1 0 GPIO_ACTIVE_HIGH>;
48 + gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
52 label = "Factory Reset Button";
53 linux,code = <KEY_RESTART>;
54 - gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
55 + gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;