mvebu: fix gpio config on the WRT1200AC
[openwrt/openwrt.git] / 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";
        };