ipq806x: fix Zyxel NBG6817 WiFi button
[openwrt/openwrt.git] / target / linux / ipq806x / files / arch / arm / boot / dts / qcom-ipq8065-nbg6817.dts
index abc381a15ee5d078803fb78d7b1379a8e611d82b..9abe44eb3769fcae9d37ebbcef3ccbcd49f131b0 100644 (file)
@@ -41,7 +41,7 @@
                pinmux@800000 {
                        button_pins: button_pins {
                                mux {
-                                       pins = "gpio6", "gpio54", "gpio65";
+                                       pins = "gpio53", "gpio54", "gpio65";
                                        function = "gpio";
                                        drive-strength = <2>;
                                        bias-pull-up;
                        compatible = "virtual,mdio-gpio";
                        #address-cells = <1>;
                        #size-cells = <0>;
-                       gpios = <&qcom_pinmux 1 GPIO_ACTIVE_LOW &qcom_pinmux 0 GPIO_ACTIVE_LOW>;
+                       gpios = <&qcom_pinmux 1 GPIO_ACTIVE_HIGH &qcom_pinmux 0 GPIO_ACTIVE_HIGH>;
                        pinctrl-0 = <&mdio0_pins>;
                        pinctrl-names = "default";
 
                amba {
                        sdcc1: sdcc@12400000 {
                                status = "okay";
-                               dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
-                               dma-names = "tx", "rx";
                        };
                };
        };
 
                wifi {
                        label = "wifi";
-                       gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
+                       gpios = <&qcom_pinmux 53 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RFKILL>;
+                       linux,input-type = <EV_SW>;
                };
 
                reset {