ramips/mt762x: convert devices to interrupt-driven gpio-keys
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 20 Sep 2019 12:03:02 +0000 (14:03 +0200)
committerJohn Crispin <john@phrozen.org>
Mon, 21 Oct 2019 12:19:32 +0000 (14:19 +0200)
This converts all remaining devices to use interrupt-driven
gpio-keys compatible instead of gpio-keys-polled.
The poll-interval is removed.

While at it, add/remove newlines in keys and leds node where
necessary.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
161 files changed:
target/linux/ramips/dts/mt7620a_aigale_ai-br100.dts
target/linux/ramips/dts/mt7620a_alfa-network_ac1200rm.dts
target/linux/ramips/dts/mt7620a_asus_rp-n53.dts
target/linux/ramips/dts/mt7620a_asus_rt-ac51u.dts
target/linux/ramips/dts/mt7620a_bdcom_wap2100-sk.dts
target/linux/ramips/dts/mt7620a_buffalo_whr-1166d.dts
target/linux/ramips/dts/mt7620a_buffalo_whr-300hp2.dts
target/linux/ramips/dts/mt7620a_buffalo_whr-600d.dts
target/linux/ramips/dts/mt7620a_dlink_dch-m225.dts
target/linux/ramips/dts/mt7620a_dlink_dir-510l.dts
target/linux/ramips/dts/mt7620a_dlink_dir-810l.dts
target/linux/ramips/dts/mt7620a_dlink_dwr-118-a1.dts
target/linux/ramips/dts/mt7620a_dlink_dwr-118-a2.dts
target/linux/ramips/dts/mt7620a_dovado_tiny-ac.dts
target/linux/ramips/dts/mt7620a_edimax_br-6478ac-v2.dts
target/linux/ramips/dts/mt7620a_edimax_ew-7478apc.dts
target/linux/ramips/dts/mt7620a_glinet_gl-mt300a.dts
target/linux/ramips/dts/mt7620a_glinet_gl-mt300n.dts
target/linux/ramips/dts/mt7620a_glinet_gl-mt750.dts
target/linux/ramips/dts/mt7620a_head-weblink_hdrm200.dts
target/linux/ramips/dts/mt7620a_hiwifi_hc5x61.dtsi
target/linux/ramips/dts/mt7620a_hnet_c108.dts
target/linux/ramips/dts/mt7620a_iodata_wn-ac1167gr.dts
target/linux/ramips/dts/mt7620a_iodata_wn-ac733gr3.dts
target/linux/ramips/dts/mt7620a_kimax_u25awf-h1.dts
target/linux/ramips/dts/mt7620a_lava_lr-25g001.dts
target/linux/ramips/dts/mt7620a_lenovo_newifi-y1.dtsi
target/linux/ramips/dts/mt7620a_linksys_e1700.dts
target/linux/ramips/dts/mt7620a_microduino_microwrt.dts
target/linux/ramips/dts/mt7620a_netgear_ex2700.dts
target/linux/ramips/dts/mt7620a_netgear_ex3700.dts
target/linux/ramips/dts/mt7620a_netgear_wn3000rp-v3.dts
target/linux/ramips/dts/mt7620a_ohyeah_oy-0001.dts
target/linux/ramips/dts/mt7620a_phicomm_k2g.dts
target/linux/ramips/dts/mt7620a_phicomm_psg1208.dts
target/linux/ramips/dts/mt7620a_phicomm_psg1218.dtsi
target/linux/ramips/dts/mt7620a_phicomm_psg1218a.dts
target/linux/ramips/dts/mt7620a_phicomm_psg1218b.dts
target/linux/ramips/dts/mt7620a_planex_cs-qr10.dts
target/linux/ramips/dts/mt7620a_planex_db-wrt01.dts
target/linux/ramips/dts/mt7620a_planex_mzk-750dhp.dts
target/linux/ramips/dts/mt7620a_planex_mzk-ex300np.dts
target/linux/ramips/dts/mt7620a_planex_mzk-ex750np.dts
target/linux/ramips/dts/mt7620a_ralink_mt7620a-evb.dts
target/linux/ramips/dts/mt7620a_ralink_mt7620a-mt7610e-evb.dts
target/linux/ramips/dts/mt7620a_ralink_mt7620a-v22sg-evb.dts
target/linux/ramips/dts/mt7620a_sanlinking_d240.dts
target/linux/ramips/dts/mt7620a_sercomm_na930.dts
target/linux/ramips/dts/mt7620a_tplink_archer-c20-v1.dts
target/linux/ramips/dts/mt7620a_tplink_archer-c20i.dts
target/linux/ramips/dts/mt7620a_tplink_archer-c50-v1.dts
target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts
target/linux/ramips/dts/mt7620a_youku_yk1.dts
target/linux/ramips/dts/mt7620a_yukai_bocco.dts
target/linux/ramips/dts/mt7620a_zbtlink_zbt-ape522ii.dts
target/linux/ramips/dts/mt7620a_zbtlink_zbt-we1026-5g.dtsi
target/linux/ramips/dts/mt7620a_zbtlink_zbt-we826.dtsi
target/linux/ramips/dts/mt7620a_zte_q7.dts
target/linux/ramips/dts/mt7620a_zyxel_keenetic-viva.dts
target/linux/ramips/dts/mt7620n_asus_rt-n12p.dts
target/linux/ramips/dts/mt7620n_asus_rt-n14u.dts
target/linux/ramips/dts/mt7620n_buffalo_wmr-300.dts
target/linux/ramips/dts/mt7620n_comfast_cf-wr800n.dts
target/linux/ramips/dts/mt7620n_dlink_dwr-116-a1.dts
target/linux/ramips/dts/mt7620n_dlink_dwr-921-c1.dts
target/linux/ramips/dts/mt7620n_dlink_dwr-922-e2.dts
target/linux/ramips/dts/mt7620n_elecom_wrh-300cr.dts
target/linux/ramips/dts/mt7620n_kimax_u35wf.dts
target/linux/ramips/dts/mt7620n_kingston_mlw221.dts
target/linux/ramips/dts/mt7620n_kingston_mlwg2.dts
target/linux/ramips/dts/mt7620n_nexx_wt3020.dtsi
target/linux/ramips/dts/mt7620n_ravpower_wd03.dts
target/linux/ramips/dts/mt7620n_vonets_var11n-300.dts
target/linux/ramips/dts/mt7620n_zbtlink_zbt-cpe102.dts
target/linux/ramips/dts/mt7620n_zbtlink_zbt-wa05.dts
target/linux/ramips/dts/mt7620n_zbtlink_zbt-we2026.dts
target/linux/ramips/dts/mt7620n_zbtlink_zbt-wr8305rt.dts
target/linux/ramips/dts/mt7620n_zyxel_keenetic-omni-ii.dts
target/linux/ramips/dts/mt7620n_zyxel_keenetic-omni.dts
target/linux/ramips/dts/mt7621_afoundry_ew1200.dts
target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts
target/linux/ramips/dts/mt7621_buffalo_wsr-600dhp.dts
target/linux/ramips/dts/mt7621_d-team_newifi-d2.dts
target/linux/ramips/dts/mt7621_d-team_pbr-m1.dts
target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts
target/linux/ramips/dts/mt7621_elecom_wrc-1167ghbk2-s.dts
target/linux/ramips/dts/mt7621_elecom_wrc-gst.dtsi
target/linux/ramips/dts/mt7621_firefly_firewrt.dts
target/linux/ramips/dts/mt7621_gehua_ghl-r-001.dts
target/linux/ramips/dts/mt7621_gnubee_gb-pc1.dts
target/linux/ramips/dts/mt7621_gnubee_gb-pc2.dts
target/linux/ramips/dts/mt7621_hiwifi_hc5962.dts
target/linux/ramips/dts/mt7621_iodata_wn-ax1167gr.dts
target/linux/ramips/dts/mt7621_iodata_wn-gx300gr.dts
target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts
target/linux/ramips/dts/mt7621_linksys_re6500.dts
target/linux/ramips/dts/mt7621_mikrotik_rb750gr3.dts
target/linux/ramips/dts/mt7621_mikrotik_rbm11g.dts
target/linux/ramips/dts/mt7621_mikrotik_rbm33g.dts
target/linux/ramips/dts/mt7621_mqmaker_witi.dts
target/linux/ramips/dts/mt7621_mtc_wr1201.dts
target/linux/ramips/dts/mt7621_netgear_ex6150.dts
target/linux/ramips/dts/mt7621_netgear_r6220.dtsi
target/linux/ramips/dts/mt7621_netis_wf-2881.dts
target/linux/ramips/dts/mt7621_phicomm_k2p.dts
target/linux/ramips/dts/mt7621_planex_vr500.dts
target/linux/ramips/dts/mt7621_samknows_whitebox-v8.dts
target/linux/ramips/dts/mt7621_storylink_sap-g3200u3.dts
target/linux/ramips/dts/mt7621_telco-electronics_x1.dts
target/linux/ramips/dts/mt7621_thunder_timecloud.dts
target/linux/ramips/dts/mt7621_tplink_re350-v1.dts
target/linux/ramips/dts/mt7621_ubiquiti_edgerouterx.dtsi
target/linux/ramips/dts/mt7621_unielec_u7621-06.dtsi
target/linux/ramips/dts/mt7621_wevo_w2914ns-v2.dtsi
target/linux/ramips/dts/mt7621_xiaomi_mir3g.dts
target/linux/ramips/dts/mt7621_xiaomi_mir3p.dts
target/linux/ramips/dts/mt7621_xzwifi_creativebox-v1.dts
target/linux/ramips/dts/mt7621_youhua_wr1200js.dts
target/linux/ramips/dts/mt7621_youku_yk-l2.dts
target/linux/ramips/dts/mt7621_zbtlink_zbt-we1326.dts
target/linux/ramips/dts/mt7621_zbtlink_zbt-we3526.dts
target/linux/ramips/dts/mt7621_zbtlink_zbt-wg2626.dts
target/linux/ramips/dts/mt7621_zbtlink_zbt-wg3526.dtsi
target/linux/ramips/dts/mt7628an_alfa-network_awusfree1.dts
target/linux/ramips/dts/mt7628an_buffalo_wcr-1166ds.dts
target/linux/ramips/dts/mt7628an_cudy_wr1000.dts
target/linux/ramips/dts/mt7628an_d-team_pbr-d1.dts
target/linux/ramips/dts/mt7628an_duzun_dm06.dts
target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts
target/linux/ramips/dts/mt7628an_glinet_vixmini.dts
target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts
target/linux/ramips/dts/mt7628an_mediatek_linkit-smart-7688.dts
target/linux/ramips/dts/mt7628an_mercury_mac1200r-v2.dts
target/linux/ramips/dts/mt7628an_netgear_r6120.dts
target/linux/ramips/dts/mt7628an_onion_omega2.dtsi
target/linux/ramips/dts/mt7628an_skylab_skw92a.dts
target/linux/ramips/dts/mt7628an_tama_w06.dts
target/linux/ramips/dts/mt7628an_totolink_lr1200.dts
target/linux/ramips/dts/mt7628an_tplink_archer-c20-v4.dts
target/linux/ramips/dts/mt7628an_tplink_archer-c50-v3.dts
target/linux/ramips/dts/mt7628an_tplink_archer-c50-v4.dts
target/linux/ramips/dts/mt7628an_tplink_tl-mr3020-v3.dts
target/linux/ramips/dts/mt7628an_tplink_tl-mr3420-v5.dts
target/linux/ramips/dts/mt7628an_tplink_tl-wa801nd-v5.dts
target/linux/ramips/dts/mt7628an_tplink_tl-wr802n-v4.dts
target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v4.dts
target/linux/ramips/dts/mt7628an_tplink_tl-wr840n-v5.dts
target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v13.dts
target/linux/ramips/dts/mt7628an_tplink_tl-wr841n-v14.dts
target/linux/ramips/dts/mt7628an_tplink_tl-wr842n-v5.dts
target/linux/ramips/dts/mt7628an_tplink_tl-wr902ac-v3.dts
target/linux/ramips/dts/mt7628an_unielec_u7628-01.dtsi
target/linux/ramips/dts/mt7628an_wavlink_wl-wn570ha1.dts
target/linux/ramips/dts/mt7628an_wavlink_wl-wn575a3.dts
target/linux/ramips/dts/mt7628an_widora_neo.dtsi
target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts
target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2.dtsi
target/linux/ramips/dts/mt7628an_xiaomi_mir4a-100m.dts
target/linux/ramips/dts/mt7628an_xiaomi_miwifi-nano.dts
target/linux/ramips/dts/mt7628an_zbtlink_zbt-we1226.dts
target/linux/ramips/dts/mt7628an_zyxel_keenetic-extra-ii.dts

