mvebu: fix gpio config on the WRT1200AC (backport of r46527)
authorImre Kaloz <kaloz@openwrt.org>
Fri, 31 Jul 2015 18:08:51 +0000 (18:08 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Fri, 31 Jul 2015 18:08:51 +0000 (18:08 +0000)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 46528

target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys.dtsi

index 7a295e2bfb606fe160b4afa351db5c738c3696af..c6caa865650c032330cf1cf6774eef1c541c366e 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";
        };