ipq806x: add missing wakeup-source for gpio keys
[openwrt/openwrt.git] / target / linux / ipq806x / files / arch / arm / boot / dts / qcom-ipq8068-ecw5410.dts
index 712910c2610f6d69b99a19e6dce40d05acaf6ed1..43bed451cbfb08816b2956f946576370325200c6 100644 (file)
@@ -57,6 +57,8 @@
                        label = "reset";
                        gpios = <&qcom_pinmux 25 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
+                       debounce-interval = <60>;
+                       wakeup-source;
                };
        };
 
                        reg = <0>;
 
                        partitions {
-                               compatible = "qcom,smem";
+                               compatible = "qcom,smem-part";
                        };
                };
        };
        };
 };
 
-&soc {
-       nand@1ac00000 {
-               status = "okay";
+&nand_controller {
+       status = "okay";
 
-               pinctrl-0 = <&nand_pins>;
-               pinctrl-names = "default";
+       pinctrl-0 = <&nand_pins>;
+       pinctrl-names = "default";
 
-               nand@0 {
-                       compatible = "qcom,nandcs";
+       nand@0 {
+               compatible = "qcom,nandcs";
 
-                       reg = <0>;
+               reg = <0>;
 
-                       nand-ecc-strength = <4>;
-                       nand-bus-width = <8>;
-                       nand-ecc-step-size = <512>;
+               nand-ecc-strength = <4>;
+               nand-bus-width = <8>;
+               nand-ecc-step-size = <512>;
 
-                       partitions {
-                               compatible = "fixed-partitions";
-                               #address-cells = <1>;
-                               #size-cells = <1>;
-
-                               rootfs1@0 {
-                                       label = "rootfs1";
-                                       reg = <0x0000000 0x4000000>;
-                               };
-
-                               rootfs2@4000000 {
-                                       label = "rootfs2";
-                                       reg = <0x4000000 0x4000000>;
-                               };
+               partitions {
+                       compatible = "fixed-partitions";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       rootfs1@0 {
+                               label = "rootfs1";
+                               reg = <0x0000000 0x4000000>;
+                       };
+
+                       rootfs2@4000000 {
+                               label = "rootfs2";
+                               reg = <0x4000000 0x4000000>;
                        };
                };
        };
+};
 
+&soc {
        mdio1: mdio {
                compatible = "virtual,mdio-gpio";
                #address-cells = <1>;