index 8de4b58..019fdf9 100644 (file)
@@ -31,8 +31,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 388b088..0be6858 100644 (file)
@@ -51,8 +51,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 2d2820e..c9c440f 100644 (file)
@@ -10,8 +10,7 @@
        model = "Asus RP-N53";
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                touch {
                        label = "touch";
index 1294357..6efba74 100644 (file)
@@ -38,8 +38,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index e71d14c..898deee 100644 (file)
@@ -41,8 +41,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 4be719a..64fbeb0 100644 (file)
@@ -56,8 +56,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 7dbc58f..8bdf875 100644 (file)
@@ -56,8 +56,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index f4b5661..a99910d 100644 (file)
@@ -56,8 +56,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 0644378..b08edfa 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <100>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index be73855..56c0f8f 100644 (file)
@@ -22,8 +22,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
@@ -50,7 +49,6 @@
                        label = "dir-510l:red:status";
                        gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
                };
-
        };
 };
 
index 1df7e2e..9232d49 100644 (file)
@@ -18,8 +18,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 707bc1c..44ca663 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 26b23aa..449f4ff 100644 (file)
@@ -15,8 +15,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index e36af1d..d0229e4 100644 (file)
@@ -30,8 +30,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 8f87212..43698d9 100644 (file)
@@ -34,8 +34,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset_wps {
                        label = "reset_wps";
                        label = "br-6478ac-v2:white:power";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
+
                internet {
                        label = "br-6478ac-v2:blue:internet";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
+
                wlan {
                        label = "br-6478ac-v2:blue:wlan";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
+
                usb {
                        label = "br-6478ac-v2:blue:usb";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
index bd1768b..da5b428 100644 (file)
@@ -22,8 +22,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset_wps {
                        label = "reset_wps";
index ba446a4..6b2e2d1 100644 (file)
@@ -42,8 +42,8 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
index 444ffb0..1c2b296 100644 (file)
@@ -37,8 +37,8 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
index 8fc0df2..08451d8 100644 (file)
@@ -37,8 +37,8 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
index 72cd24a..8d58d12 100644 (file)
@@ -41,8 +41,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 09b303f..a7e3bd1 100644 (file)
@@ -11,8 +11,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 2d89d34..c122b6d 100644 (file)
@@ -94,8 +94,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 3e61f51..5da9107 100644 (file)
@@ -43,8 +43,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index ad96d94..12e6e12 100644 (file)
@@ -43,8 +43,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 4b4d0b6..e1aeb4f 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 20974c9..3130365 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 5d6c992..a5262ff 100644 (file)
@@ -11,8 +11,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 2ea7400..256b306 100644 (file)
@@ -27,8 +27,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index a010a9c..76ab099 100644 (file)
@@ -14,8 +14,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 7d7b222..5db2a7a 100644 (file)
@@ -71,8 +71,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index d971909..311f277 100644 (file)
@@ -63,8 +63,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 40ae5ee..66a5ad5 100644 (file)
@@ -73,8 +73,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index a4fd86b..6ef7e84 100644 (file)
@@ -35,8 +35,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                s1 {
                        label = "reset";
index 4ca5229..e71211e 100644 (file)
@@ -37,8 +37,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 564b083..310f78e 100644 (file)
@@ -31,8 +31,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 33eabb6..87e44f0 100644 (file)
@@ -7,8 +7,7 @@
        compatible = "phicomm,psg1218", "ralink,mt7620a-soc";
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index dbde2a8..4e023ed 100644 (file)
@@ -15,6 +15,7 @@
 
        leds {
                compatible = "gpio-leds";
+
                led_blue: blue {
                        label = "psg1218a:blue:status";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
index 0f38b4f..f451b43 100644 (file)
@@ -15,6 +15,7 @@
 
        leds {
                compatible = "gpio-leds";
+
                led_blue: blue {
                        label = "psg1218b:blue:status";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
index dadd37a..c5efb39 100644 (file)
@@ -26,8 +26,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                s1 {
                        label = "reset";
index bb2c14e..ecbf910 100644 (file)
@@ -26,8 +26,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                s1 {
                        label = "wps";
index a4a6c9b..be7a569 100644 (file)
@@ -36,8 +36,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                s1 {
                        label = "reset";
index 6578d95..ea2a11b 100644 (file)
@@ -51,8 +51,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 497693d..7fe329f 100644 (file)
@@ -56,8 +56,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index c9d3d76..5b62fd9 100644 (file)
@@ -11,7 +11,6 @@
 
        keys {
                compatible = "gpio-keys";
-               poll-interval = <20>;
 
                s2 {
                        label = "S2";
index a2864de..b455467 100644 (file)
@@ -11,7 +11,6 @@
 
        keys {
                compatible = "gpio-keys";
-               poll-interval = <20>;
 
                wps {
                        label = "wps";
index 33d23f2..7b3517c 100644 (file)
@@ -10,8 +10,7 @@
        model = "Ralink MT7620a V22SG High Power evaluation board";
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 2110959..c2b94ee 100644 (file)
@@ -92,8 +92,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 6d85914..76e1eb7 100644 (file)
@@ -55,8 +55,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 258c2f2..bc47f52 100644 (file)
@@ -68,8 +68,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 36dceec..1da2f48 100644 (file)
 
        leds {
                compatible = "gpio-leds";
+
                lan {
                        label = "archer-c20i:blue:lan";
                        gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
                };
+
                usb {
                        label = "archer-c20i:blue:usb";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
+
                wps {
                        label = "archer-c20i:blue:wps";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
+
                wan {
                        label = "archer-c20i:blue:wan";
                        gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
                };
+
                wlan {
                        label = "archer-c20i:blue:wlan";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
@@ -47,6 +52,7 @@
                        gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RFKILL>;
                };
+
                reset_wps {
                        label = "reset_wps";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
index 2000037..c23538c 100644 (file)
@@ -68,8 +68,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
@@ -81,7 +80,8 @@
                        label = "rfkill";
                        gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RFKILL>;
-               };      };
+               };
+       };
 };
 
 &gpio1 {
index 15493e9..8bf6565 100644 (file)
@@ -42,8 +42,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 6ddb2c5..82be9c4 100644 (file)
 
        leds {
                compatible = "gpio-leds";
+
                wan {
                        label = "yk1:blue:wan";
                        gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
                };
+
                air {
                        label = "yk1:blue:air";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
+
                usb {
                        label = "yk1:blue:usb";
                        gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
+
                led_power: power {
                        label = "yk1:blue:power";
                        gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
@@ -39,8 +43,8 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
index cc9c668..7abc34d 100644 (file)
@@ -10,8 +10,7 @@
        model = "YUKAI Engineering BOCCO";
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 665dd5b..f7bc4f2 100644 (file)
@@ -43,8 +43,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 68a74ed..c728dc1 100644 (file)
@@ -45,6 +45,7 @@
 
        leds {
                compatible = "gpio-leds";
+
                lan {
                        label = "we1026-5g:green:lan";
                        gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
@@ -64,8 +65,8 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
index 0776ea7..41c6b07 100644 (file)
 
        leds {
                compatible = "gpio-leds";
+
                led_power: power {
                        label = "zbt-we826:green:power";
                        gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
                };
+
                usb {
                        label = "zbt-we826:green:usb";
                        gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
+
                air {
                        label = "zbt-we826:green:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
@@ -36,8 +39,8 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
index 5b4c5ee..50368b8 100644 (file)
@@ -31,8 +31,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 725339e..16a606e 100644 (file)
@@ -49,7 +49,6 @@
 
        keys {
                compatible = "gpio-keys";
-               poll-interval = <20>;
 
                reset {
                        label = "reset";
index 83a7b6a..76c362f 100644 (file)
@@ -45,8 +45,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 834eb0d..960d2ac 100644 (file)
@@ -48,8 +48,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index f0f1cc1..f7c24ec 100644 (file)
@@ -36,8 +36,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 65f44e4..b033ef9 100644 (file)
@@ -40,8 +40,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 6f76a64..14bfc0f 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 92bcd54..8214e4a 100644 (file)
@@ -15,8 +15,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index c2dd26a..ab38ad0 100644 (file)
@@ -16,8 +16,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index eb6dbe6..b1eceee 100644 (file)
@@ -16,7 +16,7 @@
                led-upgrade = &led_wps;
        };
 
-               leds {
+       leds {
                compatible = "gpio-leds";
 
                led_wps: wps {
@@ -36,8 +36,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index d058b83..c49cb02 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 815370e..9658f6c 100644 (file)
@@ -31,8 +31,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index f88af71..6d7d2d0 100644 (file)
@@ -31,8 +31,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 701701c..2fc3662 100644 (file)
@@ -15,8 +15,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index bbb2ca3..7dcff46 100644 (file)
@@ -21,7 +21,6 @@
                        gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>;
                };
 
-
                blue-wifi {
                        label = "wd03:blue:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>;
@@ -29,8 +28,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index cf4b7c5..184d947 100644 (file)
@@ -26,8 +26,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index f620e1b..3885428 100644 (file)
@@ -38,8 +38,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 21b56dc..7949c48 100644 (file)
@@ -42,8 +42,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index be8d13b..0cadbdd 100644 (file)
@@ -35,8 +35,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 5292c70..cdfeaff 100644 (file)
@@ -38,8 +38,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index b57c008..98c5609 100644 (file)
@@ -44,7 +44,6 @@
 
        keys {
                compatible = "gpio-keys";
-               poll-interval = <20>;
 
                reset {
                        label = "reset";
index 2d7d3e8..ff9a9ee 100644 (file)
@@ -44,7 +44,6 @@
 
        keys {
                compatible = "gpio-keys";
-               poll-interval = <20>;
 
                reset {
                        label = "reset";
index ad6ed7f..a165c20 100644 (file)
@@ -27,8 +27,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 232c0c3..1b99f81 100644 (file)
@@ -65,8 +65,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                power {
                        label = "power";
index 3f20002..36bcd15 100644 (file)
@@ -65,8 +65,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                power {
                        label = "power";
index 39c16a5..896d9f6 100644 (file)
@@ -63,8 +63,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 3eb0fac..fd598de 100644 (file)
@@ -63,8 +63,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 13b1dc0..f189365 100644 (file)
@@ -46,8 +46,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index cf5c9a2..3d0b726 100644 (file)
@@ -56,8 +56,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 9ab8df6..1776db8 100644 (file)
@@ -43,8 +43,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 09b6fc5..773cf82 100644 (file)
@@ -30,8 +30,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 12becc2..b7ddc51 100644 (file)
@@ -31,8 +31,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 0d951e9..c7a6105 100644 (file)
@@ -21,8 +21,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 17e7121..bd3411b 100644 (file)
@@ -21,8 +21,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 598d330..1d0471f 100644 (file)
@@ -35,8 +35,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 2449112..40e1101 100644 (file)
@@ -35,8 +35,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 020f78a..1e692ea 100644 (file)
@@ -35,8 +35,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 1ab3390..7403a87 100644 (file)
@@ -42,8 +42,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index c7705bd..a7f1fdd 100644 (file)
@@ -35,8 +35,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 0b39fa2..b164ed2 100644 (file)
@@ -37,8 +37,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                mode {
                        label = "mode";
index 7009974..f13a779 100644 (file)
@@ -55,8 +55,8 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
+
                res {
                        label = "reset";
                        gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
index a9b5ee8..45b2182 100644 (file)
@@ -30,8 +30,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                res {
                        label = "res";
index 803b35f..6d13ac1 100644 (file)
@@ -26,8 +26,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 81caed9..fb3efe6 100644 (file)
@@ -48,8 +48,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 4798a99..fc8a68a 100644 (file)
@@ -73,8 +73,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 44dec9e..1d64c67 100644 (file)
@@ -49,8 +49,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 487d92d..50f9592 100644 (file)
@@ -37,8 +37,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index a2bac13..909df62 100644 (file)
@@ -40,8 +40,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index f011694..3d8d346 100644 (file)
@@ -30,8 +30,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 0319f05..84cc454 100644 (file)
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
+
                wps {
                        label = "wps";
                        gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_WPS_BUTTON>;
                };
+
                reset {
                        label = "reset";
                        gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
index 38ae614..4194154 100644 (file)
@@ -25,8 +25,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index abba2ea..9e8f9f7 100644 (file)
@@ -23,8 +23,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 23f9724..4ff8455 100644 (file)
@@ -35,8 +35,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 54ba203..7859f61 100644 (file)
@@ -60,8 +60,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                led {
                        label = "led";
index b8de411..d03c325 100644 (file)
@@ -15,8 +15,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 301edfe..5bd7f0b 100644 (file)
@@ -63,8 +63,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 63cff0c..4e6ccca 100644 (file)
@@ -11,8 +11,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index fe1ab31..5044890 100644 (file)
@@ -55,8 +55,7 @@
        };
 
        button {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 34efb1f..f36a920 100644 (file)
@@ -61,8 +61,7 @@
        };
 
        button {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 73bfd6a..f33a6fc 100644 (file)
@@ -54,8 +54,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index af39749..7f7d5cb 100644 (file)
@@ -40,8 +40,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index dc55993..3a9794d 100644 (file)
@@ -44,8 +44,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index d7c48c6..9d4ab65 100644 (file)
@@ -18,8 +18,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index b1d3e4e..9ee88d9 100644 (file)
@@ -20,8 +20,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 1a2a89a..d1cf308 100644 (file)
@@ -27,8 +27,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index a2ab252..f1b126a 100644 (file)
@@ -25,8 +25,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index c03f060..ffb8dba 100644 (file)
@@ -53,8 +53,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 602ea8c..2c878ff 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                aoss {
                        label = "aoss";
index 613edf6..aa3f01e 100644 (file)
@@ -18,8 +18,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 6b3855f..cef92c5 100644 (file)
@@ -42,8 +42,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 1060f85..20d3bd8 100644 (file)
@@ -10,8 +10,7 @@
        model = "DuZun DM06";
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <100>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 785088b..48dcfc0 100644 (file)
@@ -42,8 +42,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 1d2ba8b..b2e82c6 100644 (file)
@@ -38,8 +38,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 41a140e..f31e129 100644 (file)
@@ -15,8 +15,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index b29a815..d4eadf6 100644 (file)
@@ -40,8 +40,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "reset";
index 82adae1..715f4d1 100644 (file)
@@ -22,6 +22,7 @@
 
        leds {
                compatible = "gpio-leds";
+
                led_status: status {
                        label = "mac1200rv2:green:status";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
index 9f1ea1d..e27406a 100644 (file)
@@ -18,8 +18,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index e36602d..8b761d7 100644 (file)
@@ -26,8 +26,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 41fd5f2..b33b27e 100644 (file)
@@ -34,8 +34,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index b4d5595..2a906c2 100644 (file)
@@ -29,8 +29,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index c2aac3e..4a712e9 100644 (file)
                        label = "lr1200:blue:sys";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
+
                sms {
                        label = "lr1200:blue:sms";
                        gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
                };
+
                wifi {
                        label = "lr1200:blue:wifi";
                        gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
+
                3g {
                        label = "lr1200:blue:3g";
                        gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
                };
+
                4g {
                        label = "lr1200:blue:4g";
                        gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
                };
+
                rssi1 {
                        label = "lr1200:blue:rssi1";
                        gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
                };
+
                rssi2 {
                        label = "lr1200:blue:rssi2";
                        gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
                };
+
                rssi3 {
                        label = "lr1200:blue:rssi3";
                        gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
                };
+
                rssi4 {
                        label = "lr1200:blue:rssi4";
                        gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
@@ -60,8 +68,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 641e508..91401b5 100644 (file)
@@ -56,8 +56,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 3da6128..2f0576f 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 30132b4..197773d 100644 (file)
@@ -18,8 +18,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index d1b5dd4..84fe322 100644 (file)
@@ -21,8 +21,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 9573b86..2bc4fac 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 684ce32..0336730 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 6460ede..5e97733 100644 (file)
@@ -18,8 +18,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 8d379cf..32d4cdf 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index eb00d11..17b8ff4 100644 (file)
@@ -21,8 +21,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
@@ -30,6 +29,7 @@
                        linux,code = <KEY_RESTART>;
                };
        };
+
        /* LED used is dual-color,dual lead LED */
        leds {
                compatible = "gpio-leds";
index 1af6354..5bfabe4 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index c19db91..554300c 100644 (file)
@@ -23,8 +23,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 7b8b258..648e647 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 0e31d41..33449d9 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 03da1f8..ab6bd6b 100644 (file)
@@ -52,8 +52,8 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
+
                reset {
                        label = "reset";
                        gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
index 2165964..fa59a8b 100644 (file)
@@ -13,8 +13,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 7a71740..0aed99c 100644 (file)
@@ -13,8 +13,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index eabb5c6..5457ca8 100644 (file)
@@ -28,8 +28,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "reset";
index 1ddd819..b5da84c 100644 (file)
        };
 
        keys {
-               compatible = "gpio-keys-polled";
+               compatible = "gpio-keys";
+
                #address-cells = <1>;
                #size-cells = <0>;
-               poll-interval = <20>;
 
                reset {
                        label = "reset";
@@ -76,7 +76,6 @@
                        gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
                        linux,code = <BTN_2>;
                };
-
        };
 };
 
index b8fa634..206da8b 100644 (file)
@@ -11,8 +11,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index bdca8d9..2de2804 100644 (file)
@@ -36,8 +36,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 347ce64..8b2a3d6 100644 (file)
                        label = "miwifi-nano:blue:status";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
+
                status_red {
                        label = "miwifi-nano:red:status";
                        gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
                };
+
                status_amber {
                        label = "miwifi-nano:amber:status";
                        gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
@@ -38,8 +40,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index cd7a33e..b89e689 100644 (file)
@@ -20,8 +20,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 1d083ed..644882c 100644 (file)
@@ -21,8 +21,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";