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 8de4b5877adffc7d0eb085939a2b41d47ff97d49..019fdf92cda5164611fd8061998f1037811e1da0 100644 (file)
@@ -31,8 +31,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 388b088d927f3d0f14a7ede15cbaaa13cb3a74e8..0be685844fa48e921ffb4c028acf53fd6878bf03 100644 (file)
@@ -51,8 +51,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 2d2820ed791a91c02492dea0619b960425d3da0c..c9c440fe826765a7215b0d10ddb2724a534dbee8 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 1294357569b20b33b0b62d28363fb7aab56f33a6..6efba7489fc984fbe995257f6e8850376ee16b5b 100644 (file)
@@ -38,8 +38,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index e71d14c6abff4e44965cf0bd4d351b461107cf79..898deee7e5b16839dd2cf75bf173ea7082e0e0fa 100644 (file)
@@ -41,8 +41,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 4be719a2491c10b8994b53946d50766b66ef9678..64fbeb0fe559bc22102155b473f04636b134d918 100644 (file)
@@ -56,8 +56,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 7dbc58fee77a7dfee988d91e4fd01bef0684142c..8bdf87501e4216de0cee6f3b834fb201bc6f2af7 100644 (file)
@@ -56,8 +56,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index f4b5661eac9475ca3b6efb0abca2c230f0c895d0..a99910db8e7fd22b97cfb38646ba4114d8a6019c 100644 (file)
@@ -56,8 +56,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 0644378ba29478b774612abf9299aaeadfbd791b..b08edfadf76dde4c48d002cdbec97d6954b2de78 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <100>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index be738559f1e5f0cc7c779f4ed46aa847b9d3f8b3..56c0f8f890f84e7c0ba27d215688aa3a382fd495 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 1df7e2e451c48be140cbaef6bb06421285c64106..9232d4929a6ebe751c5e41c0be5fd0ced4f8e9c6 100644 (file)
@@ -18,8 +18,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 707bc1c3d3d248b07e04b6b223f6dda467465be4..44ca663694d9633c2d895602fc1138bdd0eb0440 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 26b23aa6d1300bca58f29e46aec24808255d1e39..449f4ff4b62ed2a4c0939cad809a85866b210a4a 100644 (file)
@@ -15,8 +15,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index e36af1dc7f1b35e4123c3e421a4a7be5c2ed4ded..d0229e47182ea9b1b11e9a6fe943e98e57399756 100644 (file)
@@ -30,8 +30,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 8f87212902e1ac45d629a4c1db2fcff785b5dd00..43698d9fd6d6202c280e60f4b33759de7dbe5911 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 bd1768b34e612f8036f4991aa2fbbf026d15020d..da5b428fa57ef3fc437d4a04a6fe913437d390e3 100644 (file)
@@ -22,8 +22,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset_wps {
                        label = "reset_wps";
index ba446a4c8dce3e51de6264cc85842d6a0ca8ad20..6b2e2d115b2e1b207e96dd73d42a5ebbdedbf7c8 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 444ffb04404d55b3e3d0e5a2ab58bcc4da6aa62b..1c2b296a9ce3f04ddc8903629e0cc6ceec4ffaef 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 8fc0df2a330630e9aac7f589e0ae0aed48f90f1a..08451d8a8cd250a937d1be7f97a672c001e38f3d 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 72cd24ae480d106b417c00c492823b4d4f2addfd..8d58d12f02130c513f1fa8d84d840e2192ced7d0 100644 (file)
@@ -41,8 +41,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 09b303fd337b6bb10a9aa93d99b97cafcbc9d668..a7e3bd199a6bfa6307e76ab68e06a3712d43a58c 100644 (file)
@@ -11,8 +11,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 2d89d34ad5056ed28a3f98b8092d57dcb7a20cbb..c122b6dfd5f723611411641df0b7b52ad3e5f5c2 100644 (file)
@@ -94,8 +94,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 3e61f515981057bf5c563363cba929161cfb5dd5..5da91071dba614284ab0c08d6ce5fb134f6906ec 100644 (file)
@@ -43,8 +43,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index ad96d94849eb7dea44bdfe845e6bb86122f81e8b..12e6e12f002e979769ed7df6e933d5ca5bd7458e 100644 (file)
@@ -43,8 +43,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 4b4d0b63569e9430e1a7f8edbe88d97426cf39ef..e1aeb4fa8ac548cc2f108c9e577b30acdbd39fb1 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 20974c93e2547403f0279a44d2474a22dc723098..3130365b96a471eb289cb8f00a1a7d5b0b9b9556 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 5d6c9922fd3a991a59829d31354cbddf3c9ac424..a5262ffca60a265495759c4a70692744534b4951 100644 (file)
@@ -11,8 +11,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 2ea7400a71ef9ebd792daf36a2785398fe8d85d0..256b306306330e1db1ae03fdfa25c6a3f9b21717 100644 (file)
@@ -27,8 +27,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index a010a9c6262b34ef17af29484f8a0ea487287937..76ab099a16711df858d601035a2b583c1d68a8d3 100644 (file)
@@ -14,8 +14,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 7d7b2220f773eeb24eb0e22c0b47a9a4f1ebe098..5db2a7ae9ccb81c115970a6912e18574b9f07b1d 100644 (file)
@@ -71,8 +71,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index d971909b29f59ea20b08fb14b10057317c9bb065..311f27781d1a682207359c83c0ffe8f53b67f4b0 100644 (file)
@@ -63,8 +63,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 40ae5ee58ab9e720609b769c095ea9061bb29410..66a5ad5ece6b27596a50cf0451118892940ff3bd 100644 (file)
@@ -73,8 +73,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index a4fd86bbd6b0ab4f6e2db61fa71bd6b0877a6ae0..6ef7e84154e6a0673bb7fc7c97e015163b7da134 100644 (file)
@@ -35,8 +35,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                s1 {
                        label = "reset";
index 4ca52297459c67cdd69cf23c7b4aa35e318621e0..e71211e68145409dc5654ab0197fa286fdc60fae 100644 (file)
@@ -37,8 +37,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 564b083f822dc89d7d042fdec63e3884b3d43474..310f78ec51f5ce9b327e044ed6fc7eb6fcd3c035 100644 (file)
@@ -31,8 +31,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 33eabb6f7802398bcd4802d89cd09c55a580d498..87e44f0b61567046858d8e07f336e5c438ffe28d 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 dbde2a8047b7f4cefc6636bf0e271bd5c0e0e4e6..4e023ed6b0a3470d635c9e449703de62f4d93049 100644 (file)
@@ -15,6 +15,7 @@
 
        leds {
                compatible = "gpio-leds";
+
                led_blue: blue {
                        label = "psg1218a:blue:status";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
index 0f38b4fc57915ac1d4875f82cfa86327b85dac51..f451b43ae3fa7725b691093d9619104bc37a10c3 100644 (file)
@@ -15,6 +15,7 @@
 
        leds {
                compatible = "gpio-leds";
+
                led_blue: blue {
                        label = "psg1218b:blue:status";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
index dadd37acba612812d67293d1f638753282366d8d..c5efb395637cd40048226d59242b5c4235c9580e 100644 (file)
@@ -26,8 +26,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                s1 {
                        label = "reset";
index bb2c14e0962731c349d281b5333ae7b1601bc9ec..ecbf91083a2357855241db90bbcfea97f629c95d 100644 (file)
@@ -26,8 +26,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                s1 {
                        label = "wps";
index a4a6c9b8be8936c2f7040e778d1ff43a5b4c4f0d..be7a56983807ff5fe2c0c237a9657bd1802641cc 100644 (file)
@@ -36,8 +36,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                s1 {
                        label = "reset";
index 6578d952c003b6fe7cd5110b6b9bccf89d866b7e..ea2a11b82fec2db9dccc945182a7e3c4ea92764d 100644 (file)
@@ -51,8 +51,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 497693d3937865d7c75aeadc8f26026b80810c4a..7fe329f03e7f02aa956daa0711c6c79570bdd983 100644 (file)
@@ -56,8 +56,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index c9d3d76729b38a88c36e30945e81362528c73b2c..5b62fd92db7239cb85fa8b78d21fa5c04ae1a659 100644 (file)
@@ -11,7 +11,6 @@
 
        keys {
                compatible = "gpio-keys";
-               poll-interval = <20>;
 
                s2 {
                        label = "S2";
index a2864de94f5c352a1b881cdc5d773a2603777a0a..b4554675c704248dd38a25661abe9b6f95ffdf6a 100644 (file)
@@ -11,7 +11,6 @@
 
        keys {
                compatible = "gpio-keys";
-               poll-interval = <20>;
 
                wps {
                        label = "wps";
index 33d23f22013d0e136dc3d2220f17af3dc0349a07..7b3517c13513ba5b6160fc712b27dabaf3349bb9 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 2110959ee8ae88740ea0cb27d6e4fa77537c18a9..c2b94eebb38c7503e182cf6657be40aa3127ce78 100644 (file)
@@ -92,8 +92,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 6d85914265976dc487d987f9cb849bf74a2a9d7a..76e1eb79bcc78e6d88f8d3bad22e990a9b492d20 100644 (file)
@@ -55,8 +55,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 258c2f21c94897fd0bb811cf50a61a7dd4594c28..bc47f52d23537240b179fb022ac2af68518c8a85 100644 (file)
@@ -68,8 +68,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 36dceecce10c92a50c299331966fa450ea7e3717..1da2f483dc2229e9b530d316528f762be928c902 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 20000374b1049a05c366b8d7a2ee4569d174db1c..c23538ca52830e99994db3350cc23beccd574183 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 15493e978335dbf0dc41c53036a6d0209bd1856e..8bf6565d2f7065674ca117de2d99915416485845 100644 (file)
@@ -42,8 +42,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 6ddb2c5d39838ecd09296721ae7f3df67418b205..82be9c4c9741161bd6590a9f3cdb4cfa5f049a13 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 cc9c6688dc21effb4f95e50efe028e5c24244234..7abc34d1948a325e4e81f5ead2938dc3da758d33 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 665dd5ba3c11d8e9dd3b8e157622c62eb1724db5..f7bc4f2001b91dea3cb7d13c67f9ad8f2d2d7df3 100644 (file)
@@ -43,8 +43,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 68a74ede39749723ee0c2c24a8cade8f0d4729f1..c728dc1bfaf0ef18db6b5df3908898474375362a 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 0776ea7a7916d3510a7b980f4fb9b2bb6b806a74..41c6b07dbd080bee87c307ccc1141ffa32e7fd70 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 5b4c5ee0474480d4af294f814649f15addd3253a..50368b8bd5fd544f1c001339e0e46f34114b4cdf 100644 (file)
@@ -31,8 +31,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 725339e77abf457a8b072fc07abf402cd06a7560..16a606ea1af5b03325e539cddb3668cdfa70e970 100644 (file)
@@ -49,7 +49,6 @@
 
        keys {
                compatible = "gpio-keys";
-               poll-interval = <20>;
 
                reset {
                        label = "reset";
index 83a7b6adf0f4c544d509a92c8d6a235a19a309ce..76c362f5932a99c7df48beb43ff5ab7b397ccd9d 100644 (file)
@@ -45,8 +45,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 834eb0ddf3ec4ce8ace70d6ca42ffaa623e9e28a..960d2acaec6d885b562b589281a7314ef7e26a96 100644 (file)
@@ -48,8 +48,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index f0f1cc1337e7da4e999f1e17abe9696183a393d9..f7c24ec481573fd0c8ad02982d1c154eb8d7e127 100644 (file)
@@ -36,8 +36,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 65f44e43d7ab08154136e6a89077752fb11aa534..b033ef90c4060a3cdd8149d1f0e94cdb00050945 100644 (file)
@@ -40,8 +40,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 6f76a640397fedb667a96c96bdb5cd64afd92cab..14bfc0f30c9a49fa51777a6214203f0c5764f6e7 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 92bcd54a428d2f208b835e13d8707a4cdf70bad3..8214e4a780fcb55b3cbf3cf966224a50ac8dbbca 100644 (file)
@@ -15,8 +15,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index c2dd26a09da311628192b05b0cc7162d70a1f541..ab38ad057713ca9c3237f0b2422950c1099d1737 100644 (file)
@@ -16,8 +16,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index eb6dbe6d1afa62fa739eda8674fa73528b8542b0..b1eceeed8eb15326f18cbbfb313146f37ead6725 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 d058b839496d9107177832baff9be5525fff0523..c49cb02bb5d3aa6197f836bfb000c73cf31cab5d 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 815370e6fd1e8d1d1569fc1178ce0c704b0e463a..9658f6c4de0964af6dba0c921d95061527b6bea8 100644 (file)
@@ -31,8 +31,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index f88af718964c37ba1c872416ee56967997435912..6d7d2d06b7cb7290db9d843fdd22f9a174ff525d 100644 (file)
@@ -31,8 +31,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 701701c1de892f7a64515e7c30e90d50ab50be6a..2fc3662645417de80b6832f56391d624d5b8abc8 100644 (file)
@@ -15,8 +15,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index bbb2ca3dc91bc4d996133d47a09a3092de70538f..7dcff469178d670343ead7dc307a5a1d40542cc8 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 cf4b7c54a16d23452ff185de129587807729713c..184d947e364df7884ed3bcc18ec57b9f34962436 100644 (file)
@@ -26,8 +26,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index f620e1bcd84a81f6e71ce7df0757d7d62a086e24..3885428345c15e31c11724ae26680dd6a2ee1ae8 100644 (file)
@@ -38,8 +38,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 21b56dcae17ba1f11bc4c39361694bc82cdd2859..7949c48383a96a6a02358e3c8a7b354248f21e22 100644 (file)
@@ -42,8 +42,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index be8d13be90edf8c83e2640bfd2d0abbdd47c4e68..0cadbddcb4ac6a6292155c467f82f635bdcb223c 100644 (file)
@@ -35,8 +35,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 5292c70dbbb4ba6cccfbbf956bd2e755ed53168f..cdfeaff39ffc2859d1a043f597a83c0d8d9146cc 100644 (file)
@@ -38,8 +38,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index b57c008ef37757ff98592766044d44be641bba1c..98c560921171a56f0ed833810e6b50c371c30cf8 100644 (file)
@@ -44,7 +44,6 @@
 
        keys {
                compatible = "gpio-keys";
-               poll-interval = <20>;
 
                reset {
                        label = "reset";
index 2d7d3e83868792cdcdd083fa34cd4ff53f948002..ff9a9ee1a35fe34b6e6e9d32a3d06c9128cff913 100644 (file)
@@ -44,7 +44,6 @@
 
        keys {
                compatible = "gpio-keys";
-               poll-interval = <20>;
 
                reset {
                        label = "reset";
index ad6ed7fc4362f622e3c19a7165ae5c4670cb9a3f..a165c207421ccf14560c19df2a17f65fc5c2a935 100644 (file)
@@ -27,8 +27,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 232c0c3f18491e51a0a593a13680db20dd8bc736..1b99f8147c21b4e7b0530a3f5baad00714faa509 100644 (file)
@@ -65,8 +65,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                power {
                        label = "power";
index 3f20002fea4585c58fde7fd3cc1bec3fac849d95..36bcd15e4893346c7df8ca15f5947c73922d64e7 100644 (file)
@@ -65,8 +65,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                power {
                        label = "power";
index 39c16a569ff50598d3c8f0676da3ab6cf01eccda..896d9f603775ba754b0f02330ee0cb8c93b6f76c 100644 (file)
@@ -63,8 +63,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 3eb0fac46e2b731d25b09e9bb662526b070e4f70..fd598de4bb6ae03e5009d31c9c8df99fcd9d8afc 100644 (file)
@@ -63,8 +63,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 13b1dc0519c2c5fd267a6e0befc1c7009412d25c..f189365bad09395f1bd1a9d40c542c77b9d125bf 100644 (file)
@@ -46,8 +46,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index cf5c9a2d24fa62c116af070512237a2e6e47eba6..3d0b72652686eb84f8345d601de93519a11fb8be 100644 (file)
@@ -56,8 +56,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 9ab8df66317fee9eaa5ada1346e02ce83cc21149..1776db8fc0d823a1786d0299e9a3443afa6a452c 100644 (file)
@@ -43,8 +43,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 09b6fc5bf58a4c2b230e2c7ea70554b27466ffa9..773cf82e36e76d7a499df797e1962d9952687d1d 100644 (file)
@@ -30,8 +30,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 12becc2b1d08e233affb2697832003df6ee76355..b7ddc51fb6f543b7c491ee3aa3e3d99056bd0f0c 100644 (file)
@@ -31,8 +31,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 0d951e98c4dabc695b16e963be127bd9ad74d047..c7a6105903ba001adc4b22be50f3a1221c21b0c8 100644 (file)
@@ -21,8 +21,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 17e7121234d32e5a5f29bb1b6623bf926f872a46..bd3411b6142a03ec5e2006f9a23d0ea1507c45d9 100644 (file)
@@ -21,8 +21,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 598d33035fddfa774241ac2ced903884dce34de6..1d0471fd3787151c8d77446af804c166dd669594 100644 (file)
@@ -35,8 +35,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 2449112baf1bfb01df10e8af30dcee005d2d7a40..40e11014d753b689327f8d0a4cd46a0cbe1c4c55 100644 (file)
@@ -35,8 +35,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 020f78aba67ab5de8a910d28745606c3651755de..1e692ea3cbe0a695e8d39f92c5b41c57d1a1b654 100644 (file)
@@ -35,8 +35,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 1ab3390093d6df30e1cec0cc18d2694d011a1665..7403a8760fb1ad705eaf23ae2ecbba2c63550438 100644 (file)
@@ -42,8 +42,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index c7705bdb5e4c06c0a39dab71726e7d9adebc0b19..a7f1fdd262379f745925e4ace1622cb5234a7545 100644 (file)
@@ -35,8 +35,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 0b39fa240af1e0cff058d08ce65ef25a4b824a58..b164ed2c701f78e73f0cf236e039e117d4398c79 100644 (file)
@@ -37,8 +37,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                mode {
                        label = "mode";
index 700997413ba4778406627be28b8cf5cc7fe4f460..f13a779600b7d7afeca3772c9dd865c726ac2bce 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 a9b5ee87a69b11ec073816ca6734e5aeec363d5d..45b2182ded931685050fc522035d10dc37d7b89b 100644 (file)
@@ -30,8 +30,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                res {
                        label = "res";
index 803b35f8c2db3df2748f1cc21a9d1f026e72f050..6d13ac1479c9a6c5736ecf5c729d18d23a9c8a34 100644 (file)
@@ -26,8 +26,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 81caed91043fb2385938cf059a71da201183adfe..fb3efe6d72bdd5f91941baacccb6a339bc599e81 100644 (file)
@@ -48,8 +48,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 4798a99c619a14a56c2d28631f4a2cfb45535c2d..fc8a68a1359f4aa2fa3f096d8c42ba2c8b19911a 100644 (file)
@@ -73,8 +73,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 44dec9ef85ac1d418400230d6f619085700fc4f7..1d64c6741ee3b8a16ad8b83eae4855915f1c581c 100644 (file)
@@ -49,8 +49,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 487d92d9c66f974ca120a7f182a9861c4866b28c..50f9592e2c7d1d29119d2ebb8fd1a4636b62ba72 100644 (file)
@@ -37,8 +37,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index a2bac13c7ba49802a623940dc53727e0d39b383f..909df622f451820a516306fab2d60e00acf78af8 100644 (file)
@@ -40,8 +40,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index f0116944b1315b199bdf1a5e0050179b6caee313..3d8d34648862cd6f58824a0048b350e4f067f0c9 100644 (file)
@@ -30,8 +30,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 0319f05351e8f6141ff43821b6100348b29deb15..84cc4541e96804e2b71beda335ef226f9f39a32c 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 38ae614ed1265abae783cfba6f17b5b1c9d82fbe..4194154f07650497a72117e27e28b5357142d810 100644 (file)
@@ -25,8 +25,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index abba2ea8b1cd4ae06089af8f58ea086e0b4acce6..9e8f9f75ed719177d09fa0e556bba028dae0379c 100644 (file)
@@ -23,8 +23,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 23f972406dca2e170c258de244284ba6f0ebbec9..4ff845543d57c71b4525d586bb8ab37504b45c05 100644 (file)
@@ -35,8 +35,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 54ba2031702fac65a4263a7d07082ad776e0f3c7..7859f611eed1efe69f005e2ab237575dc5517c5a 100644 (file)
@@ -60,8 +60,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                led {
                        label = "led";
index b8de4113e267589f35cb43d4517d3bded12217ce..d03c3256e6b4e18f38f2b7f85748686d4653da70 100644 (file)
@@ -15,8 +15,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 301edfe680467709553a78615fbd5683d6248c4b..5bd7f0b92d4c8fcbd82da28435baa66d9d24fc45 100644 (file)
@@ -63,8 +63,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 63cff0c10d886bb56d3817d859cdd0af5e0cecd1..4e6cccaa7621314a45433d813f3c64e0120cc4c6 100644 (file)
@@ -11,8 +11,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index fe1ab3122d4da952e37d75e54f8281552c9f87c5..5044890d6c61179ee3c837682a656f13e5bffa26 100644 (file)
@@ -55,8 +55,7 @@
        };
 
        button {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 34efb1f6d46ebe60d264c5b238bb30d33e2ff7f2..f36a920b6b6957bf7844106b9027a9fbe059e1a0 100644 (file)
@@ -61,8 +61,7 @@
        };
 
        button {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 73bfd6a4f0fc418ee9e464fee90fc9326074a709..f33a6fce4395805a03cdd4ca2062ee2600d6a929 100644 (file)
@@ -54,8 +54,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index af397490a129b5d7fe443911fba71b5259e93eb1..7f7d5cb2764116144cb4203cd4e276f8c3ad17cf 100644 (file)
@@ -40,8 +40,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index dc5599302a4036857a5f7268af404122dff30bad..3a9794da02e06f06e90f46a7cc00db40f189df9a 100644 (file)
@@ -44,8 +44,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index d7c48c6d9ff3eff88e3dbedfb5fa24554af8dd8e..9d4ab65d3f0604b9afdad390031385f687b3b524 100644 (file)
@@ -18,8 +18,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index b1d3e4e81252f00aae93fd4cd4466275c70ba7e7..9ee88d96489226033778ebc4a863c78097b52717 100644 (file)
@@ -20,8 +20,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 1a2a89a31e86b787efbed6180c74d12c676ba3dd..d1cf30880adfa011cb1896d4e134ee696a6f2c17 100644 (file)
@@ -27,8 +27,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index a2ab252b7e5d1fb73ab61fd8ed7e55abd6579ed0..f1b126ad15f9aad225c1704c902b7dbd7ee90292 100644 (file)
@@ -25,8 +25,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index c03f060b2d5d824d7c18219b3941aadf78e01d51..ffb8dbac628cc71221bde63c67a91a5d17e25ddd 100644 (file)
@@ -53,8 +53,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 602ea8c5dec91230b52bf069e4dd881f129a1eb5..2c878ff8a2ef486a5f74ac96cd4fd3ee362e8f04 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                aoss {
                        label = "aoss";
index 613edf6cf4b6f903dec2b997da84fb34452ae43e..aa3f01e68ed9335f03bc3f6b685ec7696c6a4395 100644 (file)
@@ -18,8 +18,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 6b3855ff0924acdc943777c25b6fd704c0eeadb0..cef92c5bf8b42b7ab5e97cff98e91af2728a365c 100644 (file)
@@ -42,8 +42,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 1060f857bf16d5ecc4f4d10eefc1e31cd727daa2..20d3bd83b822340e32bc10f490ed1516b66c4252 100644 (file)
@@ -10,8 +10,7 @@
        model = "DuZun DM06";
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <100>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 785088b633ae1b66888bd0835a53d90e036f72e0..48dcfc0e5c77dcf73a803d57f018f98124c93e51 100644 (file)
@@ -42,8 +42,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 1d2ba8b7b0480845486a29294b7394811c9ea62d..b2e82c64b51d71deecd3fb47d35d08e7e974017e 100644 (file)
@@ -38,8 +38,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 41a140e269b4e569318afc4e8f7f4f5b9e11adf2..f31e129e9e06ff3571227bc427c3976a5c4eb14f 100644 (file)
@@ -15,8 +15,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index b29a815529f8df4d8bf61c376a3c9036bb9f717c..d4eadf68ee7c48208a9817b6604f4978e8e0621b 100644 (file)
@@ -40,8 +40,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "reset";
index 82adae13dbdc78876b59aa2d447456815468281d..715f4d1ff74b3fd9f07522ee49eecd7a263439d8 100644 (file)
@@ -22,6 +22,7 @@
 
        leds {
                compatible = "gpio-leds";
+
                led_status: status {
                        label = "mac1200rv2:green:status";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
index 9f1ea1d68ab8b9425495ea2bebe7474bc981a4bd..e27406aed44f9545e1ad6129a82e4d0ea82df88f 100644 (file)
@@ -18,8 +18,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index e36602d6c9adf737f3fb31e43f0dc1f86cb3b648..8b761d7814b53d8e7bab2eded7c304954a16c223 100644 (file)
@@ -26,8 +26,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 41fd5f2135295978ad43810fbd28720c5f224096..b33b27e80d390e36816dda3924a5454902e9af6d 100644 (file)
@@ -34,8 +34,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index b4d5595a697a6e3eca78da29fdc720ec10f18e6f..2a906c26690e6e2f927a17bf37a870e44530c63d 100644 (file)
@@ -29,8 +29,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index c2aac3edf42d58c96f153af71134309d88cc33ca..4a712e917ab2a0ed30f2bfdd8cabf1a1539f9c7c 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 641e5089a54fedf6929b580441863c8c87791311..91401b5a32f15cf2070a8c7528af1851975c9da6 100644 (file)
@@ -56,8 +56,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 3da61288974a9c614dfc6b471d173fc8db8aa1f9..2f0576f2fde25dc1e0dcba2c16d9f876b82e5cba 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 30132b4c8502dca7b83c54f8e12eb6a338c230b6..197773db0782bab6af9372413b474396a584704d 100644 (file)
@@ -18,8 +18,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index d1b5dd49dcb4d825b9b090e9cd1e2f7c319d67dc..84fe3224b6c1633a895c198c92014b275a2053f0 100644 (file)
@@ -21,8 +21,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "wps";
index 9573b86dcc4380fc3e196b17344dc95d22d41613..2bc4fac5087fbbd0256dd8960f5b957edcb62521 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 684ce32de40435307ff701e49def944269a79d72..0336730a4b15c950bfcefd3aa1e0deb2af80f189 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 6460ede251d446eb42af7c9d57f61f44797c36b2..5e97733d0ea4b70d16bd721ae96a2531a84ee90e 100644 (file)
@@ -18,8 +18,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 8d379cffd4d24ff0f9d34af437cbebe3597e3679..32d4cdf4ebe6bbb939f366764a359c216e7a5bab 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index eb00d11273bf3aae450cc1de23cef1038b1872a8..17b8ff4d0ff09d70a92534e652e443428c8c87c3 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 1af6354d1afceb9684d09d6158fdf2b93603fbce..5bfabe4bdc0a5ffae5f1faa10936c5382556b832 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index c19db91620e76ca71f3bc2d6bfb4acb4e710e0e1..554300c972491feed5c24c7e17dc8c7b4d6d686c 100644 (file)
@@ -23,8 +23,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 7b8b258655d2e52d1df3e1a788727c142df4f807..648e64766fddd9487cc21fa31e2506b5ee5e8008 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 0e31d410615544bf42880a15b030ea28031ce951..33449d9651029e0c507731e683e01a0c74a7a6c1 100644 (file)
@@ -17,8 +17,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 03da1f88f21056373335597516a5f9efab56bff6..ab6bd6bf00b18abeab1ab98dd787b824824170dc 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 21659644d1cce2adfaddd4a66599b710e3bc0e9c..fa59a8b1055b927819cbd47b2cc7a9dd6617a627 100644 (file)
@@ -13,8 +13,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 7a71740bcc1de7d9b0f7f02b214853135705e77f..0aed99c459f98d0147f0e02361cca592c02802db 100644 (file)
@@ -13,8 +13,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index eabb5c69b4cdd326eeda7f6a7974baca698f4243..5457ca85cfbd8b0672bce755503b683b2dff8456 100644 (file)
@@ -28,8 +28,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                wps {
                        label = "reset";
index 1ddd8190a8da445c39fce74c0da43cb4c2576625..b5da84c9f80b8727debe712d62de57854cdf745e 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 b8fa634e509315ddf5f8380367735372c040a635..206da8b16886d76f9c3af41d24f340f1f00af90e 100644 (file)
@@ -11,8 +11,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index bdca8d95ad3123d4e56f2c88e6d96a9acaa0ac7b..2de28041e4cffa0e5a95cebaac6923e982d56b3d 100644 (file)
@@ -36,8 +36,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 347ce6489c42cf1aa95244820914c49114955791..8b2a3d6c9d0e0966b691f57c2695411d56a8631d 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 cd7a33e7b55604177401bcc96b5c1f09718bde17..b89e6895081f3be2571d4fe97153b0cf5b0cac83 100644 (file)
@@ -20,8 +20,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";
index 1d083ed8bb0596de1c8b954c73c5273a4fd3993f..644882c6a2edc31ffb480859c751195397f06029 100644 (file)
@@ -21,8 +21,7 @@
        };
 
        keys {
-               compatible = "gpio-keys-polled";
-               poll-interval = <20>;
+               compatible = "gpio-keys";
 
                reset {
                        label = "reset";