ramips: remove model name from LED labels
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 27 Sep 2020 17:40:51 +0000 (19:40 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Fri, 2 Oct 2020 12:51:57 +0000 (14:51 +0200)
Like in the previous patch for ath79 target, this will remove the
"devicename" from LED labels in ramips as well.

The devicename is removed in DTS files and 01_leds, consolidation
of definitions into DTSI files is done where (easily) possible,
and migration scripts are updated.

For the latter, all existing definitions were actually just
devicename migrations anyway. Therefore, those are removed and
a common migration file is created in target base-files. This is
actually another example of how the devicename removal makes things
easier.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
379 files changed:
target/linux/ramips/base-files/etc/uci-defaults/04_led_migration [new file with mode: 0644]
target/linux/ramips/dts/mt7620a_aigale_ai-br100.dts
target/linux/ramips/dts/mt7620a_alfa-network_ac1200rm.dts
target/linux/ramips/dts/mt7620a_alfa-network_r36m-e4g.dts
target/linux/ramips/dts/mt7620a_alfa-network_tube-e4g.dts
target/linux/ramips/dts/mt7620a_asus_rp-n53.dts
target/linux/ramips/dts/mt7620a_asus_rt-ac51u.dts
target/linux/ramips/dts/mt7620a_asus_rt-ac54u.dts
target/linux/ramips/dts/mt7620a_asus_rt-ac5x.dtsi
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_cameo_810.dtsi
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_dlink_dwr-960.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-7476rpc.dts
target/linux/ramips/dts/mt7620a_edimax_ew-7478ac.dts
target/linux/ramips/dts/mt7620a_edimax_ew-7478apc.dts
target/linux/ramips/dts/mt7620a_edimax_ew-747x.dtsi
target/linux/ramips/dts/mt7620a_engenius_esr600.dts
target/linux/ramips/dts/mt7620a_fon_fon2601.dts
target/linux/ramips/dts/mt7620a_head-weblink_hdrm200.dts
target/linux/ramips/dts/mt7620a_hiwifi_hc5661.dts
target/linux/ramips/dts/mt7620a_hiwifi_hc5761.dts
target/linux/ramips/dts/mt7620a_hiwifi_hc5861.dts
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_iptime_a1004ns.dts
target/linux/ramips/dts/mt7620a_iptime_a104ns.dts
target/linux/ramips/dts/mt7620a_kimax_u25awf-h1.dts
target/linux/ramips/dts/mt7620a_lava_lr-25g001.dts
target/linux/ramips/dts/mt7620a_lb-link_bl-w1200.dts
target/linux/ramips/dts/mt7620a_lenovo_newifi-y1.dts
target/linux/ramips/dts/mt7620a_lenovo_newifi-y1s.dts
target/linux/ramips/dts/mt7620a_linksys_e1700.dts
target/linux/ramips/dts/mt7620a_netgear_ex2700.dts
target/linux/ramips/dts/mt7620a_netgear_ex3700.dts
target/linux/ramips/dts/mt7620a_netgear_ex3x00_ex61xx.dtsi
target/linux/ramips/dts/mt7620a_netgear_ex6120.dts
target/linux/ramips/dts/mt7620a_netgear_ex6130.dts
target/linux/ramips/dts/mt7620a_netgear_wn3000rp-v3.dts
target/linux/ramips/dts/mt7620a_netis_wf2770.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_sanlinking_d240.dts
target/linux/ramips/dts/mt7620a_sercomm_na930.dts
target/linux/ramips/dts/mt7620a_tplink_archer-c2-v1.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_tplink_archer-mr200.dts
target/linux/ramips/dts/mt7620a_tplink_re200-v1.dts
target/linux/ramips/dts/mt7620a_tplink_re210-v1.dts
target/linux/ramips/dts/mt7620a_trendnet_tew-810dr.dts
target/linux/ramips/dts/mt7620a_xiaomi_miwifi-mini.dts
target/linux/ramips/dts/mt7620a_youku_yk1.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-we1026-h.dtsi
target/linux/ramips/dts/mt7620a_zbtlink_zbt-we826-e.dts
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_hootoo_ht-tm05.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_netgear_jwnr2010-v5.dts
target/linux/ramips/dts/mt7620n_nexx_wt3020.dtsi
target/linux/ramips/dts/mt7620n_ravpower_rp-wd03.dts
target/linux/ramips/dts/mt7620n_vonets_var11n-300.dts
target/linux/ramips/dts/mt7620n_wrtnode_wrtnode.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_adslr_g7.dts
target/linux/ramips/dts/mt7621_afoundry_ew1200.dts
target/linux/ramips/dts/mt7621_alfa-network_quad-e4g.dts
target/linux/ramips/dts/mt7621_asiarf_ap7621.dtsi
target/linux/ramips/dts/mt7621_asus_rt-ac57u.dts
target/linux/ramips/dts/mt7621_asus_rt-ac65p.dts
target/linux/ramips/dts/mt7621_asus_rt-ac85p.dts
target/linux/ramips/dts/mt7621_asus_rt-acx5p.dtsi
target/linux/ramips/dts/mt7621_buffalo_wsr-1166dhp.dts
target/linux/ramips/dts/mt7621_buffalo_wsr-2533dhpl.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-1960-a1.dts
target/linux/ramips/dts/mt7621_dlink_dir-2660-a1.dts
target/linux/ramips/dts/mt7621_dlink_dir-860l-b1.dts
target/linux/ramips/dts/mt7621_dlink_dir-867-a1.dts
target/linux/ramips/dts/mt7621_dlink_dir-878-a1.dts
target/linux/ramips/dts/mt7621_dlink_dir-882-a1.dts
target/linux/ramips/dts/mt7621_dlink_dir-8xx-a1.dtsi
target/linux/ramips/dts/mt7621_dlink_dir-xx60-a1.dtsi
target/linux/ramips/dts/mt7621_edimax_ra21s.dts
target/linux/ramips/dts/mt7621_edimax_re23s.dts
target/linux/ramips/dts/mt7621_edimax_rg21s.dts
target/linux/ramips/dts/mt7621_edimax_rx21s.dtsi
target/linux/ramips/dts/mt7621_elecom_wrc-1167ghbk2-s.dts
target/linux/ramips/dts/mt7621_elecom_wrc-gs.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_iodata_wn-xx-xr.dtsi
target/linux/ramips/dts/mt7621_iodata_wnpr2600g.dts
target/linux/ramips/dts/mt7621_iptime_a6ns-m.dts
target/linux/ramips/dts/mt7621_iptime_a8004t.dts
target/linux/ramips/dts/mt7621_jcg_jhr-ac876m.dts
target/linux/ramips/dts/mt7621_lenovo_newifi-d1.dts
target/linux/ramips/dts/mt7621_linksys_ea7300-v1.dts
target/linux/ramips/dts/mt7621_linksys_ea7300-v2.dts
target/linux/ramips/dts/mt7621_linksys_ea7500-v2.dts
target/linux/ramips/dts/mt7621_linksys_ea7xxx.dtsi
target/linux/ramips/dts/mt7621_linksys_re6500.dts
target/linux/ramips/dts/mt7621_mikrotik_routerboard-750gr3.dts
target/linux/ramips/dts/mt7621_mikrotik_routerboard-760igs.dts
target/linux/ramips/dts/mt7621_mikrotik_routerboard-m11g.dts
target/linux/ramips/dts/mt7621_mikrotik_routerboard-m33g.dts
target/linux/ramips/dts/mt7621_mtc_wr1201.dts
target/linux/ramips/dts/mt7621_netgear_ex6150.dts
target/linux/ramips/dts/mt7621_netgear_r6220.dts
target/linux/ramips/dts/mt7621_netgear_r6260.dts
target/linux/ramips/dts/mt7621_netgear_r6350.dts
target/linux/ramips/dts/mt7621_netgear_r6700-v2.dts
target/linux/ramips/dts/mt7621_netgear_r6800.dts
target/linux/ramips/dts/mt7621_netgear_r6850.dts
target/linux/ramips/dts/mt7621_netgear_sercomm_ayx.dtsi
target/linux/ramips/dts/mt7621_netgear_sercomm_bzv.dtsi
target/linux/ramips/dts/mt7621_netgear_sercomm_chj.dtsi
target/linux/ramips/dts/mt7621_netgear_wac104.dts
target/linux/ramips/dts/mt7621_netgear_wac124.dts
target/linux/ramips/dts/mt7621_netgear_wndr3700-v5.dts
target/linux/ramips/dts/mt7621_netis_wf2881.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_totolink_a7000r.dts
target/linux/ramips/dts/mt7621_tplink_re350-v1.dts
target/linux/ramips/dts/mt7621_tplink_re500-v1.dts
target/linux/ramips/dts/mt7621_tplink_re650-v1.dts
target/linux/ramips/dts/mt7621_tplink_rexx0-v1.dtsi
target/linux/ramips/dts/mt7621_ubnt_unifi-nanohd.dts
target/linux/ramips/dts/mt7621_unielec_u7621-06.dtsi
target/linux/ramips/dts/mt7621_wavlink_wl-wn531a6.dts
target/linux/ramips/dts/mt7621_wevo_11acnas.dts
target/linux/ramips/dts/mt7621_wevo_w2914ns-v2.dts
target/linux/ramips/dts/mt7621_winstars_ws-wn583a6.dts
target/linux/ramips/dts/mt7621_xiaomi_mi-router-ac2100.dts
target/linux/ramips/dts/mt7621_xiaomi_mir3g-v2.dts
target/linux/ramips/dts/mt7621_xiaomi_mir3g.dts
target/linux/ramips/dts/mt7621_xiaomi_mir3p.dts
target/linux/ramips/dts/mt7621_xiaomi_redmi-router-ac2100.dts
target/linux/ramips/dts/mt7621_xiaoyu_xy-c5.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-wg2626.dts
target/linux/ramips/dts/mt7621_zbtlink_zbt-wg3526.dtsi
target/linux/ramips/dts/mt7621_zio_freezio.dts
target/linux/ramips/dts/mt7621_zyxel_wap6805.dts
target/linux/ramips/dts/mt7628an_alfa-network_awusfree1.dts
target/linux/ramips/dts/mt7628an_asus_rt-n10p-v3.dts
target/linux/ramips/dts/mt7628an_asus_rt-n11p-b1.dts
target/linux/ramips/dts/mt7628an_asus_rt-n12-vp-b1.dts
target/linux/ramips/dts/mt7628an_asus_rt-n1x.dtsi
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_glinet_gl-mt300n-v2.dts
target/linux/ramips/dts/mt7628an_glinet_microuter-n300.dts
target/linux/ramips/dts/mt7628an_glinet_vixmini.dts
target/linux/ramips/dts/mt7628an_glinet_vixmini_microuter.dtsi
target/linux/ramips/dts/mt7628an_hilink_hlk-7628n.dts
target/linux/ramips/dts/mt7628an_hiwifi_hc5661a.dts
target/linux/ramips/dts/mt7628an_hiwifi_hc5761a.dts
target/linux/ramips/dts/mt7628an_hiwifi_hc5861b.dts
target/linux/ramips/dts/mt7628an_iptime_a3.dts
target/linux/ramips/dts/mt7628an_iptime_a604m.dts
target/linux/ramips/dts/mt7628an_jotale_js76x8.dtsi
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_r6020.dts
target/linux/ramips/dts/mt7628an_netgear_r6080.dts
target/linux/ramips/dts/mt7628an_netgear_r6120.dts
target/linux/ramips/dts/mt7628an_netgear_r6xxx.dtsi
target/linux/ramips/dts/mt7628an_onion_omega2.dts
target/linux/ramips/dts/mt7628an_onion_omega2.dtsi
target/linux/ramips/dts/mt7628an_onion_omega2p.dts
target/linux/ramips/dts/mt7628an_rakwireless_rak633.dts
target/linux/ramips/dts/mt7628an_ravpower_rp-wd009.dts
target/linux/ramips/dts/mt7628an_skylab_skw92a.dts
target/linux/ramips/dts/mt7628an_tama_w06.dts
target/linux/ramips/dts/mt7628an_totolink_a3.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-c20-v5.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_re200-v2.dts
target/linux/ramips/dts/mt7628an_tplink_re200-v3.dts
target/linux/ramips/dts/mt7628an_tplink_re200.dtsi
target/linux/ramips/dts/mt7628an_tplink_re220-v2.dts
target/linux/ramips/dts/mt7628an_tplink_re305-v1.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-wr850n-v2.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_vocore_vocore2-lite.dts
target/linux/ramips/dts/mt7628an_vocore_vocore2.dts
target/linux/ramips/dts/mt7628an_wavlink_wl-wn570ha1.dts
target/linux/ramips/dts/mt7628an_wavlink_wl-wn575a3.dts
target/linux/ramips/dts/mt7628an_wavlink_wl-wn577a2.dts
target/linux/ramips/dts/mt7628an_widora_neo.dtsi
target/linux/ramips/dts/mt7628an_wiznet_wizfi630s.dts
target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2p.dts
target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2r.dts
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
target/linux/ramips/dts/rt2880_airlink101_ar670w.dts
target/linux/ramips/dts/rt2880_airlink101_ar725w.dts
target/linux/ramips/dts/rt2880_asus_rt-n15.dts
target/linux/ramips/dts/rt2880_belkin_f5d8235-v1.dts
target/linux/ramips/dts/rt2880_buffalo_wli-tx4-ag300n.dts
target/linux/ramips/dts/rt2880_buffalo_wzr-agl300nh.dts
target/linux/ramips/dts/rt2880_dlink_dap-1522-a1.dts
target/linux/ramips/dts/rt2880_ralink_v11st-fe.dts
target/linux/ramips/dts/rt3050_allnet_all0256n.dtsi
target/linux/ramips/dts/rt3050_alphanetworks_asl26555.dtsi
target/linux/ramips/dts/rt3050_arcwireless_freestation5.dts
target/linux/ramips/dts/rt3050_asus_rt-n10-plus.dts
target/linux/ramips/dts/rt3050_asus_wl-330n.dts
target/linux/ramips/dts/rt3050_asus_wl-330n3g.dts
target/linux/ramips/dts/rt3050_dlink_dcs-930.dts
target/linux/ramips/dts/rt3050_dlink_dir-300-b1.dts
target/linux/ramips/dts/rt3050_dlink_dir-600-b1.dts
target/linux/ramips/dts/rt3050_dlink_dir-615-d.dts
target/linux/ramips/dts/rt3050_dlink_dir-620-a1.dts
target/linux/ramips/dts/rt3050_edimax_3g-6200n.dts
target/linux/ramips/dts/rt3050_edimax_3g-6200nl.dts
target/linux/ramips/dts/rt3050_huawei_d105.dts
target/linux/ramips/dts/rt3050_jcg_jhr-n805r.dts
target/linux/ramips/dts/rt3050_netcore_nw718.dts
target/linux/ramips/dts/rt3050_sparklan_wcr-150gn.dts
target/linux/ramips/dts/rt3050_teltonika_rut5xx.dts
target/linux/ramips/dts/rt3050_tenda_w150m.dts
target/linux/ramips/dts/rt3050_trendnet_tew-638apb-v2.dts
target/linux/ramips/dts/rt3052_accton_wr6202.dts
target/linux/ramips/dts/rt3052_alfa-network_w502u.dts
target/linux/ramips/dts/rt3052_argus_atp-52b.dts
target/linux/ramips/dts/rt3052_asiarf_awapn2403.dts
target/linux/ramips/dts/rt3052_asus_rt-n13u.dts
target/linux/ramips/dts/rt3052_aximcom_mr-102n.dts
target/linux/ramips/dts/rt3052_aztech_hw550-3g.dts
target/linux/ramips/dts/rt3052_belkin_f5d8235-v2.dts
target/linux/ramips/dts/rt3052_buffalo_whr-g300n.dts
target/linux/ramips/dts/rt3052_dlink_dap-1350.dts
target/linux/ramips/dts/rt3052_engenius_esr-9753.dts
target/linux/ramips/dts/rt3052_fon_fonera-20n.dts
target/linux/ramips/dts/rt3052_hauppauge_broadway.dts
target/linux/ramips/dts/rt3052_huawei_hg255d.dts
target/linux/ramips/dts/rt3052_jcg_jhr-n825r.dts
target/linux/ramips/dts/rt3052_jcg_jhr-n926r.dts
target/linux/ramips/dts/rt3052_mofinetwork_mofi3500-3gn.dts
target/linux/ramips/dts/rt3052_netgear_wnce2001.dts
target/linux/ramips/dts/rt3052_nexaira_bc2.dts
target/linux/ramips/dts/rt3052_omnima_miniembwifi.dts
target/linux/ramips/dts/rt3052_petatel_psr-680w.dts
target/linux/ramips/dts/rt3052_planex_mzk-w300nh2.dts
target/linux/ramips/dts/rt3052_poray_ip2202.dts
target/linux/ramips/dts/rt3052_prolink_pwh2004.dts
target/linux/ramips/dts/rt3052_ralink_v22rw-2x2.dts
target/linux/ramips/dts/rt3052_sitecom_wl-351.dts
target/linux/ramips/dts/rt3052_skyline_sl-r7205.dts
target/linux/ramips/dts/rt3052_tenda_3g300m.dts
target/linux/ramips/dts/rt3052_tenda_w306r-v2.dts
target/linux/ramips/dts/rt3052_unbranded_wr512-3gn.dtsi
target/linux/ramips/dts/rt3052_unbranded_xdx-rn502j.dts
target/linux/ramips/dts/rt3052_upvel_ur-326n4g.dts
target/linux/ramips/dts/rt3052_upvel_ur-336un.dts
target/linux/ramips/dts/rt3052_zyxel_keenetic.dts
target/linux/ramips/dts/rt3052_zyxel_nbg-419n.dts
target/linux/ramips/dts/rt3352_allnet_all5002.dts
target/linux/ramips/dts/rt3352_dlink_dir-615-h1.dts
target/linux/ramips/dts/rt3352_dlink_dir-620-d1.dts
target/linux/ramips/dts/rt3352_zyxel_nbg-419n-v2.dts
target/linux/ramips/dts/rt3662_asus_rt-n56u.dts
target/linux/ramips/dts/rt3662_dlink_dir-645.dts
target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts
target/linux/ramips/dts/rt3662_omnima_hpm.dts
target/linux/ramips/dts/rt3662_samsung_cy-swr1100.dts
target/linux/ramips/dts/rt3883_belkin_f9k1109v1.dts
target/linux/ramips/dts/rt3883_sitecom_wlr-6000.dts
target/linux/ramips/dts/rt3883_trendnet_tew-691gr.dts
target/linux/ramips/dts/rt3883_trendnet_tew-692gr.dts
target/linux/ramips/dts/rt5350_7links_px-4885.dtsi
target/linux/ramips/dts/rt5350_airlive_air3gii.dts
target/linux/ramips/dts/rt5350_allnet_all5003.dts
target/linux/ramips/dts/rt5350_asiarf_awm002-evb.dtsi
target/linux/ramips/dts/rt5350_belkin_f7c027.dts
target/linux/ramips/dts/rt5350_dlink_dcs-930l-b1.dts
target/linux/ramips/dts/rt5350_dlink_dir-300-b7.dts
target/linux/ramips/dts/rt5350_dlink_dir-320-b1.dts
target/linux/ramips/dts/rt5350_dlink_dir-610-a1.dts
target/linux/ramips/dts/rt5350_dlink_dwr-512-b.dts
target/linux/ramips/dts/rt5350_hame_mpr-a1.dts
target/linux/ramips/dts/rt5350_hame_mpr-a2.dts
target/linux/ramips/dts/rt5350_hootoo_ht-tm02.dts
target/linux/ramips/dts/rt5350_intenso_memory2move.dts
target/linux/ramips/dts/rt5350_omnima_miniembplug.dts
target/linux/ramips/dts/rt5350_planex_mzk-dp150n.dts
target/linux/ramips/dts/rt5350_poray_m3.dts
target/linux/ramips/dts/rt5350_poray_m4.dtsi
target/linux/ramips/dts/rt5350_poray_x5.dts
target/linux/ramips/dts/rt5350_poray_x8.dts
target/linux/ramips/dts/rt5350_tenda_3g150b.dts
target/linux/ramips/dts/rt5350_trendnet_tew-714tru.dts
target/linux/ramips/dts/rt5350_unbranded_a5-v11.dts
target/linux/ramips/dts/rt5350_vocore_vocore.dtsi
target/linux/ramips/dts/rt5350_wiznet_wizfi630a.dts
target/linux/ramips/dts/rt5350_zorlik_zl5900v2.dts
target/linux/ramips/dts/rt5350_zyxel_keenetic-lite-b.dts
target/linux/ramips/dts/rt5350_zyxel_keenetic-start.dts
target/linux/ramips/mt7620/base-files/etc/board.d/01_leds
target/linux/ramips/mt7620/base-files/etc/uci-defaults/04_led_migration [deleted file]
target/linux/ramips/mt7621/base-files/etc/board.d/01_leds
target/linux/ramips/mt7621/base-files/etc/uci-defaults/04_led_migration [deleted file]
target/linux/ramips/mt76x8/base-files/etc/board.d/01_leds
target/linux/ramips/mt76x8/base-files/etc/uci-defaults/04_led_migration [deleted file]
target/linux/ramips/rt288x/base-files/etc/board.d/01_leds
target/linux/ramips/rt305x/base-files/etc/board.d/01_leds
target/linux/ramips/rt305x/base-files/etc/uci-defaults/04_led_migration [deleted file]
target/linux/ramips/rt3883/base-files/etc/board.d/01_leds

diff --git a/target/linux/ramips/base-files/etc/uci-defaults/04_led_migration b/target/linux/ramips/base-files/etc/uci-defaults/04_led_migration
new file mode 100644 (file)
index 0000000..161b79d
--- /dev/null
@@ -0,0 +1,8 @@
+. /lib/functions.sh
+. /lib/functions/migrations.sh
+
+remove_devicename_leds "rt2800soc-phy0" "rt2800pci-phy0"
+
+migrations_apply system
+
+exit 0
index 66776c2fc63932f35619a59625c30d752bdcbdfa..ba251c265639fc68716aee52b6e051dc54d7cb92 100644 (file)
                compatible = "gpio-leds";
 
                wan {
-                       label = "ai-br100:blue:wan";
+                       label = "blue:wan";
                        gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
                };
 
                led_wlan: wlan {
-                       label = "ai-br100:blue:wlan";
+                       label = "blue:wlan";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
index 8632f5ce0433a1e4d26bab9676dad74916486c16..fe666e482a664652ef2ef7e033c829b893764343 100644 (file)
                compatible = "gpio-leds";
 
                wlan2g {
-                       label = "ac1200rm:green:wlan2g";
+                       label = "green:wlan2g";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
 
                led_wps: wps {
-                       label = "ac1200rm:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
                };
        };
index 366a377440c39313a5625dee5191d6b692b1728f..58386a9ac7f48839eea2678232f62a4f40ced809 100644 (file)
                compatible = "gpio-leds";
 
                4g {
-                       label = "r36m-e4g:orange:4g";
+                       label = "orange:4g";
                        gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
                };
 
                lan {
-                       label = "r36m-e4g:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
                };
 
                led_system: system {
-                       label = "r36m-e4g:green:system";
+                       label = "green:system";
                        gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
                        default-state = "keep";
                };
 
                sim1 {
-                       label = "r36m-e4g:green:sim1";
+                       label = "green:sim1";
                        gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
                        default-state = "keep";
                };
 
                sim2 {
-                       label = "r36m-e4g:green:sim2";
+                       label = "green:sim2";
                        gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
                        default-state = "keep";
                };
 
                wan {
-                       label = "r36m-e4g:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "r36m-e4g:orange:wlan";
+                       label = "orange:wlan";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0radio";
                };
index 2462e13b4733d96b560a916aa6da95bdea004c6d..42047390b0f5a456e00f53da4f1dc4752e6000f4 100644 (file)
                compatible = "gpio-leds";
 
                4g {
-                       label = "tube-e4g:green:4g";
+                       label = "green:4g";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
                lan {
-                       label = "tube-e4g:blue:lan";
+                       label = "blue:lan";
                        gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
                };
 
                power: power {
-                       label = "tube-e4g:green:power";
+                       label = "green:power";
                        gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
                        default-state = "keep";
                };
 
                sim1 {
-                       label = "tube-e4g:green:sim1";
+                       label = "green:sim1";
                        gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
                        default-state = "keep";
                };
 
                sim2 {
-                       label = "tube-e4g:green:sim2";
+                       label = "green:sim2";
                        gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
                        default-state = "keep";
                };
index d58591e950011cfd083882147177837148b43edc..3cb9142c387c3b879e6894051d79fdd0f704e931 100644 (file)
                compatible = "gpio-leds";
 
                backlight {
-                       label = "rp-n53:white:back";
+                       label = "white:back";
                        gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
                };
 
                wifi0 {
-                       label = "rp-n53:blue:5g3";
+                       label = "blue:5g3";
                        gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
                };
 
                wifi1 {
-                       label = "rp-n53:blue:5g2";
+                       label = "blue:5g2";
                        gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
                };
 
                wifi2 {
-                       label = "rp-n53:blue:5g1";
+                       label = "blue:5g1";
                        gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
                };
 
                wifi3 {
-                       label = "rp-n53:blue:wifi";
+                       label = "blue:wifi";
                        gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
                };
 
                wifi4 {
-                       label = "rp-n53:blue:2g1";
+                       label = "blue:2g1";
                        gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
                };
 
                wifi5 {
-                       label = "rp-n53:blue:2g2";
+                       label = "blue:2g2";
                        gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
                };
 
                wifi6 {
-                       label = "rp-n53:blue:2g3";
+                       label = "blue:2g3";
                        gpios = <&gpio1 11 GPIO_ACTIVE_LOW>;
                };
        };
index f517e2c0e2ca02fc3fa63bdb3f66a9280687418e..0710b2557101862bbd97610cb49b33c8b22b77b6 100644 (file)
@@ -3,42 +3,6 @@
 / {
        compatible = "asus,rt-ac51u", "ralink,mt7620a-soc";
        model = "Asus RT-AC51U";
-
-       aliases {
-               led-boot = &led_power;
-               led-failsafe = &led_power;
-               led-running = &led_power;
-               led-upgrade = &led_power;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               led_power: power {
-                       label = "rt-ac51u:blue:power";
-                       gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
-               };
-
-               usb {
-                       label = "rt-ac51u:blue:usb";
-                       gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
-                       trigger-sources = <&ohci_port1>, <&ehci_port1>;
-                       linux,default-trigger = "usbport";
-               };
-
-               wifi2g {
-                       label = "rt-ac51u:blue:wifi2g";
-                       gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy1tpt";
-               };
-       };
-};
-
-&state_default {
-       gpio {
-               groups = "i2c", "wled", "uartf";
-               function = "gpio";
-       };
 };
 
 &pcie0 {
index d0ff5d6d703c8b5e870248a6874b1fd7ef1f61b7..acc60807b6870588eda45629cb89d0d613e2c788 100644 (file)
@@ -5,42 +5,6 @@
 / {
        compatible = "asus,rt-ac54u", "ralink,mt7620a-soc";
        model = "Asus RT-AC54U";
-
-       aliases {
-               led-boot = &led_power;
-               led-failsafe = &led_power;
-               led-running = &led_power;
-               led-upgrade = &led_power;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               led_power: power {
-                       label = "rt-ac54u:blue:power";
-                       gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
-               };
-
-               usb {
-                       label = "rt-ac54u:blue:usb";
-                       gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
-                       trigger-sources = <&ohci_port1>, <&ehci_port1>;
-                       linux,default-trigger = "usbport";
-               };
-
-               wifi2g {
-                       label = "rt-ac54u:blue:wifi2g";
-                       gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy1tpt";
-               };
-       };
-};
-
-&state_default {
-       gpio {
-               groups = "i2c", "wled", "uartf";
-               function = "gpio";
-       };
 };
 
 &pcie0 {
index adec8a1a6fa7ad73a382aae612e002588ece855d..423b4edc6b1fb5c773ef3f0e14fe20e18e860a6f 100644 (file)
@@ -6,6 +6,10 @@
 / {
        aliases {
                label-mac-device = &ethernet;
+               led-boot = &led_power;
+               led-failsafe = &led_power;
+               led-running = &led_power;
+               led-upgrade = &led_power;
        };
 
        keys {
                        linux,code = <KEY_WPS_BUTTON>;
                };
        };
+
+       leds {
+               compatible = "gpio-leds";
+
+               led_power: power {
+                       label = "blue:power";
+                       gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
+               };
+
+               usb {
+                       label = "blue:usb";
+                       gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
+                       trigger-sources = <&ohci_port1>, <&ehci_port1>;
+                       linux,default-trigger = "usbport";
+               };
+
+               wifi2g {
+                       label = "blue:wifi2g";
+                       gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "phy1tpt";
+               };
+       };
 };
 
 &spi0 {
        status = "okay";
 };
 
+&state_default {
+       gpio {
+               groups = "i2c", "wled", "uartf";
+               function = "gpio";
+       };
+};
+
 &ethernet {
        mtd-mac-address = <&factory 0x28>;
 
index f7d2748d2e3329bc13949d596fa919a369bf9c22..07586f692256ae83cc86e3b615bb38471d4d58d5 100644 (file)
                compatible = "gpio-leds";
 
                usb {
-                       label = "wap2100-sk:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                led_power: wps {
-                       label = "wap2100-sk:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g {
-                       label = "wap2100-sk:green:wlan2g";
+                       label = "green:wlan2g";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
index bba0bde86d9771abbea1b482a7579c6c485a031c..196bbde7261e128989dc608b6be2a4d3a40b29c6 100644 (file)
                compatible = "gpio-leds";
 
                power {
-                       label = "whr-1166d:red:power";
+                       label = "red:power";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
                wifi {
-                       label = "whr-1166d:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
 
                led_power_green: power2 {
-                       label = "whr-1166d:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wifi2 {
-                       label = "whr-1166d:orange:wifi";
+                       label = "orange:wifi";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
 
                internet {
-                       label = "whr-1166d:green:internet";
+                       label = "green:internet";
                        gpios = <&gpio2 17 GPIO_ACTIVE_LOW>;
                };
 
                router {
-                       label = "whr-1166d:orange:router";
+                       label = "orange:router";
                        gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
                };
 
                router2 {
-                       label = "whr-1166d:green:router";
+                       label = "green:router";
                        gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
                };
        };
index cd370b989b32cfe563ef7a11b289f53af04847d1..ed2e03d6cfa008f3fef842dd12b2e81c944a1d43 100644 (file)
                compatible = "gpio-leds";
 
                power {
-                       label = "whr-300hp2:red:power";
+                       label = "red:power";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
                wifi {
-                       label = "whr-300hp2:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
 
                led_power_green: power2 {
-                       label = "whr-300hp2:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wifi2 {
-                       label = "whr-300hp2:orange:wifi";
+                       label = "orange:wifi";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
 
                internet {
-                       label = "whr-300hp2:green:internet";
+                       label = "green:internet";
                        gpios = <&gpio2 17 GPIO_ACTIVE_LOW>;
                };
 
                router {
-                       label = "whr-300hp2:green:router";
+                       label = "green:router";
                        gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
                };
 
                router2 {
-                       label = "whr-300hp2:orange:router";
+                       label = "orange:router";
                        gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
                };
        };
index 7579d901d3c5279ac3ec63258de5d75ca44f2427..b799a98e56edcb65ed2e9717f2228e9ac14fb2e0 100644 (file)
                compatible = "gpio-leds";
 
                power {
-                       label = "whr-600d:red:power";
+                       label = "red:power";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
                wifi {
-                       label = "whr-600d:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
 
                led_power_green: power2 {
-                       label = "whr-600d:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wifi2 {
-                       label = "whr-600d:orange:wifi";
+                       label = "orange:wifi";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
 
                internet {
-                       label = "whr-600d:green:internet";
+                       label = "green:internet";
                        gpios = <&gpio2 17 GPIO_ACTIVE_LOW>;
                };
 
                router {
-                       label = "whr-600d:green:router";
+                       label = "green:router";
                        gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
                };
 
                router2 {
-                       label = "whr-600d:orange:router";
+                       label = "orange:router";
                        gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
                };
        };
index adbb4cf65cc3f57ec58ac1391f213558337f1990..3ec31238b4494484cf752ed9ab17d30a98be25ed 100644 (file)
@@ -6,6 +6,14 @@
 #include <dt-bindings/input/input.h>
 
 / {
+       aliases {
+               label-mac-device = &ethernet;
+               led-boot = &led_power_green;
+               led-failsafe = &led_power_green;
+               led-running = &led_power_green;
+               led-upgrade = &led_power_green;
+       };
+
        keys {
                compatible = "gpio-keys";
 
                        linux,code = <KEY_WPS_BUTTON>;
                };
        };
+
+       leds {
+               compatible = "gpio-leds";
+
+               led_power_green: power_green {
+                       label = "green:power";
+                       gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
+               };
+
+               wan_orange {
+                       label = "orange:wan";
+                       gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
+               };
+
+               wan_green {
+                       label = "green:wan";
+                       gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
+               };
+
+               power_orange {
+                       label = "orange:power";
+                       gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
+               };
+       };
 };
 
 &spi0 {
        };
 };
 
+&state_default {
+       gpio {
+               groups = "i2c", "uartf", "ephy";
+               function = "gpio";
+       };
+};
+
 &ethernet {
        mtd-mac-address = <&factory 0x28>;
 
index 5bc5b376c7dd1970d3afb210c1a0a4d094f89c18..bbd193b4ac91956470d495d6dcdd73c8716e5492 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "dch-m225:green:power";
+                       label = "green:power";
                        gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
 
                status {
-                       label = "dch-m225:red:status";
+                       label = "red:status";
                        gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
                };
        };
index 0c0d9c9f33c938187f1e31564a0c1b23ddc8d74c..6ad3f415601c3b3d639466d44a70229278d77cd5 100644 (file)
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "dir-510l:green:status";
+                       label = "green:status";
                        gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
                };
 
                status-red {
-                       label = "dir-510l:red:status";
+                       label = "red:status";
                        gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
                };
        };
index fa080a24039f53a0c3c57bf4163403c11617c209..12173d1e861ea1adca887acc11ddac4046568640 100644 (file)
@@ -3,43 +3,4 @@
 / {
        compatible = "dlink,dir-810l", "ralink,mt7620a-soc";
        model = "D-Link DIR-810L";
-
-       aliases {
-               led-boot = &led_power_green;
-               led-failsafe = &led_power_green;
-               led-running = &led_power_green;
-               led-upgrade = &led_power_green;
-               label-mac-device = &ethernet;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               led_power_green: power_green {
-                       label = "dir-810l:green:power";
-                       gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
-               };
-
-               wan_orange {
-                       label = "dir-810l:orange:wan";
-                       gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
-               };
-
-               wan_green {
-                       label = "dir-810l:green:wan";
-                       gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
-               };
-
-               power_orange {
-                       label = "dir-810l:orange:power";
-                       gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
-               };
-       };
-};
-
-&state_default {
-       gpio {
-               groups = "i2c", "uartf", "ephy";
-               function = "gpio";
-       };
 };
index ee62f3d49a1205c0268503b5b5601407354b5da0..bacebee8e1f33e5897f5da4c0638607dd050ae20 100644 (file)
                compatible = "gpio-leds";
 
                wan {
-                       label = "dwr-118-a1:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
 
                led_internet: internet {
-                       label = "dwr-118-a1:green:internet";
+                       label = "green:internet";
                        gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
                };
 
                lan {
-                       label = "dwr-118-a1:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g {
-                       label = "dwr-118-a1:green:wlan2g";
+                       label = "green:wlan2g";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "dwr-118-a1:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
index 296890ebd61adca8baf95feff7ed9362714359e4..0b124e67deaecac178768793bd6c4d0cc602d7ed 100644 (file)
                compatible = "gpio-leds";
 
                wan {
-                       label = "dwr-118-a2:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
 
                led_internet: internet {
-                       label = "dwr-118-a2:green:internet";
+                       label = "green:internet";
                        gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
                };
 
                lan {
-                       label = "dwr-118-a2:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g {
-                       label = "dwr-118-a2:green:wlan2g";
+                       label = "green:wlan2g";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "dwr-118-a2:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
index ed0cc575ebab8ee8f0416dce022f936e33b8017e..4284c61aa2e87d0522172ca8d3265becc5546f87 100644 (file)
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "dwr-960:green:status";
+                       label = "green:status";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
                wan {
-                       label = "dwr-960:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                lan {
-                       label = "dwr-960:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                sms {
-                       label = "dwr-960:green:sms";
+                       label = "green:sms";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
 
                signal_green {
-                       label = "dwr-960:green:signal";
+                       label = "green:signal";
                        gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>;
                };
 
                signal_red {
-                       label = "dwr-960:red:signal";
+                       label = "red:signal";
                        gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
                };
 
                4g {
-                       label = "dwr-960:green:4g";
+                       label = "green:4g";
                        gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
                };
 
                3g {
-                       label = "dwr-960:green:3g";
+                       label = "green:3g";
                        gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
                };
 
                wlan5g {
-                       label = "dwr-960:green:wlan5g";
+                       label = "green:wlan5g";
                        gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
                wlan2g {
-                       label = "dwr-960:green:wlan2g";
+                       label = "green:wlan2g";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };
index a0e72a4fae781c35ca013d38bdd57b317cc04992..4f25b345671c7cff277e21775d5ce40955cc7e33 100644 (file)
                compatible = "gpio-leds";
 
                usb {
-                       label = "tiny-ac:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                wifi {
-                       label = "tiny-ac:orange:wifi";
+                       label = "orange:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
index a90760eb6dd3bf3ca86227e6de58cbb9d49c75cf..0b991611b2238ab81c2b6783bc05a60fae078d11 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "br-6478ac-v2:white:power";
+                       label = "white:power";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                internet {
-                       label = "br-6478ac-v2:blue:internet";
+                       label = "blue:internet";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "br-6478ac-v2:blue:wlan";
+                       label = "blue:wlan";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "br-6478ac-v2:blue:usb";
+                       label = "blue:usb";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
index cb0ce575aeeadf7548744b413b8955693f793a75..ebab7e4089990616ae38035fadf6a4c383cfd3f4 100644 (file)
@@ -5,40 +5,4 @@
 / {
        compatible = "edimax,ew-7476rpc", "ralink,mt7620a-soc";
        model = "Edimax EW-7476RPC";
-
-       leds {
-               compatible = "gpio-leds";
-
-               led_power: power {
-                       label = "ew-7476rpc:green:power";
-                       gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
-               };
-
-               lan {
-                       label = "ew-7476rpc:green:lan";
-                       gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
-               };
-
-               wlan2g {
-                       label = "ew-7476rpc:blue:wlan2g";
-                       gpios = <&gpio2 30 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy1radio";
-               };
-
-               wlan5g {
-                       label = "ew-7476rpc:blue:wlan5g";
-                       gpios = <&gpio2 31 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy0radio";
-               };
-
-               wps {
-                       label = "ew-7476rpc:green:wps";
-                       gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
-               };
-
-               crossband {
-                       label = "ew-7476rpc:green:crossband";
-                       gpios = <&gpio2 29 GPIO_ACTIVE_LOW>;
-               };
-       };
 };
index 160a8c26dde7863683483746befc71500d8ed394..a0fa2e3da8f0d1d34acf34e23b2e8d5c1f027499 100644 (file)
@@ -5,40 +5,4 @@
 / {
        compatible = "edimax,ew-7478ac", "ralink,mt7620a-soc";
        model = "Edimax EW-7478AC";
-
-       leds {
-               compatible = "gpio-leds";
-
-               led_power: power {
-                       label = "ew-7478ac:green:power";
-                       gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
-               };
-
-               lan {
-                       label = "ew-7478ac:green:lan";
-                       gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
-               };
-
-               wlan2g {
-                       label = "ew-7478ac:blue:wlan2g";
-                       gpios = <&gpio2 30 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy1radio";
-               };
-
-               wlan5g {
-                       label = "ew-7478ac:blue:wlan5g";
-                       gpios = <&gpio2 31 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy0radio";
-               };
-
-               wps {
-                       label = "ew-7478ac:green:wps";
-                       gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
-               };
-
-               crossband {
-                       label = "ew-7478ac:green:crossband";
-                       gpios = <&gpio2 29 GPIO_ACTIVE_LOW>;
-               };
-       };
 };
index 9d59755ac8718b7afe5f0b5aefd74477d8b816c4..1e1b2830f02b36146dfa2b13d688a485ced95ea4 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "ew-7478apc:white:power";
+                       label = "white:power";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                internet {
-                       label = "ew-7478apc:blue:internet";
+                       label = "blue:internet";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "ew-7478apc:blue:wlan";
+                       label = "blue:wlan";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "ew-7478apc:blue:usb";
+                       label = "blue:usb";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
index be83db25038b7aa99476c68c8476d91ab2e3382a..78b481bd2a64193e13f6957cba25588f006e3afa 100644 (file)
                        linux,input-type = <EV_SW>;
                };
        };
+
+       leds {
+               compatible = "gpio-leds";
+
+               led_power: power {
+                       label = "green:power";
+                       gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
+               };
+
+               lan {
+                       label = "green:lan";
+                       gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
+               };
+
+               wlan2g {
+                       label = "blue:wlan2g";
+                       gpios = <&gpio2 30 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "phy1radio";
+               };
+
+               wlan5g {
+                       label = "blue:wlan5g";
+                       gpios = <&gpio2 31 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "phy0radio";
+               };
+
+               wps {
+                       label = "green:wps";
+                       gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
+               };
+
+               crossband {
+                       label = "green:crossband";
+                       gpios = <&gpio2 29 GPIO_ACTIVE_LOW>;
+               };
+       };
 };
 
 &gpio1 {
index 4da1c9c7082e46aafe59666c794e693864314aea..807e18d62b0685f96bee073cf71460a01b17d47b 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "esr600:amber:power";
+                       label = "amber:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wps2g {
-                       label = "esr600:amber:wps2g";
+                       label = "amber:wps2g";
                        gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
                };
 
                wlan5g {
-                       label = "esr600:blue:wlan5g";
+                       label = "blue:wlan5g";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g {
-                       label = "esr600:blue:wlan2g";
+                       label = "blue:wlan2g";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
index 1ed778f4f5da7773940be47067909eff4d0308e9..4dc0e28c9f61740f8bbbf371895648971b489aa9 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power_r {
-                       label = "fon2601:red:power";
+                       label = "red:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                internet_g {
-                       label = "fon2601:green:internet";
+                       label = "green:internet";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
 
                net_g {
-                       label = "fon2601:green:net";
+                       label = "green:net";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                wifi_g {
-                       label = "fon2601:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index 2c6ac0baf7f5a01ed98fbf216778f750098a845a..d4e0a81e9ff253cdb64aa71e43d1b63dacee2dc5 100644 (file)
                compatible = "gpio-leds";
 
                rssi {
-                       label = "hdrm200:red:rssi";
+                       label = "red:rssi";
                        gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
                };
 
                led_system: system {
-                       label = "hdrm200:green:system";
+                       label = "green:system";
                        gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
                };
 
                air {
-                       label = "hdrm200:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
index 263bccd20a1a876f57cdec5b1494d07ee788c636..90ce3c92d78c538a51c30364ba3608c8225b5fd7 100644 (file)
                compatible = "gpio-leds";
 
                led_system: system {
-                       label = "hc5661:blue:system";
+                       label = "blue:system";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                internet {
-                       label = "hc5661:blue:internet";
+                       label = "blue:internet";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g {
-                       label = "hc5661:blue:wlan2g";
+                       label = "blue:wlan2g";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
index 9ad32000e2a51f3829558fda65df5dcb393bbb59..5b6777998413225f5e90195cb690d1020059d0c1 100644 (file)
                compatible = "gpio-leds";
 
                led_system: system {
-                       label = "hc5761:blue:system";
+                       label = "blue:system";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                internet {
-                       label = "hc5761:blue:internet";
+                       label = "blue:internet";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g {
-                       label = "hc5761:blue:wlan2g";
+                       label = "blue:wlan2g";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };
 
                wlan5g {
-                       label = "hc5761:blue:wlan5g";
+                       label = "blue:wlan5g";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
index d54248fd8653808b2f5017e2cff1872b65d076ac..08163e56ba8c519c697ed71b797222857044cda1 100644 (file)
                compatible = "gpio-leds";
 
                led_system: system {
-                       label = "hc5861:blue:system";
+                       label = "blue:system";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g {
-                       label = "hc5861:blue:wlan2g";
+                       label = "blue:wlan2g";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };
 
                internet {
-                       label = "hc5861:blue:internet";
+                       label = "blue:internet";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
 
                wlan5g {
-                       label = "hc5861:blue:wlan5g";
+                       label = "blue:wlan5g";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
                turbo {
-                       label = "hc5861:blue:turbo";
+                       label = "blue:turbo";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
        };
index be0e0c0e9958ead9f149674ed0a4ddb7b585d170..d9c5c2428703992fa8d9fd8bcf751eaeab2f07b7 100644 (file)
                compatible = "gpio-leds";
 
                sdcard {
-                       label = "c108:green:sdcard";
+                       label = "green:sdcard";
                        gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
                };
 
                modem_green {
-                       label = "c108:green:modem";
+                       label = "green:modem";
                        gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
                };
 
                modem_red {
-                       label = "c108:red:modem";
+                       label = "red:modem";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
 
                lan_red {
-                       label = "c108:red:lan";
+                       label = "red:lan";
                        gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
                };
 
                led_lan_green: lan_green {
-                       label = "c108:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio2 4 GPIO_ACTIVE_HIGH>;
                };
        };
index 1ac294f06ac8c9292bc1c672c137c00229b3d280..7044a511bcc97f32a0db83cbc7ab97e83df9cebd 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "wn-ac1167gr:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
 
                wlan2g {
-                       label = "wn-ac1167gr:green:wlan2g";
+                       label = "green:wlan2g";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
 
                notification {
-                       label = "wn-ac1167gr:green:notification";
+                       label = "green:notification";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                wlan5g {
-                       label = "wn-ac1167gr:green:wlan5g";
+                       label = "green:wlan5g";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index 150be50d440f1a47a81029e0d812e5131a0c3544..e29431dc8d285757ea5279a4e0d3890e0ed4838d 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "wn-ac733gr3:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
 
                notification {
-                       label = "wn-ac733gr3:green:notification";
+                       label = "green:notification";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g {
-                       label = "wn-ac733gr3:green:wlan2g";
+                       label = "green:wlan2g";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
 
                wlan5g {
-                       label = "wn-ac733gr3:green:wlan5g";
+                       label = "green:wlan5g";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index d5e97bc1532475a8cc5f1ab83ca4bc8dfc1cd44c..20d055791634953490fa00ca53fef8db6a5572f5 100644 (file)
                compatible = "gpio-leds";
 
                led_cpu: cpu {
-                       label = "a1004ns:blue:cpu";
+                       label = "blue:cpu";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "a1004ns:blue:usb";
+                       label = "blue:usb";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
index 0784061a97f8f8a2bbcbd3008e3c5a42ce72c8ca..c997d68cd12fbea42248a8c955a6ed45cff2b9b8 100644 (file)
                compatible = "gpio-leds";
 
                usb {
-                       label = "a104ns:blue:usb";
+                       label = "blue:usb";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                led_cpu: cpu {
-                       label = "a104ns:blue:cpu";
+                       label = "blue:cpu";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
        };
index 9c21d94d736ba1cdcd42a806d079d05feb63c326..218dd7a761dd48cf360eeef714050de1ba9f4c3e 100644 (file)
                compatible = "gpio-leds";
 
                led_wifi: wifi {
-                       label = "u25awf:red:wifi";
+                       label = "red:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
 
                lan {
-                       label = "u25awf:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
                };
        };
index 810c1bf8561f4e438869d72ab0cc5096d589af97..d5fb543a63af1e80fc9c705031a3d542ff5ee0ee 100644 (file)
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "lr-25g001:green:status";
+                       label = "green:status";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
 
                wifi2g {
-                       label = "lr-25g001:green:wifi2g";
+                       label = "green:wifi2g";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                wifi5g {
-                       label = "lr-25g001:green:wifi5g";
+                       label = "green:wifi5g";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
index 5c198941f99f4fc776c8c1b631748da42e558fe6..bb1303d4fb40a8d80322b727dc5992db96795711 100644 (file)
@@ -29,7 +29,7 @@
                compatible = "gpio-leds";
 
                led_wps: wps {
-                       label = "bl-w1200:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
        };
index a232c9245861c4c2a5e1261e9af61f7c3b5f3415..2bea987b4236e97f412a4f43a58d28b6fabaa5fb 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "newifi-y1:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wlan1 {
-                       label = "newifi-y1:blue:wifi";
+                       label = "blue:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
 
                wlan2 {
-                       label = "newifi-y1:blue:wifi5g";
+                       label = "blue:wifi5g";
                        gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "newifi-y1:blue:usb";
+                       label = "blue:usb";
                        gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                lan {
-                       label = "newifi-y1:blue:lan";
+                       label = "blue:lan";
                        gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
                };
 
                internet {
-                       label = "newifi-y1:blue:internet";
+                       label = "blue:internet";
                        gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
                };
        };
index 979e96ca0e8d051945e5652dbbc1730a17ee6b77..a07683ed4abe31c5998192f1a551da86112ba4b0 100644 (file)
                compatible = "gpio-leds";
 
                power1 {
-                       label = "newifi-y1s:yellow:power";
+                       label = "yellow:power";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
 
                led_power_blue: power2 {
-                       label = "newifi-y1s:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wlan1 {
-                       label = "newifi-y1s:yellow:wifi";
+                       label = "yellow:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
 
                wlan2 {
-                       label = "newifi-y1s:blue:wifi";
+                       label = "blue:wifi";
                        gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
                };
 
                usb1 {
-                       label = "newifi-y1s:yellow:usb";
+                       label = "yellow:usb";
                        gpios = <&gpio2 13 GPIO_ACTIVE_LOW>;
                };
 
                usb2 {
-                       label = "newifi-y1s:blue:usb";
+                       label = "blue:usb";
                        gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                internet {
-                       label = "newifi-y1s:blue:internet";
+                       label = "blue:internet";
                        gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
                };
        };
index 9b6917baebb54ab6c9f64abc25e8b176c1780c01..01197aafd2b98752afb7f43ea0512428129b0c63 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "e1700:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
 
                wan {
-                       label = "e1700:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
        };
index b15a3e12ef4c74a78adad496d773af73ac0067fe..ec310dee2229e10a453d9b1ca32f4f785ca40341 100644 (file)
                compatible = "gpio-leds";
 
                led_power_green: power_g {
-                       label = "ex2700:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
 
                power_r {
-                       label = "ex2700:red:power";
+                       label = "red:power";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                device_g {
-                       label = "ex2700:green:device";
+                       label = "green:device";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
 
                device_r {
-                       label = "ex2700:red:device";
+                       label = "red:device";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
 
                router_g {
-                       label = "ex2700:green:router";
+                       label = "green:router";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                router_r {
-                       label = "ex2700:red:router";
+                       label = "red:router";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "ex2700:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
        };
index 8d6ee5b612cf38155bd790c7cf3fd6648a77a0e3..0ab84f7e273e982de591a826bc1257ee0ec66e14 100644 (file)
@@ -5,51 +5,4 @@
 / {
        compatible = "netgear,ex3700", "ralink,mt7620a-soc";
        model = "Netgear EX3700/EX3800";
-
-       aliases {
-               led-boot = &led_power_amber;
-               led-failsafe = &led_power_amber;
-               led-running = &led_power_green;
-               led-upgrade = &led_power_green;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               led_power_green: power_green {
-                       label = "ex3700:green:power";
-                       gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
-                       default-state = "on";
-               };
-
-               led_power_amber: power_amber {
-                       label = "ex3700:amber:power";
-                       gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
-               };
-
-               router_green {
-                       label = "ex3700:green:router";
-                       gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
-               };
-
-               router_red {
-                       label = "ex3700:red:router";
-                       gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
-               };
-
-               device_green {
-                       label = "ex3700:green:device";
-                       gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
-               };
-
-               device_red {
-                       label = "ex3700:red:device";
-                       gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
-               };
-
-               wps {
-                       label = "ex3700:green:wps";
-                       gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
-               };
-       };
 };
index 3cafd932ab034a0cb6b95d68a46e0ebc1ff450e6..0f0d9aee7e1fbe08e064ce164e1f3d5015a1c57a 100644 (file)
@@ -4,6 +4,13 @@
 #include <dt-bindings/input/input.h>
 
 / {
+       aliases {
+               led-boot = &led_power_amber;
+               led-failsafe = &led_power_amber;
+               led-running = &led_power_green;
+               led-upgrade = &led_power_green;
+       };
+
        keys {
                compatible = "gpio-keys";
 
                        linux,code = <KEY_WPS_BUTTON>;
                };
        };
+
+       leds {
+               compatible = "gpio-leds";
+
+               led_power_green: power_green {
+                       label = "green:power";
+                       gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
+                       default-state = "on";
+               };
+
+               led_power_amber: power_amber {
+                       label = "amber:power";
+                       gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
+               };
+
+               router_green {
+                       label = "green:router";
+                       gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
+               };
+
+               router_red {
+                       label = "red:router";
+                       gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
+               };
+
+               device_green {
+                       label = "green:device";
+                       gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
+               };
+
+               device_red {
+                       label = "red:device";
+                       gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
+               };
+
+               wps {
+                       label = "green:wps";
+                       gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
+               };
+       };
 };
 
 &gpio0 {
index 58581e670697f85c58d6a2da43237a2ad966a486..2d376275a0b317a1f51a6a3139bbd6e875687f7d 100644 (file)
@@ -5,51 +5,4 @@
 / {
        compatible = "netgear,ex6120", "ralink,mt7620a-soc";
        model = "Netgear EX6120";
-
-       aliases {
-               led-boot = &led_power_amber;
-               led-failsafe = &led_power_amber;
-               led-running = &led_power_green;
-               led-upgrade = &led_power_green;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               led_power_green: power_green {
-                       label = "ex6120:green:power";
-                       gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
-                       default-state = "on";
-               };
-
-               led_power_amber: power_amber {
-                       label = "ex6120:amber:power";
-                       gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
-               };
-
-               router_green {
-                       label = "ex6120:green:router";
-                       gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
-               };
-
-               router_red {
-                       label = "ex6120:red:router";
-                       gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
-               };
-
-               device_green {
-                       label = "ex6120:green:device";
-                       gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
-               };
-
-               device_red {
-                       label = "ex6120:red:device";
-                       gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
-               };
-
-               wps {
-                       label = "ex6120:green:wps";
-                       gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
-               };
-       };
 };
index 5994a10d423eeef31c07057ea86e41a77e53c3fb..0cb4dc6f27b20523f368dc03c2fb9b07049fb2f5 100644 (file)
@@ -7,50 +7,6 @@
        model = "Netgear EX6130";
 
        aliases {
-               led-boot = &led_power_amber;
-               led-failsafe = &led_power_amber;
-               led-running = &led_power_green;
-               led-upgrade = &led_power_green;
                label-mac-device = &ethernet;
        };
-
-       leds {
-               compatible = "gpio-leds";
-
-               led_power_green: power_green {
-                       label = "ex6130:green:power";
-                       gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
-                       default-state = "on";
-               };
-
-               led_power_amber: power_amber {
-                       label = "ex6130:amber:power";
-                       gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
-               };
-
-               router_green {
-                       label = "ex6130:green:router";
-                       gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
-               };
-
-               router_red {
-                       label = "ex6130:red:router";
-                       gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
-               };
-
-               device_green {
-                       label = "ex6130:green:device";
-                       gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
-               };
-
-               device_red {
-                       label = "ex6130:red:device";
-                       gpios = <&gpio2 21 GPIO_ACTIVE_LOW>;
-               };
-
-               wps {
-                       label = "ex6130:green:wps";
-                       gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
-               };
-       };
 };
index 0028f26fdb467a3b401759b97ab707ca81175ccd..c9b180624348827c59123c2e6864a8f29190c426 100644 (file)
                compatible = "gpio-leds";
 
                led_power_green: power_g {
-                       label = "wn3000rp-v3:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
 
                power_r {
-                       label = "wn3000rp-v3:red:power";
+                       label = "red:power";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                client_g {
-                       label = "wn3000rp-v3:green:client";
+                       label = "green:client";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
 
                client_r {
-                       label = "wn3000rp-v3:red:client";
+                       label = "red:client";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
 
                router_g {
-                       label = "wn3000rp-v3:green:router";
+                       label = "green:router";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                router_r {
-                       label = "wn3000rp-v3:red:router";
+                       label = "red:router";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "wn3000rp-v3:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
 
                l_arrow {
-                       label = "wn3000rp-v3:blue:leftarrow";
+                       label = "blue:leftarrow";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
                r_arrow {
-                       label = "wn3000rp-v3:blue:rightarrow";
+                       label = "blue:rightarrow";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
        };
index b58c8b55ad71d902535c26b503dce551e645bbc3..ab8c61b1d8260d65ad8f6f1ed09fbca67cc9f83e 100644 (file)
@@ -13,7 +13,7 @@
                compatible = "gpio-leds";
 
                wlan {
-                       label = "wf2770:blue:wlan";
+                       label = "blue:wlan";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
index 0ce376b45d2b08c60fa0f7446289bdfccbc4071d..908f89d14950e719b32566d6c2a015186da4c274 100644 (file)
                compatible = "gpio-leds";
 
                led_power: powerled {
-                       label = "oy-0001:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wifiled {
-                       label = "oy-0001:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
index 8f1343e938ab40f779defc10fb118edd76dec38a..e01c60a6951caf6540502ef25e3418d37a887d98 100644 (file)
                compatible = "gpio-leds";
 
                led_blue: blue {
-                       label = "k2g:blue:status";
+                       label = "blue:status";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
 
                yellow {
-                       label = "k2g:yellow:status";
+                       label = "yellow:status";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                red {
-                       label = "k2g:red:status";
+                       label = "red:status";
                        gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
                };
        };
index aa7b5907eec222f3b8cd1edbd868214545cb0ff9..ea87d64ecc3925302c55b31222eac3e5262e1c91 100644 (file)
                compatible = "gpio-leds";
 
                led_wps: wps {
-                       label = "psg1208:white:wps";
+                       label = "white:wps";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "psg1208:white:wlan2g";
+                       label = "white:wlan2g";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
index f74506ea6172c20c1913b3a324bc4767b2360851..dbfec00f81b847e223d7e394e13fb16fc3546e99 100644 (file)
@@ -6,6 +6,13 @@
 / {
        compatible = "phicomm,psg1218", "ralink,mt7620a-soc";
 
+       aliases {
+               led-boot = &led_blue;
+               led-failsafe = &led_blue;
+               led-running = &led_blue;
+               led-upgrade = &led_blue;
+       };
+
        keys {
                compatible = "gpio-keys";
 
                        linux,code = <KEY_RESTART>;
                };
        };
+
+       leds {
+               compatible = "gpio-leds";
+
+               led_blue: blue {
+                       label = "blue:status";
+                       gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
+                       default-state = "on";
+               };
+
+               yellow {
+                       label = "yellow:status";
+                       gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
+               };
+
+               red {
+                       label = "red:status";
+                       gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
+               };
+       };
 };
 
 &gpio0 {
index 7a6e10c733184750c01fec7eb0808490dd2ce28e..baa0d8b261797652b7e01bef8fee5dc2ba3f70fe 100644 (file)
@@ -3,33 +3,6 @@
 / {
        compatible = "phicomm,psg1218a", "phicomm,psg1218", "ralink,mt7620a-soc";
        model = "Phicomm PSG1218 rev.A";
-
-       aliases {
-               led-boot = &led_blue;
-               led-failsafe = &led_blue;
-               led-running = &led_blue;
-               led-upgrade = &led_blue;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               led_blue: blue {
-                       label = "psg1218a:blue:status";
-                       gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
-                       default-state = "on";
-               };
-
-               yellow {
-                       label = "psg1218a:yellow:status";
-                       gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
-               };
-
-               red {
-                       label = "psg1218a:red:status";
-                       gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
-               };
-       };
 };
 
 &state_default {
index e2a49e068f9d510783b06a7e5f954b98522591f4..f7e70c92c8c56bb5ebb714ac8193c3b3e020ba38 100644 (file)
@@ -3,33 +3,6 @@
 / {
        compatible = "phicomm,psg1218b", "phicomm,psg1218", "ralink,mt7620a-soc";
        model = "Phicomm PSG1218 rev.B";
-
-       aliases {
-               led-boot = &led_blue;
-               led-failsafe = &led_blue;
-               led-running = &led_blue;
-               led-upgrade = &led_blue;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               led_blue: blue {
-                       label = "psg1218b:blue:status";
-                       gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
-                       default-state = "on";
-               };
-
-               yellow {
-                       label = "psg1218b:yellow:status";
-                       gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
-               };
-
-               red {
-                       label = "psg1218b:red:status";
-                       gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
-               };
-       };
 };
 
 &state_default {
index c13d6bf21082f50f6b7629182e45a8a4cf21eff3..089b74bbc6a3dd2a48c62ce2104cefb9d582267f 100644 (file)
@@ -18,7 +18,7 @@
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "cs-qr10:red:power";
+                       label = "red:power";
                        gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
                };
        };
index 6df13c30400fba590abaa85f64044620aba1e98e..eb373e9aa2470941254547231afdd4a26cc8bded 100644 (file)
@@ -18,7 +18,7 @@
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "db-wrt01:orange:power";
+                       label = "orange:power";
                        gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
                };
        };
index 50cf79b94f33f10a50da1d1a6c1915f1800e0504..df9c9689c34e4b098559bfabdc3b54baec660324 100644 (file)
                compatible = "gpio-leds";
 
                wps {
-                       label = "mzk-750dhp:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "mzk-750dhp:green:power";
+                       label = "green:power";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
 
                wlan5g {
-                       label = "mzk-750dhp:green:wlan5g";
+                       label = "green:wlan5g";
                        gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
                };
        };
index 825964cdc08b0f987a9c301309f19e4b1ee5dcca..5459886a3a6c1952e506be49fb340ba1bf9d5daf 100644 (file)
                compatible = "gpio-leds";
 
                wifi {
-                       label = "mzk-ex300np:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
 
                led_wps: wps {
-                       label = "mzk-ex300np:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
                };
 
                rep {
-                       label = "mzk-ex300np:blue:rep";
+                       label = "blue:rep";
                        gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
                };
 
                wifi1 {
-                       label = "mzk-ex300np:blue:wifi1";
+                       label = "blue:wifi1";
                        gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
                };
 
                wifi2 {
-                       label = "mzk-ex300np:blue:wifi2";
+                       label = "blue:wifi2";
                        gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
                };
 
                wifi3 {
-                       label = "mzk-ex300np:blue:wifi3";
+                       label = "blue:wifi3";
                        gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
                };
        };
index cac6dc9be41713116e12c77f8dadf42d84797f74..457d4fd552c08e922a8d9a5983bf426abf49b3c9 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "mzk-ex750np:red:power";
+                       label = "red:power";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
 
                wifi {
-                       label = "mzk-ex750np:red:wifi";
+                       label = "red:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "mzk-ex750np:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
 
                rep {
-                       label = "mzk-ex750np:blue:rep";
+                       label = "blue:rep";
                        gpios = <&gpio2 16 GPIO_ACTIVE_LOW>;
                };
 
                wifi1 {
-                       label = "mzk-ex750np:blue:wifi1";
+                       label = "blue:wifi1";
                        gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
                };
 
                wifi2 {
-                       label = "mzk-ex750np:blue:wifi2";
+                       label = "blue:wifi2";
                        gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
                };
 
                wifi3 {
-                       label = "mzk-ex750np:blue:wifi3";
+                       label = "blue:wifi3";
                        gpios = <&gpio2 17 GPIO_ACTIVE_LOW>;
                };
        };
index d37ed3717252d167a200207efec0c43c4801a076..8003ac9dc2303aa3adeb16acd66870d37a7e0ff2 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "d240:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
                };
 
                usb {
-                       label = "d240:blue:usb";
+                       label = "blue:usb";
                        gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                air {
-                       label = "d240:blue:wifi";
+                       label = "blue:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
index 2d3e4cba05c2cbd7d3f45610e2ea29052d04e4d2..0d96fd2901b9dd95d38c627e17599adf3bce2c1d 100644 (file)
                compatible = "gpio-leds";
 
                zwave {
-                       label = "na930:blue:zwave";
+                       label = "blue:zwave";
                        gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
                };
 
                status {
-                       label = "na930:blue:status";
+                       label = "blue:status";
                        gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                service {
-                       label = "na930:blue:service";
+                       label = "blue:service";
                        gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "na930:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio2 29 GPIO_ACTIVE_LOW>;
                };
        };
index 1c95325fb2e28c77bfedff76ee9ffb7159880cc2..184af58d2920d7207943461094fe9ffdad67e947 100644 (file)
                compatible = "gpio-leds";
 
                lan {
-                       label = "archer-c2-v1:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "archer-c2-v1:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                led_wps: wps {
-                       label = "archer-c2-v1:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
 
                wan {
-                       label = "archer-c2-v1:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "archer-c2-v1:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };
index 265592e3368658ec95c4d4bc9f4d2602e7aa53ce..f7e7d50df7ce9e816432b44ab244ec924a9ae82b 100644 (file)
                compatible = "gpio-leds";
 
                lan {
-                       label = "archer-c20-v1:blue:lan";
+                       label = "blue:lan";
                        gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "archer-c20-v1:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                        default-state = "keep";
                };
 
                usb {
-                       label = "archer-c20-v1:blue:usb";
+                       label = "blue:usb";
                        gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                wan {
-                       label = "archer-c20-v1:blue:wan";
+                       label = "blue:wan";
                        gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
                };
 
                wan_orange {
-                       label = "archer-c20-v1:orange:wan";
+                       label = "orange:wan";
                        gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
                };
 
                wlan5g {
-                       label = "archer-c20-v1:blue:wlan5g";
+                       label = "blue:wlan5g";
                        gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
                wlan2g {
-                       label = "archer-c20-v1:blue:wlan2g";
+                       label = "blue:wlan2g";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };
 
                wps {
-                       label = "archer-c20-v1:blue:wps";
+                       label = "blue:wps";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
        };
index 785b740861777c99994fbff160e6cde6678169eb..a6c3cea7360065f1f113b158383a55ea9f93fedb 100644 (file)
                compatible = "gpio-leds";
 
                lan {
-                       label = "archer-c20i:blue:lan";
+                       label = "blue:lan";
                        gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "archer-c20i:blue:usb";
+                       label = "blue:usb";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                led_wps: wps {
-                       label = "archer-c20i:blue:wps";
+                       label = "blue:wps";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
 
                wan {
-                       label = "archer-c20i:blue:wan";
+                       label = "blue:wan";
                        gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "archer-c20i:blue:wlan";
+                       label = "blue:wlan";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };
index b10d1ed30e65d9d00d26cd25d3e1b2a0478d543c..d564552ff0b63d4e1e369caf0331b077de0a8d74 100644 (file)
                compatible = "gpio-leds";
 
                lan {
-                       label = "archer-c50-v1:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "archer-c50-v1:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
 
                usb {
-                       label = "archer-c50-v1:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                wan {
-                       label = "archer-c50-v1:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
                };
 
                wan_orange {
-                       label = "archer-c50-v1:orange:wan";
+                       label = "orange:wan";
                        gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
                };
 
                wlan5g {
-                       label = "archer-c50-v1:green:wlan5g";
+                       label = "green:wlan5g";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
                wlan2g {
-                       label = "archer-c50-v1:green:wlan2g";
+                       label = "green:wlan2g";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };
 
                wps {
-                       label = "archer-c50-v1:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
        };
index c1454a8e2b5fc709b6c8468b52887224f3c436d8..ae92dc85e656eccd9a8a482091b16ab9c574cf8b 100644 (file)
                compatible = "gpio-leds";
 
                lan {
-                       label = "archer-mr200:white:lan";
+                       label = "white:lan";
                        gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
                };
 
                wan {
-                       label = "archer-mr200:white:wan";
+                       label = "white:wan";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "archer-mr200:white:power";
+                       label = "white:power";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                4g {
-                       label = "archer-mr200:white:4g";
+                       label = "white:4g";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "archer-mr200:white:wps";
+                       label = "white:wps";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
 
                signal1 {
-                       label = "archer-mr200:white:signal1";
+                       label = "white:signal1";
                        gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
                };
 
                signal2 {
-                       label = "archer-mr200:white:signal2";
+                       label = "white:signal2";
                        gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
                };
 
                signal3 {
-                       label = "archer-mr200:white:signal3";
+                       label = "white:signal3";
                        gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
                };
 
                signal4 {
-                       label = "archer-mr200:white:signal4";
+                       label = "white:signal4";
                        gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "archer-mr200:white:wlan";
+                       label = "white:wlan";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };
index 8972dc26877ac8ac07d1c4871ba4404a46501e0d..d2f5207fac147701d6fba7f2fdc848d20a2fc1f6 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "re200-v1:green:power";
+                       label = "green:power";
                        gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
                };
 
                lan {
-                       label = "re200-v1:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "re200-v1:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
                };
 
                qss {
-                       label = "re200-v1:green:qss";
+                       label = "green:qss";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g_red {
-                       label = "re200-v1:red:wlan2g";
+                       label = "red:wlan2g";
                        gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g_green {
-                       label = "re200-v1:green:wlan2g";
+                       label = "green:wlan2g";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };
index 8668e0b84a74972fdb544854b05ba26a7d4de7fc..41e56fbe3664323278e5955e48085cd077d5ee78 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "re210-v1:green:power";
+                       label = "green:power";
                        gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
                };
 
                rssi_high {
-                       label = "re210-v1:green:rssi-high";
+                       label = "green:rssi-high";
                        gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
                };
 
                rssi_low {
-                       label = "re210-v1:red:rssi-low";
+                       label = "red:rssi-low";
                        gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g {
-                       label = "re210-v1:green:wlan2g";
+                       label = "green:wlan2g";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };
 
                wlan5g {
-                       label = "re210-v1:green:wlan5g";
+                       label = "green:wlan5g";
                        gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
index 4c93c44d0e6a8128a135d160e85ce7b1d754b911..767da53f65aef25a0a85cd270d851beccc62d91a 100644 (file)
@@ -5,43 +5,4 @@
 / {
        compatible = "trendnet,tew-810dr", "ralink,mt7620a-soc";
        model = "TRENDnet TEW-810DR";
-
-       aliases {
-               led-boot = &led_power_green;
-               led-failsafe = &led_power_green;
-               led-running = &led_power_green;
-               led-upgrade = &led_power_green;
-               label-mac-device = &ethernet;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               led_power_green: power_green {
-                       label = "tew-810dr:green:power";
-                       gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
-               };
-
-               wan_orange {
-                       label = "tew-810dr:orange:wan";
-                       gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
-               };
-
-               wan_green {
-                       label = "tew-810dr:green:wan";
-                       gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
-               };
-
-               power_orange {
-                       label = "tew-810dr:orange:power";
-                       gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
-               };
-       };
-};
-
-&state_default {
-       gpio {
-               groups = "i2c", "uartf", "ephy";
-               function = "gpio";
-       };
 };
index bce257dc7fd9ec94153e33efff4bbc02c08d3e20..14cbc1830f11d68afe0f2687a7313555facd22c4 100644 (file)
                compatible = "gpio-leds";
 
                led_blue: blue {
-                       label = "miwifi-mini:blue:status";
+                       label = "blue:status";
                        gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
 
                yellow {
-                       label = "miwifi-mini:yellow:status";
+                       label = "yellow:status";
                        gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
                };
 
                red {
-                       label = "miwifi-mini:red:status";
+                       label = "red:status";
                        gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
                };
        };
index 522838156bd62de0b5b2eba4213648ab72d214c6..64eac1df36b5f276a9b4a86dd70d7fcbe530315b 100644 (file)
                compatible = "gpio-leds";
 
                wan {
-                       label = "yk1:blue:wan";
+                       label = "blue:wan";
                        gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
                };
 
                air {
-                       label = "yk1:blue:air";
+                       label = "blue:air";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "yk1:blue:usb";
+                       label = "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";
+                       label = "blue:power";
                        gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
                };
        };
index d8c3047a8c41d2f6a28a06a20c9f253c180c603f..aaa35a72b2fadc9ca3b13a3e4878c3a26e413658 100644 (file)
                compatible = "gpio-leds";
 
                sys1 {
-                       label = "zbt-ape522ii:green:sys1";
+                       label = "green:sys1";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                sys2 {
-                       label = "zbt-ape522ii:green:sys2";
+                       label = "green:sys2";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                sys3 {
-                       label = "zbt-ape522ii:green:sys3";
+                       label = "green:sys3";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                sys4 {
-                       label = "zbt-ape522ii:green:sys4";
+                       label = "green:sys4";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g4 {
-                       label = "zbt-ape522ii:green:wlan2g4";
+                       label = "green:wlan2g4";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
index b594cab2c3694b546f479b3c54e3dd779b312e4e..4991897ca4bb88dcc11981595fc07fca86108a4e 100644 (file)
                compatible = "gpio-leds";
 
                lan {
-                       label = "we1026-5g:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "we1026-5g:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                wifi {
-                       label = "we1026-5g:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
index f8f9bc754ac18d9d7d08875486262bcf22e87e1a..09f0ba773c09dbb47b3e35dbcbc1eaeaa738fc53 100644 (file)
                compatible = "gpio-leds";
 
                usb {
-                       label = "we1026-h:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
                };
 
                lan {
-                       label = "we1026-h:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
                };
 
                wan {
-                       label = "we1026-h:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
                };
 
                wifi {
-                       label = "we1026-h:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
index b6d6a998000c9315d0636bd1319e0031bfaf495b..bce6afe263fa3b362d62e01c40e05e59d0aa01c6 100644 (file)
                compatible = "gpio-leds";
 
                led_power: gsm {
-                       label = "zbt-we826-e:blue:gsm";
+                       label = "blue:gsm";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                signal {
-                       label = "zbt-we826-e:green:signal";
+                       label = "green:signal";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                sim {
-                       label = "zbt-we826-e:red:sim";
+                       label = "red:sim";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                air {
-                       label = "zbt-we826-e:red:wifi";
+                       label = "red:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
index 0e3d689b4fa29600d14dadbaec0a758de63922b7..3e612badc37fc47b6fc608d4287e54fedc78a3a5 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "zbt-we826:green:power";
+                       label = "green:power";
                        gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
                };
 
                usb {
-                       label = "zbt-we826:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                air {
-                       label = "zbt-we826:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
index 6cb2c8b225d639edf76a8f3f2f1b627a31a40601..dd9a87d5af69544bce2135749d77d813a1720b14 100644 (file)
                compatible = "gpio-leds";
 
                statred {
-                       label = "zte-q7:red:status";
+                       label = "red:status";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
 
                led_status_blue: statblue {
-                       label = "zte-q7:blue:status";
+                       label = "blue:status";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
        };
index 7f997eb97c77e16ec32b6e71c87b02f130c8dfd0..8c07de48456a2d3be647f8271504008923e2cab0 100644 (file)
                compatible = "gpio-leds";
 
                wan {
-                       label = "keenetic-viva:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "keenetic-viva:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                power_alert {
-                       label = "keenetic-viva:red:power";
+                       label = "red:power";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
 
                wifi {
-                       label = "keenetic-viva:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                led_power_green: power {
-                       label = "keenetic-viva:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index 7a3105f9be139ae87e008a90258b3cc37ef70979..24a8779b27a821c023231b570fd2fb46cce4f2c0 100644 (file)
                compatible = "gpio-leds";
 
                wan {
-                       label = "rt-n12p:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
                };
 
                lan {
-                       label = "rt-n12p:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "rt-n12p:green:power";
+                       label = "green:power";
                        gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
                };
 
                air {
-                       label = "rt-n12p:green:air";
+                       label = "green:air";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
index 13614640e656a01167ebe8455adce5e12180f3ae..ce51ff89b3efe1b43670f00761b595abbcb493c4 100644 (file)
                compatible = "gpio-leds";
 
                wan {
-                       label = "rt-n14u:blue:wan";
+                       label = "blue:wan";
                        gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
                };
 
                lan {
-                       label = "rt-n14u:blue:lan";
+                       label = "blue:lan";
                        gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "rt-n14u:blue:usb";
+                       label = "blue:usb";
                        gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                led_power: power {
-                       label = "rt-n14u:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
                };
 
                air {
-                       label = "rt-n14u:blue:air";
+                       label = "blue:air";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
index 8fc39cb914915948e9634852b319fac311598548..26803c0c2ad6f62b364fb6767a9c78d33fc5b0e0 100644 (file)
                compatible = "gpio-leds";
 
                aoss1 {
-                       label = "wmr-300:red:aoss";
+                       label = "red:aoss";
                        gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
                };
 
                aoss2 {
-                       label = "wmr-300:green:aoss";
+                       label = "green:aoss";
                        gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
                };
 
                led_status: status {
-                       label = "wmr-300:green:status";
+                       label = "green:status";
                        gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
                };
        };
index 6a24c5d75ccc0141810ff2f865b716fb104d5d6a..17d9a68623e378f6157186e088fd8acc31d6340c 100644 (file)
                compatible = "gpio-leds";
 
                ethernet {
-                       label = "cf-wr800n:white:ethernet";
+                       label = "white:ethernet";
                        gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
                };
 
                wifi {
-                       label = "cf-wr800n:white:wifi";
+                       label = "white:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
 
                led_wps: wps {
-                       label = "cf-wr800n:white:wps";
+                       label = "white:wps";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
        };
index b387e3d811ba8f2a5e3e14db6b7cf2afc9be3d37..2467a766a366d62181f1e85d084b59194962ed57 100644 (file)
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "dwr-116-a1:green:status";
+                       label = "green:status";
                        gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
                };
 
                wifi {
-                       label = "dwr-116-a1:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
index b64a9f7f2f7e7aaebf0b2a18223542d905b1ed76..c784839c349ae8e29888dae31c19282731089942 100644 (file)
                compatible = "gpio-leds";
 
                sms {
-                       label = "dwr-921-c1:green:sms";
+                       label = "green:sms";
                        gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
                };
 
                lan {
-                       label = "dwr-921-c1:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
                };
 
                led_sstrenghg: sstrengthg {
-                       label = "dwr-921-c1:green:sigstrength";
+                       label = "green:sigstrength";
                        gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
                };
 
                sstrengthr {
-                       label = "dwr-921-c1:red:sigstrength";
+                       label = "red:sigstrength";
                        gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
                };
 
                4g {
-                       label = "dwr-921-c1:green:4g";
+                       label = "green:4g";
                        gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
                };
 
                3g {
-                       label = "dwr-921-c1:green:3g";
+                       label = "green:3g";
                        gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
                };
 
                wifi {
-                       label = "dwr-921-c1:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
index 83c9fc8645fabfefb13ba1b9ec9d93fbe651f247..9400394d89ec00bbba00d178dcb4d91a1dbc4f63 100644 (file)
                led-boot = &sstrengthg;
 
                sms {
-                       label = "dwr-922-e2:green:sms";
+                       label = "green:sms";
                        gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
                };
 
                lan {
-                       label = "dwr-922-e2:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
                };
 
                sstrengthg: sstrengthg {
-                       label = "dwr-922-e2:green:sigstrength";
+                       label = "green:sigstrength";
                        gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
                };
 
                sstrengthr {
-                       label = "dwr-922-e2:red:sigstrength";
+                       label = "red:sigstrength";
                        gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
                };
 
                4g {
-                       label = "dwr-922-e2:green:4g";
+                       label = "green:4g";
                        gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
                };
 
                3g {
-                       label = "dwr-922-e2:green:3g";
+                       label = "green:3g";
                        gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
                };
 
                wifi {
-                       label = "dwr-922-e2:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
index 1d4efcc592bf562a3c68404faf81291bc78e0510..6c6e98fdd461ffd54402cbfba8c5ecf762641cef 100644 (file)
                compatible = "gpio-leds";
 
                led_wps: wps {
-                       label = "wrh-300cr:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
                };
 
                ethernet {
-                       label = "wrh-300cr:green:ethernet";
+                       label = "green:ethernet";
                        gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "wrh-300cr:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
index 25a5e12f4e9b6d1cf83549f95fdcbc8c785c005d..1c408bcaa1a9b95e4eb0569f14ff33b0fe886344 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "ht-tm05:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
 
                wifi {
-                       label = "ht-tm05:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy0tpt";
                };
index e5af6bf39abc393802f4844cfeb2e476bbfdc07e..7d6d80038c76eeb4a2de10ceb64aab8472c6f54c 100644 (file)
                compatible = "gpio-leds";
 
                led_wifi: wifi {
-                       label = "u35wf:blue:wifi";
+                       label = "blue:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
 
                lan {
-                       label = "u35wf:green:eth";
+                       label = "green:eth";
                        gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
                };
        };
index 24b3df469645bce41e46c0e19e97e75ba4d29bf9..dcd38fc8d6f0ccd48364e229e8731e9f5def6fd5 100644 (file)
                compatible = "gpio-leds";
 
                led_system: system {
-                       label = "mlw221:blue:system";
+                       label = "blue:system";
                        gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
                };
 
                wifi {
-                       label = "mlw221:blue:wifi";
+                       label = "blue:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
index 79a695baacf9117ea3e3f5777013644228b761e0..3410077ce5a4c97c1a0ab6d429c82427e4b5a94d 100644 (file)
                compatible = "gpio-leds";
 
                led_system: system {
-                       label = "mlwg2:blue:system";
+                       label = "blue:system";
                        gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
                };
 
                wifi {
-                       label = "mlwg2:blue:wifi";
+                       label = "blue:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
index d66574bb0320a392fede4d4c549e331760a79bc0..63cf38dec55e5bbd5441e4c9bd3eaeeaa5254fa7 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "jwnr2010-v5:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
                };
 
                wan {
-                       label = "jwnr2010-v5:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>;
                };
 
                wlan {
-                       label = "jwnr2010-v5:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0radio";
                };
 
                lan1 {
-                       label = "jwnr2010-v5:green:lan1";
+                       label = "green:lan1";
                        gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
                };
 
                lan2 {
-                       label = "jwnr2010-v5:green:lan2";
+                       label = "green:lan2";
                        gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
                };
 
                lan3 {
-                       label = "jwnr2010-v5:green:lan3";
+                       label = "green:lan3";
                        gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
                };
 
                lan4 {
-                       label = "jwnr2010-v5:green:lan4";
+                       label = "green:lan4";
                        gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
                };
        };
index 97624723555f55a7effe7fcb38fbbe96953a7cd3..0a724c048b51c7d420c17c7fe20d229c36e4e531 100644 (file)
@@ -28,7 +28,7 @@
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "wt3020:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
index e98184e7ac2e61eb99cb3a947af138bbaca3ee22..320d61f65c9dcb75adeea89fe6d750f654d0ffaa 100644 (file)
                compatible = "gpio-leds";
 
                wifi_green {
-                       label = "rp-wd03:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>;
                };
 
                led_wifi_blue: wifi_blue {
-                       label = "rp-wd03:blue:wifi";
+                       label = "blue:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>;
                };
        };
index cc5e06b1b5980da86c08e6cde0fba2287dbde310..8fa05a0793b7673b9c7885468e3d375c198b1a6b 100644 (file)
@@ -18,7 +18,7 @@
                compatible = "gpio-leds";
 
                led_system: system {
-                       label = "var11n-300:blue:system";
+                       label = "blue:system";
                        gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
                };
        };
index f2b2345ac725761ea4896f915b65525bd0938925..3ac7296f751955c6971cf053a915c1213eb63357 100644 (file)
@@ -17,7 +17,7 @@
                compatible = "gpio-leds";
 
                led_indicator: indicator {
-                       label = "wrtnode:blue:indicator";
+                       label = "blue:indicator";
                        gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
                };
        };
index fbbadf6dba72e2a23c4c6a813657ac118839df41..35bada9a24ea1445f47bf9d28f351dafc9a7b94e 100644 (file)
                compatible = "gpio-leds";
 
                led_4g_0: 4g-0 {
-                       label = "zbt-cpe102:green:4g-0";
+                       label = "green:4g-0";
                        gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
                };
 
                4g-1 {
-                       label = "zbt-cpe102:green:4g-1";
+                       label = "green:4g-1";
                        gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
                };
 
                4g-2 {
-                       label = "zbt-cpe102:green:4g-2";
+                       label = "green:4g-2";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
        };
index f3e391e9504f882da632a62094c772ed9280585a..a6ef51dabbe7d2cdabca8604928713ed5542562e 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "zbt-wa05:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "zbt-wa05:blue:usb";
+                       label = "blue:usb";
                        gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                air {
-                       label = "zbt-wa05:blue:air";
+                       label = "blue:air";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
index d547923b48e354fad5421e0af778051eedad195a..fe1799885a48d7bc2f709aba7714b51f38d3b84e 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "zbt-we2026:red:power";
+                       label = "red:power";
                        gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "zbt-we2026:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
index c2692467c5146509c88dcc251438e33b8fe056a8..af3ac4b00966539c59bcc55ab0247728f700b175 100644 (file)
                compatible = "gpio-leds";
 
                led_sys: sys {
-                       label = "zbt-wr8305rt:green:sys";
+                       label = "green:sys";
                        gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
                };
 
                lan {
-                       label = "zbt-wr8305rt:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                wifi {
-                       label = "zbt-wr8305rt:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };
index a9c4e922d6505fe308cdbeb1400516e7894eee14..4e5c68ef3fcc819b23f1d096198be0fb12b28589 100644 (file)
                compatible = "gpio-leds";
 
                wan {
-                       label = "keenetic-omni-ii:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "keenetic-omni-ii:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                wifi {
-                       label = "keenetic-omni-ii:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "keenetic-omni-ii:green:power";
+                       label = "green:power";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
        };
index a238d7ae91b8be10fa48a063e5b00ac595d1c547..e43f1357dde139785f3d5f6b53e9ea3964366971 100644 (file)
                compatible = "gpio-leds";
 
                wan {
-                       label = "keenetic-omni:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "keenetic-omni:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                wifi {
-                       label = "keenetic-omni:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "keenetic-omni:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
                };
        };
index dba6ddbff8500ed131acb1648c7fdb02e349d0c3..3290a5e710c41c969a55eb9d49f6de7e1362115b 100644 (file)
@@ -21,7 +21,7 @@
                compatible = "gpio-leds";
 
                led_sys: sys {
-                       label = "g7:blue:sys";
+                       label = "blue:sys";
                        gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
                };
        };
index 56016ed0f5aa048deca111b0cd9f6992906d9594..ed9e9852d3f10f4f205e576bc5742b7b1a735c48 100644 (file)
                compatible = "gpio-leds";
 
                led_run: run {
-                       label = "ew1200:green:run";
+                       label = "green:run";
                        gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
                };
 
                usb {
-                       label = "ew1200:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
                        linux,default-trigger = "usbport";
index 6fc8eb30813d70638b95abb4d920f283b4f624b2..e457dfcdbea5f42e5cfbc8780e2ca575da2827fc 100644 (file)
                compatible = "gpio-leds";
 
                led_system: system {
-                       label = "quad-e4g:red:system";
+                       label = "red:system";
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                        default-state = "keep";
                };
 
                m2 {
-                       label = "quad-e4g:orange:m2";
+                       label = "orange:m2";
                        gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
                };
 
                minipcie0 {
-                       label = "quad-e4g:orange:minipcie0";
+                       label = "orange:minipcie0";
                        gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
                };
 
                minipcie1 {
-                       label = "quad-e4g:orange:minipcie1";
+                       label = "orange:minipcie1";
                        gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
                };
 
                minipcie2 {
-                       label = "quad-e4g:orange:minipcie2";
+                       label = "orange:minipcie2";
                        gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
                };
        };
index bc54d14083bbcde762b2158fb8ea08a3ec07a578..b011c7ae2aed69de7246904258651f7774429507 100644 (file)
                compatible = "gpio-leds";
 
                wlan1 {
-                       label = "ap7621-001:orange:wlan1";
+                       label = "orange:wlan1";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };
 
                wlan0 {
-                       label = "ap7621-001:orange:wlan0";
+                       label = "orange:wlan0";
                        gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
                };
        };
index bfbb47fe66eacc2e0725fdd0090a8aa77b00df23..78f5584b4c56486b6b0d3de9c8a23056c2856e37 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "rt-ac57u:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio 48 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "rt-ac57u:blue:usb";
+                       label = "blue:usb";
                        gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ehci_port2>;
                        linux,default-trigger = "usbport";
index 6bdacb63497dcc919d4a91c7e32117e0bab9bb79..9be178ecd3319bcbdaf9245dbb2b50c12ce53bbd 100644 (file)
@@ -5,32 +5,4 @@
 / {
        compatible = "asus,rt-ac65p", "mediatek,mt7621-soc";
        model = "ASUS RT-AC65P";
-
-       aliases {
-               led-boot = &led_power;
-               led-failsafe = &led_power;
-               led-running = &led_power;
-               led-upgrade = &led_power;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               led_power: power {
-                       label = "rt-ac65p:blue:power";
-                       gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
-               };
-
-               wlan5g {
-                       label = "rt-ac65p:blue:wlan5g";
-                       gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy1radio";
-               };
-
-               wlan2g {
-                       label = "rt-ac65p:blue:wlan2g";
-                       gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy0radio";
-               };
-       };
 };
index be29697f734ca8f3cd5a76a65d9c6faf4238de3d..cc8e0c2c448156ae5847717d018316cd1ef0cc2c 100644 (file)
@@ -5,32 +5,4 @@
 / {
        compatible = "asus,rt-ac85p", "mediatek,mt7621-soc";
        model = "ASUS RT-AC85P";
-
-       aliases {
-               led-boot = &led_power;
-               led-failsafe = &led_power;
-               led-running = &led_power;
-               led-upgrade = &led_power;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               led_power: power {
-                       label = "rt-ac85p:blue:power";
-                       gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
-               };
-
-               wlan5g {
-                       label = "rt-ac85p:blue:wlan5g";
-                       gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy1radio";
-               };
-
-               wlan2g {
-                       label = "rt-ac85p:blue:wlan2g";
-                       gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy0radio";
-               };
-       };
 };
index f31e74b0516001daeea0f69e5ea1ce39d6b3be91..b5e8655cb9b2a9043007a9d46fdcab568986c841 100644 (file)
@@ -6,6 +6,13 @@
 #include <dt-bindings/input/input.h>
 
 / {
+       aliases {
+               led-boot = &led_power;
+               led-failsafe = &led_power;
+               led-running = &led_power;
+               led-upgrade = &led_power;
+       };
+
        keys {
                compatible = "gpio-keys";
 
                        linux,code = <KEY_WPS_BUTTON>;
                };
        };
+
+       leds {
+               compatible = "gpio-leds";
+
+               led_power: power {
+                       label = "blue:power";
+                       gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
+               };
+
+               wlan5g {
+                       label = "blue:wlan5g";
+                       gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "phy1radio";
+               };
+
+               wlan2g {
+                       label = "blue:wlan2g";
+                       gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "phy0radio";
+               };
+       };
 };
 
 &i2c {
index 21c763c1e10d2388a6b07e32fbeb2c6b5b3d160f..f9211463f85971c7ae6de26107a887ffccad60ad 100644 (file)
                compatible = "gpio-leds";
 
                internet_g {
-                       label = "wsr-1166:green:internet";
+                       label = "green:internet";
                        gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
                };
 
                router_g {
-                       label = "wsr-1166:green:router";
+                       label = "green:router";
                        gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
                };
 
                router_o {
-                       label = "wsr-1166:orange:router";
+                       label = "orange:router";
                        gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                };
 
                internet_o {
-                       label = "wsr-1166:orange:internet";
+                       label = "orange:internet";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
 
                wifi_o {
-                       label = "wsr-1166:orange:wifi";
+                       label = "orange:wifi";
                        gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "wsr-1166:green:power";
+                       label = "green:power";
                        gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
                };
 
                diag {
-                       label = "wsr-1166:orange:diag";
+                       label = "orange:diag";
                        gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
                };
 
                wifi_g {
-                       label = "wsr-1166:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio 48 GPIO_ACTIVE_LOW>;
                };
        };
index 9b921af757459487b97c83c9bc8c768d1273b1b2..048eac5a3dd4b9759d875da1f8ca23934e1e7145 100644 (file)
                compatible = "gpio-leds";
 
                internet_green {
-                       label = "wsr-2533dhpl:green:internet";
+                       label = "green:internet";
                        gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
                };
 
                router_green {
-                       label = "wsr-2533dhpl:green:router";
+                       label = "green:router";
                        gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
                };
 
                router_amber {
-                       label = "wsr-2533dhpl:amber:router";
+                       label = "amber:router";
                        gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                };
 
                internet_amber {
-                       label = "wsr-2533dhpl:amber:internet";
+                       label = "amber:internet";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
 
                wireless_amber {
-                       label = "wsr-2533dhpl:amber:wireless";
+                       label = "amber:wireless";
                        gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "wsr-2533dhpl:green:power";
+                       label = "green:power";
                        gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
                };
 
                led_diag: diag {
-                       label = "wsr-2533dhpl:amber:diag";
+                       label = "amber:diag";
                        gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
                };
 
                wireless_green {
-                       label = "wsr-2533dhpl:green:wireless";
+                       label = "green:wireless";
                        gpios = <&gpio 48 GPIO_ACTIVE_LOW>;
                };
        };
index a25a56c0dd5de42c26e911d21c7e6120059292c4..7392b1d7c1090d428ac8e225dcbe241c4dc8d21a 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "wsr-600:green:power";
+                       label = "green:power";
                        gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
                };
 
                wifi_o {
-                       label = "wsr-600:orange:wifi";
+                       label = "orange:wifi";
                        gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
                };
 
                diag {
-                       label = "wsr-600:orange:diag";
+                       label = "orange:diag";
                        gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
                };
 
                wifi_g {
-                       label = "wsr-600:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
 
                router_o {
-                       label = "wsr-600:orange:router";
+                       label = "orange:router";
                        gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
                };
 
                router_g {
-                       label = "wsr-600:green:router";
+                       label = "green:router";
                        gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
                };
 
                internet_o {
-                       label = "wsr-600:orange:internet";
+                       label = "orange:internet";
                        gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
                };
 
                internet_g {
-                       label = "wsr-600:green:internet";
+                       label = "green:internet";
                        gpios = <&gpio 48 GPIO_ACTIVE_LOW>;
                };
        };
index 34b43ff5cc7da2ff494416260598b4a24181d9cb..5622855f487cba95c1b4213cd55a5f7eabc5c39e 100644 (file)
                compatible = "gpio-leds";
 
                power-amber {
-                       label = "newifi-d2:amber:power";
+                       label = "amber:power";
                        gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
                };
 
                led_power_blue: power-blue {
-                       label = "newifi-d2:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
                };
 
                internet-amber {
-                       label = "newifi-d2:amber:internet";
+                       label = "amber:internet";
                        gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
                };
 
                internet-blue {
-                       label = "newifi-d2:blue:internet";
+                       label = "blue:internet";
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g {
-                       label = "newifi-d2:blue:wlan2g";
+                       label = "blue:wlan2g";
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                };
 
                wlan5g {
-                       label = "newifi-d2:blue:wlan5g";
+                       label = "blue:wlan5g";
                        gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "newifi-d2:blue:usb";
+                       label = "blue:usb";
                        gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
                        linux,default-trigger = "usbport";
index 0d939f5883678ef548e2557205c9f614d65e8ffc..2fcdce5f19bbb320cbd5264e8a4f062b46c4cf0c 100644 (file)
                compatible = "gpio-leds";
 
                power {
-                       label = "pbr-m1:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
 
                led_sys: sys {
-                       label = "pbr-m1:blue:sys";
+                       label = "blue:sys";
                        gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
                };
 
                internet {
-                       label = "pbr-m1:blue:internet";
+                       label = "blue:internet";
                        gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g {
-                       label = "pbr-m1:blue:wlan2g";
+                       label = "blue:wlan2g";
                        gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
                };
 
                wlan5g {
-                       label = "pbr-m1:blue:wlan5g";
+                       label = "blue:wlan5g";
                        gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
                };
        };
index 14974c8c4a3bd5735ebbc5678fbf22ea15df57c9..0f4fbc1873a148ed10e87dabc0eb68db1d9777e8 100644 (file)
@@ -5,43 +5,14 @@
 / {
        compatible = "dlink,dir-1960-a1", "mediatek,mt7621-soc";
        model = "D-Link DIR-1960 A1";
+};
 
-       aliases {
-               led-boot = &led_power_orange;
-               led-failsafe = &led_power_white;
-               led-running = &led_power_white;
-               led-upgrade = &led_net_orange;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               led_power_orange: power_orange {
-                       label = "dir-1960-a1:orange:power";
-                       gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
-               };
-
-               led_power_white: power_white {
-                       label = "dir-1960-a1:white:power";
-                       gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
-               };
-
-               led_net_orange: net_orange {
-                       label = "dir-1960-a1:orange:net";
-                       gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
-               };
-
-               net_white {
-                       label = "dir-1960-a1:white:net";
-                       gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
-               };
-
-               usb_white {
-                       label = "dir-1960-a1:white:usb";
-                       gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
-                       trigger-sources = <&xhci_ehci_port1>;
-                       linux,default-trigger = "usbport";
-               };
+&leds {
+       usb_white {
+               label = "white:usb";
+               gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
+               trigger-sources = <&xhci_ehci_port1>;
+               linux,default-trigger = "usbport";
        };
 };
 
index c185285eb62a494be9d3faabf8e0c9d5427f2954..fbf233d96f18e75bbedbf57939f8c4409555ec6d 100644 (file)
@@ -5,50 +5,21 @@
 / {
        compatible = "dlink,dir-2660-a1", "mediatek,mt7621-soc";
        model = "D-Link DIR-2660 A1";
+};
 
-       aliases {
-               led-boot = &led_power_orange;
-               led-failsafe = &led_power_white;
-               led-running = &led_power_white;
-               led-upgrade = &led_net_orange;
+&leds {
+       usb2_white {
+               label = "white:usb2";
+               gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
+               trigger-sources = <&ehci_port2>;
+               linux,default-trigger = "usbport";
        };
 
-       leds {
-               compatible = "gpio-leds";
-
-               led_power_orange: power_orange {
-                       label = "dir-2660-a1:orange:power";
-                       gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
-               };
-
-               led_power_white: power_white {
-                       label = "dir-2660-a1:white:power";
-                       gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
-               };
-
-               led_net_orange: net_orange {
-                       label = "dir-2660-a1:orange:net";
-                       gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
-               };
-
-               net_white {
-                       label = "dir-2660-a1:white:net";
-                       gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
-               };
-
-               usb2_white {
-                       label = "dir-2660-a1:white:usb2";
-                       gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
-                       trigger-sources = <&ehci_port2>;
-                       linux,default-trigger = "usbport";
-               };
-
-               usb3_white {
-                       label = "dir-2660-a1:white:usb3";
-                       gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
-                       trigger-sources = <&xhci_ehci_port1>;
-                       linux,default-trigger = "usbport";
-               };
+       usb3_white {
+               label = "white:usb3";
+               gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
+               trigger-sources = <&xhci_ehci_port1>;
+               linux,default-trigger = "usbport";
        };
 };
 
index 68146b05186a56876fda7d6a05c3517e183774de..5d1c33673656bd57f08e1f15ed44be19c1f73aa7 100644 (file)
                compatible = "gpio-leds";
 
                power {
-                       label = "dir-860l-b1:orange:power";
+                       label = "orange:power";
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                };
 
                led_power_green: power2 {
-                       label = "dir-860l-b1:green:power";
+                       label = "green:power";
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
                };
 
                net {
-                       label = "dir-860l-b1:orange:net";
+                       label = "orange:net";
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                };
 
                net2 {
-                       label = "dir-860l-b1:green:net";
+                       label = "green:net";
                        gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
                };
        };
index 060f7a47c0e063dc0efd5ea71c1dd69c8228008f..b2ba5ecaa9281fa601f577580a748702c25913a9 100644 (file)
@@ -5,35 +5,4 @@
 / {
        compatible = "dlink,dir-867-a1", "mediatek,mt7621-soc";
        model = "D-Link DIR-867 A1";
-
-       aliases {
-               led-boot = &led_power_orange;
-               led-failsafe = &led_power_green;
-               led-running = &led_power_green;
-               led-upgrade = &led_net_orange;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               led_power_orange: power_orange {
-                       label = "dir-867-a1:orange:power";
-                       gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
-               };
-
-               led_power_green: power_green {
-                       label = "dir-867-a1:green:power";
-                       gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
-               };
-
-               led_net_orange: net_orange {
-                       label = "dir-867-a1:orange:net";
-                       gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
-               };
-
-               net_green {
-                       label = "dir-867-a1:green:net";
-                       gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
-               };
-       };
 };
index 05a6a6543fc29d62cfe54ef500a4a239c830453a..4bfe5ca43c2143494d4af52c1820d55b95b77618 100644 (file)
@@ -5,35 +5,4 @@
 / {
        compatible = "dlink,dir-878-a1", "mediatek,mt7621-soc";
        model = "D-Link DIR-878 A1";
-
-       aliases {
-               led-boot = &led_power_orange;
-               led-failsafe = &led_power_green;
-               led-running = &led_power_green;
-               led-upgrade = &led_net_orange;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               led_power_orange: power_orange {
-                       label = "dir-878-a1:orange:power";
-                       gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
-               };
-
-               led_power_green: power_green {
-                       label = "dir-878-a1:green:power";
-                       gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
-               };
-
-               led_net_orange: net_orange {
-                       label = "dir-878-a1:orange:net";
-                       gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
-               };
-
-               net_green {
-                       label = "dir-878-a1:green:net";
-                       gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
-               };
-       };
 };
index 07a257be709bab642ac5bf8e6934118297f293e6..bc2c6dfe867fc86e8b9803b86979bc55a6b5a242 100644 (file)
@@ -5,49 +5,20 @@
 / {
        compatible = "dlink,dir-882-a1", "mediatek,mt7621-soc";
        model = "D-Link DIR-882 A1";
+};
 
-       aliases {
-               led-boot = &led_power_orange;
-               led-failsafe = &led_power_green;
-               led-running = &led_power_green;
-               led-upgrade = &led_net_orange;
+&leds {
+       usb2 {
+               label = "green:usb2";
+               gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
+               trigger-sources = <&ehci_port2>;
+               linux,default-trigger = "usbport";
        };
 
-       leds {
-               compatible = "gpio-leds";
-
-               led_power_orange: power_orange {
-                       label = "dir-882-a1:orange:power";
-                       gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
-               };
-
-               led_power_green: power_green {
-                       label = "dir-882-a1:green:power";
-                       gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
-               };
-
-               led_net_orange: net_orange {
-                       label = "dir-882-a1:orange:net";
-                       gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
-               };
-
-               net_green {
-                       label = "dir-882-a1:green:net";
-                       gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
-               };
-
-               usb2 {
-                       label = "dir-882-a1:green:usb2";
-                       gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
-                       trigger-sources = <&ehci_port2>;
-                       linux,default-trigger = "usbport";
-               };
-
-               usb3 {
-                       label = "dir-882-a1:green:usb3";
-                       gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
-                       trigger-sources = <&xhci_ehci_port1>;
-                       linux,default-trigger = "usbport";
-               };
+       usb3 {
+               label = "green:usb3";
+               gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
+               trigger-sources = <&xhci_ehci_port1>;
+               linux,default-trigger = "usbport";
        };
 };
index 9320967e715e5601b5b4d423d0d44ca49aacd6b6..e451d6a39fa4a9f765f4d33b87c496e23d5832ec 100644 (file)
@@ -8,6 +8,10 @@
 / {
        aliases {
                label-mac-device = &gmac0;
+               led-boot = &led_power_orange;
+               led-failsafe = &led_power_green;
+               led-running = &led_power_green;
+               led-upgrade = &led_net_orange;
        };
 
        keys {
                        linux,code = <KEY_RFKILL>;
                };
        };
+
+       leds: leds {
+               compatible = "gpio-leds";
+
+               led_power_orange: power_orange {
+                       label = "orange:power";
+                       gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
+               };
+
+               led_power_green: power_green {
+                       label = "green:power";
+                       gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
+               };
+
+               led_net_orange: net_orange {
+                       label = "orange:net";
+                       gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
+               };
+
+               net_green {
+                       label = "green:net";
+                       gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
+               };
+       };
 };
 
 &spi0 {
index e194592b572e9f5eb94089bd225721ff05a7d497..96c69211243b2e958382f5ffc15b770b02fd7324 100644 (file)
@@ -8,6 +8,10 @@
 / {
        aliases {
                label-mac-device = &gmac0;
+               led-boot = &led_power_orange;
+               led-failsafe = &led_power_white;
+               led-running = &led_power_white;
+               led-upgrade = &led_net_orange;
        };
 
        keys {
                        linux,code = <KEY_WPS_BUTTON>;
                };
        };
+
+       leds: leds {
+               compatible = "gpio-leds";
+
+               led_power_orange: power_orange {
+                       label = "orange:power";
+                       gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
+               };
+
+               led_power_white: power_white {
+                       label = "white:power";
+                       gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
+               };
+
+               led_net_orange: net_orange {
+                       label = "orange:net";
+                       gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
+               };
+
+               net_white {
+                       label = "white:net";
+                       gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
+               };
+       };
 };
 
 &nand {
index 8938db5107d158bfda732cda0a91fcb872e069d2..1aea9490047de047b2a8552ce572830f55dc655c 100644 (file)
@@ -5,35 +5,4 @@
 / {
        compatible = "edimax,ra21s", "mediatek,mt7621-soc";
        model = "Edimax RA21S";
-
-       aliases {
-               led-boot = &led_power;
-               led-failsafe = &led_power;
-               led-running = &led_power;
-               led-upgrade = &led_power;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               led_power: led_1 {
-                       label = "ra21s:red:led1";
-                       gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
-               };
-
-               led_2 {
-                       label = "ra21s:red:led2";
-                       gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
-               };
-
-               led_3 {
-                       label = "ra21s:red:led3";
-                       gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
-               };
-
-               led_4 {
-                       label = "ra21s:red:led4";
-                       gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
-               };
-       };
 };
index e79b5bb2d28a50659382489cb15f08ad04746eca..cf44746e8f613588bc80cae9f4afbcc93c7db1a2 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "re23s:green:power";
+                       label = "green:power";
                        gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
                };
 
                wifi_green {
-                       label = "re23s:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
                };
 
                wifi_amber {
-                       label = "re23s:amber:wifi";
+                       label = "amber:wifi";
                        gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
                };
 
                led_wifi_red: wifi_red {
-                       label = "re23s:red:wifi";
+                       label = "red:wifi";
                        gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
                };
        };
index 0180c5b8cb811fa854605a6a82c864ef4383dcb2..6ac01dd86d073f55f78d2abbc2cf418a00784738 100644 (file)
@@ -5,35 +5,4 @@
 / {
        compatible = "edimax,rg21s", "mediatek,mt7621-soc";
        model = "Edimax RG21S";
-
-       aliases {
-               led-boot = &led_power;
-               led-failsafe = &led_power;
-               led-running = &led_power;
-               led-upgrade = &led_power;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               led_power: led_1 {
-                       label = "rg21s:red:led1";
-                       gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
-               };
-
-               led_2 {
-                       label = "rg21s:red:led2";
-                       gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
-               };
-
-               led_3 {
-                       label = "rg21s:red:led3";
-                       gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
-               };
-
-               led_4 {
-                       label = "rg21s:red:led4";
-                       gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
-               };
-       };
 };
index 4f30972f601fd46482a2e7e51df735a853c41b86..3f3bae43f168a1edaddbb11a0c0f3c71c0646c76 100644 (file)
@@ -8,6 +8,10 @@
 / {
        aliases {
                label-mac-device = &gmac0;
+               led-boot = &led_power;
+               led-failsafe = &led_power;
+               led-running = &led_power;
+               led-upgrade = &led_power;
        };
 
        keys {
                        linux,code = <KEY_WPS_BUTTON>;
                };
        };
+
+       leds {
+               compatible = "gpio-leds";
+
+               led_power: led_1 {
+                       label = "red:led1";
+                       gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
+               };
+
+               led_2 {
+                       label = "red:led2";
+                       gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
+               };
+
+               led_3 {
+                       label = "red:led3";
+                       gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
+               };
+
+               led_4 {
+                       label = "red:led4";
+                       gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
+               };
+       };
 };
 
 &spi0 {
index 4d8e20d9f25596af7d79cd37564f2b7b4dc17768..b6a73835574722140a026c7c82c8923914ef6f35 100644 (file)
                compatible = "gpio-leds";
 
                wlan2g {
-                       label = "wrc-1167ghbk2-s:white:wlan2g";
+                       label = "white:wlan2g";
                        gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0radio";
                };
 
                wlan5g {
-                       label = "wrc-1167ghbk2-s:white:wlan5g";
+                       label = "white:wlan5g";
                        gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
                };
 
                led_power_green: power_green {
-                       label = "wrc-1167ghbk2-s:green:power";
+                       label = "green:power";
                        gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
                };
 
                power_blue {
-                       label = "wrc-1167ghbk2-s:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
                };
 
                wps {
-                       label = "wrc-1167ghbk2-s:red:wps";
+                       label = "red:wps";
                        gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
                };
 
                power_red {
-                       label = "wrc-1167ghbk2-s:red:power";
+                       label = "red:power";
                        gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
                };
        };
index a9ed9f6a41e96d964a949bc95a8c199aceb960b1..fd54ead0bc8292b851db8fcebbf879e13434bb7f 100644 (file)
                compatible = "gpio-leds";
 
                led_power_green: power_green {
-                       label = "wrc-gst:green:power";
+                       label = "green:power";
                        gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
                };
 
                power_blue {
-                       label = "wrc-gst:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
                };
 
                wps {
-                       label = "wrc-gst:red:wps";
+                       label = "red:wps";
                        gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
                };
 
                power_red {
-                       label = "wrc-gst:red:power";
+                       label = "red:power";
                        gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
                };
        };
index e0a4634547c51308372ca214fc7cc1d1b5205c09..62423f02e5c4addd1e8713ac899f08f051415dd2 100644 (file)
@@ -18,7 +18,7 @@
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "firewrt:green:power";
+                       label = "green:power";
                        gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
                };
        };
index 97488b2d7add4c7da43e388b7dc4ff83901a5629..e7b19fa42c1c059c97c0db53d4dfa73edfbac8f7 100644 (file)
                compatible = "gpio-leds";
 
                internet {
-                       label = "ghl-r-001:blue:internet";
+                       label = "blue:internet";
                        gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "ghl-r-001:blue:usb";
+                       label = "blue:usb";
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
                        linux,default-trigger = "usbport";
index 4f0152e36404c04f84dfbb29fcd6e98ece531765..c218521c03cf5bcdfc56fdafd5137615fff52710 100644 (file)
                compatible = "gpio-leds";
 
                system {
-                       label = "gb-pc1:green:system";
+                       label = "green:system";
                        gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
                };
 
                led_status: status {
-                       label = "gb-pc1:green:status";
+                       label = "green:status";
                        gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
                };
 
                lan1 {
-                       label = "gb-pc1:green:lan1";
+                       label = "green:lan1";
                        gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
                };
 
                lan2 {
-                       label = "gb-pc1:green:lan2";
+                       label = "green:lan2";
                        gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
                };
        };
index e617f43255c00daffb93dbf9573b32a84c9cce1e..613524d1da5f48895e63cc8671e8d2c8eb86365d 100644 (file)
                compatible = "gpio-leds";
 
                system {
-                       label = "gb-pc2:green:system";
+                       label = "green:system";
                        gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
                };
 
                led_status: status {
-                       label = "gb-pc2:green:status";
+                       label = "green:status";
                        gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
                };
 
                lan1 {
-                       label = "gb-pc2:green:lan1";
+                       label = "green:lan1";
                        gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
                };
 
                lan2 {
-                       label = "gb-pc2:green:lan2";
+                       label = "green:lan2";
                        gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
                };
 
                lan3-yellow {
-                       label = "gb-pc2:yellow:lan3";
+                       label = "yellow:lan3";
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                };
 
                lan3-green {
-                       label = "gb-pc2:green:lan3";
+                       label = "green:lan3";
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
                };
        };
index 5bb6544d12d80248383dcb44a23c9e651912b7f3..87b103f5391ab1710c48c5b054b02886e863a304 100644 (file)
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "hc5962:white:status";
+                       label = "white:status";
                        gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
                };
 
                led_system: system {
-                       label = "hc5962:red:system";
+                       label = "red:system";
                        gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
                        panic-indicator;
                };
index 546abd023a4f5717786f780d77866c88762f334b..879fb68c853bb4e48988e3c0d33b5efb49ced580 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "wn-ax1167gr:green:power";
+                       label = "green:power";
                        gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "wn-ax1167gr:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
                };
        };
index 0a18518de6cd710080b4ed49a8a36b111b404be6..06d024e9a7c75a6e59bcce4b7206d4c495fb319c 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "wn-gx300gr:green:power";
+                       label = "green:power";
                        gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "wn-gx300gr:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
                };
        };
index 1ed9380b37331730ffeab193f0319c2d678a2ae8..ff9e525ae28deab3957f0a04aa1be325affa6bfc 100644 (file)
                compatible = "gpio-leds";
 
                wps {
-                       label = "iodata:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "iodata:green:power";
+                       label = "green:power";
                        gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
                };
        };
index 827e606b52b6f38465e420424b15cf2b8875f025..0e808f6894103c28bb737635a7791cc0562a9b09 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "wnpr2600g:green:power";
+                       label = "green:power";
                        gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
                };
 
                notification {
-                       label = "wnpr2600g:green:notification";
+                       label = "green:notification";
                        gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
                };
 
                wlan2g {
-                       label = "wnpr2600g:green:wlan2g";
+                       label = "green:wlan2g";
                        gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy0radio";
                };
 
                wlan5g {
-                       label = "wnpr2600g:green:wlan5g";
+                       label = "green:wlan5g";
                        gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy1radio";
                };
index 9e7cbf39bebc57658a47f2d5270a1240708aa566..4ebd980521fb62ae121a3c415ca5f76809f8f919 100644 (file)
                compatible = "gpio-leds";
 
                usb {
-                       label = "a6ns-m:blue:usb";
+                       label = "blue:usb";
                        gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&xhci_ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                wlan5g {
-                       label = "a6ns-m:blue:wlan5g";
+                       label = "blue:wlan5g";
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0radio";
                };
 
                wlan2g {
-                       label = "a6ns-m:blue:wlan2g";
+                       label = "blue:wlan2g";
                        gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1radio";
                };
 
                led_cpu: cpu {
-                       label = "a6ns-m:blue:cpu";
+                       label = "blue:cpu";
                        gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
                };
        };
index cccc317cc38eda550b7a73e2f28369c9c5a305a0..df6aed664e781f63d70c167c9c153608c619d842 100644 (file)
                compatible = "gpio-leds";
 
                led_cpu: cpu {
-                       label = "a8004t:orange:cpu";
+                       label = "orange:cpu";
                        gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g {
-                       label = "a8004t:orange:wlan2g";
+                       label = "orange:wlan2g";
                        gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0radio";
                };
 
                wlan5g {
-                       label = "a8004t:orange:wlan5g";
+                       label = "orange:wlan5g";
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1radio";
                };
index 0427ae1df60adf3ea47bb6e8d82e3079579fe5bd..ae312fcc524f25d2c37738d61fa1981fbaeca516 100644 (file)
                compatible = "gpio-leds";
 
                usb3 {
-                       label = "jhr-ac876m:blue:usb3";
+                       label = "blue:usb3";
                        gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&xhci_ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                usb2 {
-                       label = "jhr-ac876m:blue:usb2";
+                       label = "blue:usb2";
                        gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ehci_port2>;
                        linux,default-trigger = "usbport";
                };
 
                led_wps: wps {
-                       label = "jhr-ac876m:blue:wps";
+                       label = "blue:wps";
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                };
        };
index d76014d10470e190f7e731480dbfaf29d2ef4dc0..fa269007204b1d7a89e563e29d98e5534674b521 100644 (file)
                compatible = "gpio-leds";
 
                status-red {
-                       label = "newifi-d1:red:status";
+                       label = "red:status";
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                };
 
                status-green {
-                       label = "newifi-d1:green:status";
+                       label = "green:status";
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                };
 
                led_blue: status-blue {
-                       label = "newifi-d1:blue:status";
+                       label = "blue:status";
                        gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
index 9636559e09f98524911cf2259116512affd6939e..3e50d85e9c36eea23c6e39275af810674817dc38 100644 (file)
@@ -5,50 +5,4 @@
 / {
        compatible = "linksys,ea7300-v1", "mediatek,mt7621-soc";
        model = "Linksys EA7300 v1";
-
-       aliases {
-               led-boot = &led_power;
-               led-failsafe = &led_power;
-               led-running = &led_power;
-               led-upgrade = &led_power;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               wan_green {
-                       label = "ea7300-v1:green:wan";
-                       gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
-               };
-
-               lan1_green {
-                       label = "ea7300-v1:green:lan1";
-                       gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
-               };
-
-               lan2_green {
-                       label = "ea7300-v1:green:lan2";
-                       gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
-               };
-
-               lan3_green {
-                       label = "ea7300-v1:green:lan3";
-                       gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
-               };
-
-               lan4_green {
-                       label = "ea7300-v1:green:lan4";
-                       gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
-               };
-
-               led_power: power {
-                       label = "ea7300-v1:white:power";
-                       gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
-               };
-
-               wps {
-                       label = "ea7300-v1:green:wps";
-                       gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
-               };
-       };
 };
index 359ad17f86ef2ea1d483fb4f138d4e22a2411518..4ee148828a8eb808d29846e5518fba918dc9f84e 100644 (file)
@@ -5,50 +5,4 @@
 / {
        compatible = "linksys,ea7300-v2", "mediatek,mt7621-soc";
        model = "Linksys EA7300 v2";
-
-       aliases {
-               led-boot = &led_power;
-               led-failsafe = &led_power;
-               led-running = &led_power;
-               led-upgrade = &led_power;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               wan_green {
-                       label = "ea7300-v2:green:wan";
-                       gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
-               };
-
-               lan1_green {
-                       label = "ea7300-v2:green:lan1";
-                       gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
-               };
-
-               lan2_green {
-                       label = "ea7300-v2:green:lan2";
-                       gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
-               };
-
-               lan3_green {
-                       label = "ea7300-v2:green:lan3";
-                       gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
-               };
-
-               lan4_green {
-                       label = "ea7300-v2:green:lan4";
-                       gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
-               };
-
-               led_power: power {
-                       label = "ea7300-v2:white:power";
-                       gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
-               };
-
-               wps {
-                       label = "ea7300-v2:green:wps";
-                       gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
-               };
-       };
 };
index 7f611b9815d1f8e2fd969251797dacf68ff5d887..8e13cc26ad093fd990242a7775d5afcf9a75eaf3 100644 (file)
@@ -5,50 +5,4 @@
 / {
        compatible = "linksys,ea7500-v2", "mediatek,mt7621-soc";
        model = "Linksys EA7500 v2";
-
-       aliases {
-               led-boot = &led_power;
-               led-failsafe = &led_power;
-               led-running = &led_power;
-               led-upgrade = &led_power;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               wan_green {
-                       label = "ea7500-v2:green:wan";
-                       gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
-               };
-
-               lan1_green {
-                       label = "ea7500-v2:green:lan1";
-                       gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
-               };
-
-               lan2_green {
-                       label = "ea7500-v2:green:lan2";
-                       gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
-               };
-
-               lan3_green {
-                       label = "ea7500-v2:green:lan3";
-                       gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
-               };
-
-               lan4_green {
-                       label = "ea7500-v2:green:lan4";
-                       gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
-               };
-
-               led_power: power {
-                       label = "ea7500-v2:white:power";
-                       gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
-               };
-
-               wps {
-                       label = "ea7500-v2:green:wps";
-                       gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
-               };
-       };
 };
index 46b1c9cdfc6446549ef3f66620d3c812f6f45f41..ecff6406d588dc8e5653a033b033ab1938725626 100644 (file)
@@ -6,6 +6,13 @@
 #include <dt-bindings/input/input.h>
 
 / {
+       aliases {
+               led-boot = &led_power;
+               led-failsafe = &led_power;
+               led-running = &led_power;
+               led-upgrade = &led_power;
+       };
+
        chosen {
                bootargs = "console=ttyS0,115200";
        };
                        linux,code = <KEY_RESTART>;
                };
        };
+
+       leds {
+               compatible = "gpio-leds";
+
+               wan_green {
+                       label = "green:wan";
+                       gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
+               };
+
+               lan1_green {
+                       label = "green:lan1";
+                       gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
+               };
+
+               lan2_green {
+                       label = "green:lan2";
+                       gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
+               };
+
+               lan3_green {
+                       label = "green:lan3";
+                       gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
+               };
+
+               lan4_green {
+                       label = "green:lan4";
+                       gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
+               };
+
+               led_power: power {
+                       label = "white:power";
+                       gpios = <&gpio 10 GPIO_ACTIVE_HIGH>;
+               };
+
+               wps {
+                       label = "green:wps";
+                       gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
+               };
+       };
 };
 
 &nand {
index 6313e85adf243ba9d19d38fe08d138a89c5151a2..319d0d7fb2156efba58a47b18c19bc6db16f5a2a 100644 (file)
                compatible = "gpio-leds";
 
                wifi {
-                       label = "re6500:orange:wifi";
+                       label = "orange:wifi";
                        gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
                };
 
                led_power: power {
-                       label = "re6500:white:power";
+                       label = "white:power";
                        gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
                };
        };
index a4d16dc1317255d4a291b47ce6a420369f792ce8..7f329b23593fcf80b3c182a3c6dae138cc252520 100644 (file)
                compatible = "gpio-leds";
 
                pwr {
-                       label = "routerboard-750gr3:blue:pwr";
+                       label = "blue:pwr";
                        gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
                };
 
                led_usr: usr {
-                       label = "routerboard-750gr3:green:usr";
+                       label = "green:usr";
                        gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
                };
        };
index ca1b3cc42105ad6a8086bc604629c6e2c09ad590..ed0b4e52cf9175803579080bfd2c22174db57fa3 100644 (file)
                compatible = "gpio-leds";
 
                led_pwr: pwr {
-                       label = "routerboard-760igs:blue:pwr";
+                       label = "blue:pwr";
                        gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
                };
 
                sfp {
-                       label = "routerboard-760igs:blue:sfp";
+                       label = "blue:sfp";
                        gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
                };
        };
index 1180c8a979c2fe9b79785c478135e9e8903c5572..20a834a3ebfee5e7b5c5154c8428436b4b66bf95 100644 (file)
                compatible = "gpio-leds";
 
                led_usr: usr {
-                       label = "routerboard-m11g:green:usr";
+                       label = "green:usr";
                        gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
                };
 
                rssi0 {
-                       label = "routerboard-m11g:green:rssi0";
+                       label = "green:rssi0";
                        gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
                };
 
                rssi1 {
-                       label = "routerboard-m11g:green:rssi1";
+                       label = "green:rssi1";
                        gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
                };
 
                rssi2 {
-                       label = "routerboard-m11g:green:rssi2";
+                       label = "green:rssi2";
                        gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
                };
 
                rssi3 {
-                       label = "routerboard-m11g:green:rssi3";
+                       label = "green:rssi3";
                        gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
                };
 
                rssi4 {
-                       label = "routerboard-m11g:green:rssi4";
+                       label = "green:rssi4";
                        gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
                };
        };
index 5597dc812e911abe072dae56faca3928a89d4550..affbaf35b720cafe492f3ed0b14812fa1624c2ef 100644 (file)
@@ -15,7 +15,7 @@
                compatible = "gpio-leds";
 
                led_usr: usr {
-                       label = "routerboard-m33g:green:usr";
+                       label = "green:usr";
                        gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
                };
        };
index de6a9b7f367ecd75a6190ccba5b502eb8074a19a..8a79d9ca9a6cb73da34495c2abc4e50d16cd23fd 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "wr1201:green:power";
+                       label = "green:power";
                        gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "wr1201:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
                        linux,default-trigger = "usbport";
                };
 
                eth_link {
-                       label = "wr1201:green:eth_link";
+                       label = "green:eth_link";
                        gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "wr1201:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
                };
        };
index 9a59dab98dd21a652bd90820feb17d7deeab5f6e..8fce1d7d6d527cd6f150ac8c195f4154ea52cfb7 100644 (file)
                compatible = "gpio-leds";
 
                power_amber: power_amber {
-                       label = "ex6150:amber:power";
+                       label = "amber:power";
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
                };
 
                power_green: power_green {
-                       label = "ex6150:green:power";
+                       label = "green:power";
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "ex6150:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
                };
 
                rightarrow {
-                       label = "ex6150:blue:rightarrow";
+                       label = "blue:rightarrow";
                        gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
                };
 
                leftarrow {
-                       label = "ex6150:blue:leftarrow";
+                       label = "blue:leftarrow";
                        gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
                };
 
                router_green {
-                       label = "ex6150:green:router";
+                       label = "green:router";
                        gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };
 
                router_red {
-                       label = "ex6150:red:router";
+                       label = "red:router";
                        gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
                };
 
                client_green {
-                       label = "ex6150:green:client";
+                       label = "green:client";
                        gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
                client_red {
-                       label = "ex6150:red:client";
+                       label = "red:client";
                        gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
                };
        };
index 644972d15fbe317f6d0babecf5246eb0e670c13a..cc29d4ea8e55b6ab7b3b84b3ca2bde2e2795a2fd 100644 (file)
@@ -7,26 +7,6 @@
        model = "Netgear R6220";
 };
 
-&led_power {
-       label = "r6220:green:power";
-};
-
-&led_usb {
-       label = "r6220:green:usb";
-};
-
-&led_internet {
-       label = "r6220:green:wan";
-};
-
-&led_wifi {
-       label = "r6220:green:wifi";
-};
-
-&led_wps {
-       label = "r6220:green:wps";
-};
-
 &nand {
        status = "okay";
 
index ad655eb83c9e8ead36e719bde54aa078a9ff5a3a..b32f26d89093da13e922916274897e98e5575d7d 100644 (file)
@@ -6,19 +6,3 @@
        compatible = "netgear,r6260", "mediatek,mt7621-soc";
        model = "Netgear R6260";
 };
-
-&led_power {
-       label = "r6260:green:power";
-};
-
-&led_usb {
-       label = "r6260:green:usb";
-};
-
-&led_internet {
-       label = "r6260:green:wan";
-};
-
-&led_wifi {
-       label = "r6260:green:wifi";
-};
index c43dbf1c8981f0f1258f9f725fce3ac601802020..22535c9ae63607634330d62a2e0889900289c5d8 100644 (file)
@@ -6,19 +6,3 @@
        compatible = "netgear,r6350", "mediatek,mt7621-soc";
        model = "Netgear R6350";
 };
-
-&led_power {
-       label = "r6350:green:power";
-};
-
-&led_usb {
-       label = "r6350:green:usb";
-};
-
-&led_internet {
-       label = "r6350:green:wan";
-};
-
-&led_wifi {
-       label = "r6350:green:wifi";
-};
index af9a0ee2ce8c87ebf4b92944c2acb5540a317664..b93d6aa5a79950fc9a14f7f5a751f8010e1ca81a 100644 (file)
 / {
        compatible = "netgear,r6700-v2", "mediatek,mt7621-soc";
        model = "Netgear R6700 v2";
-
-       aliases {
-               led-boot = &led_power_white;
-               led-failsafe = &led_power_orange;
-               led-running = &led_power_white;
-               led-upgrade = &led_power_orange;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               led_power_orange: power_orange {
-                       gpios = <&gpio_expander 0 GPIO_ACTIVE_LOW>;
-                       label = "r6700-v2:orange:power";
-               };
-
-               led_power_white: power_white {
-                       gpios = <&gpio_expander 1 GPIO_ACTIVE_LOW>;
-                       label = "r6700-v2:white:power";
-               };
-
-               wan_orange {
-                       gpios = <&gpio_expander 2 GPIO_ACTIVE_LOW>;
-                       label = "r6700-v2:orange:wan";
-               };
-
-               wan_white {
-                       gpios = <&gpio_expander 3 GPIO_ACTIVE_LOW>;
-                       label = "r6700-v2:white:wan";
-               };
-
-               wlan2g {
-                       gpios = <&gpio_expander 4 GPIO_ACTIVE_LOW>;
-                       label = "r6700-v2:white:wlan2g";
-                       linux,default-trigger = "phy0radio";
-               };
-
-               wlan5g {
-                       gpios = <&gpio_expander 5 GPIO_ACTIVE_LOW>;
-                       label = "r6700-v2:white:wlan5g";
-                       linux,default-trigger = "phy1radio";
-               };
-
-               guest_wifi {
-                       gpios = <&gpio_expander 6 GPIO_ACTIVE_LOW>;
-                       label = "r6700-v2:white:guest_wifi";
-               };
-
-               usb3 {
-                       gpios = <&gpio_expander 7 GPIO_ACTIVE_LOW>;
-                       label = "r6700-v2:white:usb3";
-                       linux,default-trigger = "usbport";
-                       trigger-sources = <&xhci_ehci_port1>;
-               };
-
-               lan1_orange {
-                       gpios = <&gpio_expander 8 GPIO_ACTIVE_LOW>;
-                       label = "r6700-v2:orange:lan1";
-               };
-
-               lan1_white {
-                       gpios = <&gpio_expander 9 GPIO_ACTIVE_LOW>;
-                       label = "r6700-v2:white:lan1";
-               };
-
-               lan2_orange {
-                       gpios = <&gpio_expander 10 GPIO_ACTIVE_LOW>;
-                       label = "r6700-v2:orange:lan2";
-               };
-
-               lan2_white {
-                       gpios = <&gpio_expander 11 GPIO_ACTIVE_LOW>;
-                       label = "r6700-v2:white:lan2";
-               };
-
-               lan3_orange {
-                       gpios = <&gpio_expander 12 GPIO_ACTIVE_LOW>;
-                       label = "r6700-v2:orange:lan3";
-               };
-
-               lan3_white {
-                       gpios = <&gpio_expander 13 GPIO_ACTIVE_LOW>;
-                       label = "r6700-v2:white:lan3";
-               };
-
-               lan4_orange {
-                       gpios = <&gpio_expander 14 GPIO_ACTIVE_LOW>;
-                       label = "r6700-v2:orange:lan4";
-               };
-
-               lan4_white {
-                       gpios = <&gpio_expander 15 GPIO_ACTIVE_LOW>;
-                       label = "r6700-v2:white:lan4";
-               };
-
-               wps {
-                       gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
-                       label = "r6700-v2:white:wps";
-               };
-
-               wlan {
-                       gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
-                       label = "r6700-v2:white:wlan";
-               };
-       };
 };
 
-&state_default {
-       gpio {
-               groups = "uart3", "uart2", "jtag", "wdt";
-               function = "gpio";
+&leds {
+       guest_wifi {
+               gpios = <&gpio_expander 6 GPIO_ACTIVE_LOW>;
+               label = "white:guest_wifi";
        };
 };
index 9b6de32b50c34856557f8b33fd7487c2a0592223..c7afc5301658931aa172e814c2f03d966ab45321 100644 (file)
 / {
        compatible = "netgear,r6800", "mediatek,mt7621-soc";
        model = "Netgear R6800";
-
-       aliases {
-               led-boot = &led_power_white;
-               led-failsafe = &led_power_orange;
-               led-running = &led_power_white;
-               led-upgrade = &led_power_orange;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               led_power_orange: power_orange {
-                       gpios = <&gpio_expander 0 GPIO_ACTIVE_LOW>;
-                       label = "r6800:orange:power";
-               };
-
-               led_power_white: power_white {
-                       gpios = <&gpio_expander 1 GPIO_ACTIVE_LOW>;
-                       label = "r6800:white:power";
-               };
-
-               wan_orange {
-                       gpios = <&gpio_expander 2 GPIO_ACTIVE_LOW>;
-                       label = "r6800:orange:wan";
-               };
-
-               wan_white {
-                       gpios = <&gpio_expander 3 GPIO_ACTIVE_LOW>;
-                       label = "r6800:white:wan";
-               };
-
-               wlan2g {
-                       gpios = <&gpio_expander 4 GPIO_ACTIVE_LOW>;
-                       label = "r6800:white:wlan2g";
-                       linux,default-trigger = "phy0radio";
-               };
-
-               wlan5g {
-                       gpios = <&gpio_expander 5 GPIO_ACTIVE_LOW>;
-                       label = "r6800:white:wlan5g";
-                       linux,default-trigger = "phy1radio";
-               };
-
-               usb2 {
-                       gpios = <&gpio_expander 6 GPIO_ACTIVE_LOW>;
-                       label = "r6800:white:usb2";
-                       linux,default-trigger = "usbport";
-                       trigger-sources = <&ehci_port2>;
-               };
-
-               usb3 {
-                       gpios = <&gpio_expander 7 GPIO_ACTIVE_LOW>;
-                       label = "r6800:white:usb3";
-                       linux,default-trigger = "usbport";
-                       trigger-sources = <&xhci_ehci_port1>;
-               };
-
-               lan1_orange {
-                       gpios = <&gpio_expander 8 GPIO_ACTIVE_LOW>;
-                       label = "r6800:orange:lan1";
-               };
-
-               lan1_white {
-                       gpios = <&gpio_expander 9 GPIO_ACTIVE_LOW>;
-                       label = "r6800:white:lan1";
-               };
-
-               lan2_orange {
-                       gpios = <&gpio_expander 10 GPIO_ACTIVE_LOW>;
-                       label = "r6800:orange:lan2";
-               };
-
-               lan2_white {
-                       gpios = <&gpio_expander 11 GPIO_ACTIVE_LOW>;
-                       label = "r6800:white:lan2";
-               };
-
-               lan3_orange {
-                       gpios = <&gpio_expander 12 GPIO_ACTIVE_LOW>;
-                       label = "r6800:orange:lan3";
-               };
-
-               lan3_white {
-                       gpios = <&gpio_expander 13 GPIO_ACTIVE_LOW>;
-                       label = "r6800:white:lan3";
-               };
-
-               lan4_orange {
-                       gpios = <&gpio_expander 14 GPIO_ACTIVE_LOW>;
-                       label = "r6800:orange:lan4";
-               };
-
-               lan4_white {
-                       gpios = <&gpio_expander 15 GPIO_ACTIVE_LOW>;
-                       label = "r6800:white:lan4";
-               };
-
-               wps {
-                       gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
-                       label = "r6800:white:wps";
-               };
-
-               wlan {
-                       gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
-                       label = "r6800:white:wlan";
-               };
-       };
 };
 
-&state_default {
-       gpio {
-               groups = "uart3", "uart2", "jtag", "wdt";
-               function = "gpio";
+&leds {
+       usb2 {
+               gpios = <&gpio_expander 6 GPIO_ACTIVE_LOW>;
+               label = "white:usb2";
+               linux,default-trigger = "usbport";
+               trigger-sources = <&ehci_port2>;
        };
 };
index 19eb67d2d04204422fe6638045ce458ae6ceb0af..78e90932164aca7512b2926786cbea8db293ceb9 100644 (file)
@@ -6,19 +6,3 @@
        compatible = "netgear,r6850", "mediatek,mt7621-soc";
        model = "Netgear R6850";
 };
-
-&led_power {
-       label = "r6850:green:power";
-};
-
-&led_usb {
-       label = "r6850:green:usb";
-};
-
-&led_internet {
-       label = "r6850:green:wan";
-};
-
-&led_wifi {
-       label = "r6850:green:wifi";
-};
index 0ec1a4fb3cc5c4adc0008a918cb997225db9ae19..1a19cd048b2d8b7578427e8432d4bf27ca18f913 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
+                       label = "green:power";
                        gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
                };
 
-               led_usb: usb {
+               usb {
+                       label = "green:usb";
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
                        linux,default-trigger = "usbport";
                };
 
-               led_internet: internet {
+               internet {
+                       label = "green:wan";
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                };
 
-               led_wifi: wifi {
+               wifi {
+                       label = "green:wifi";
                        gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
-               led_wps: wps {
+               wps {
+                       label = "green:wps";
                        gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
                };
        };
index eefda078606a27a390c698fd7ef83ed4928e06cf..71c95e75bd6d44036a8479a9ddf78b670b5bb1da 100644 (file)
 
        aliases {
                label-mac-device = &gmac0;
+               led-boot = &led_power_white;
+               led-failsafe = &led_power_orange;
+               led-running = &led_power_white;
+               led-upgrade = &led_power_orange;
        };
 
        keys {
                        linux,code = <KEY_RESTART>;
                };
        };
+
+       leds: leds {
+               compatible = "gpio-leds";
+
+               led_power_orange: power_orange {
+                       gpios = <&gpio_expander 0 GPIO_ACTIVE_LOW>;
+                       label = "orange:power";
+               };
+
+               led_power_white: power_white {
+                       gpios = <&gpio_expander 1 GPIO_ACTIVE_LOW>;
+                       label = "white:power";
+               };
+
+               wan_orange {
+                       gpios = <&gpio_expander 2 GPIO_ACTIVE_LOW>;
+                       label = "orange:wan";
+               };
+
+               wan_white {
+                       gpios = <&gpio_expander 3 GPIO_ACTIVE_LOW>;
+                       label = "white:wan";
+               };
+
+               wlan2g {
+                       gpios = <&gpio_expander 4 GPIO_ACTIVE_LOW>;
+                       label = "white:wlan2g";
+                       linux,default-trigger = "phy0radio";
+               };
+
+               wlan5g {
+                       gpios = <&gpio_expander 5 GPIO_ACTIVE_LOW>;
+                       label = "white:wlan5g";
+                       linux,default-trigger = "phy1radio";
+               };
+
+               usb3 {
+                       gpios = <&gpio_expander 7 GPIO_ACTIVE_LOW>;
+                       label = "white:usb3";
+                       linux,default-trigger = "usbport";
+                       trigger-sources = <&xhci_ehci_port1>;
+               };
+
+               lan1_orange {
+                       gpios = <&gpio_expander 8 GPIO_ACTIVE_LOW>;
+                       label = "orange:lan1";
+               };
+
+               lan1_white {
+                       gpios = <&gpio_expander 9 GPIO_ACTIVE_LOW>;
+                       label = "white:lan1";
+               };
+
+               lan2_orange {
+                       gpios = <&gpio_expander 10 GPIO_ACTIVE_LOW>;
+                       label = "orange:lan2";
+               };
+
+               lan2_white {
+                       gpios = <&gpio_expander 11 GPIO_ACTIVE_LOW>;
+                       label = "white:lan2";
+               };
+
+               lan3_orange {
+                       gpios = <&gpio_expander 12 GPIO_ACTIVE_LOW>;
+                       label = "orange:lan3";
+               };
+
+               lan3_white {
+                       gpios = <&gpio_expander 13 GPIO_ACTIVE_LOW>;
+                       label = "white:lan3";
+               };
+
+               lan4_orange {
+                       gpios = <&gpio_expander 14 GPIO_ACTIVE_LOW>;
+                       label = "orange:lan4";
+               };
+
+               lan4_white {
+                       gpios = <&gpio_expander 15 GPIO_ACTIVE_LOW>;
+                       label = "white:lan4";
+               };
+
+               wps {
+                       gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
+                       label = "white:wps";
+               };
+
+               wlan {
+                       gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
+                       label = "white:wlan";
+               };
+       };
+};
+
+&state_default {
+       gpio {
+               groups = "uart3", "uart2", "jtag", "wdt";
+               function = "gpio";
+       };
 };
 
 &pcie {
index dc15d5f91f2abb7b39db2e3944dac5abe5ffd283..7a15cd1f6cb4e5e062fc3bf509fc5f63a8f104ed 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
+                       label = "green:power";
                        gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
                };
 
-               led_usb: usb {
+               usb {
+                       label = "green:usb";
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
                        linux,default-trigger = "usbport";
                };
 
-               led_internet: internet {
+               internet {
+                       label = "green:wan";
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                };
 
-               led_wifi: wifi {
+               wifi {
+                       label = "green:wifi";
                        gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
index b811d80722f00ebfde4d88eccd53483d6fa02fef..fbedeb26450c61c8900130686e6739d4337e40f9 100644 (file)
                compatible = "gpio-leds";
 
                wps {
-                       label = "wac104:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "wac104:green:power";
+                       label = "green:power";
                        gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
                };
 
                wifi {
-                       label = "wac104:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
index bd23d209b71eef52467c57148abfc62cd4423445..92860c00af55bc0fadf90aae6ba410f5cad14dd0 100644 (file)
@@ -6,19 +6,3 @@
        compatible = "netgear,wac124", "mediatek,mt7621-soc";
        model = "Netgear WAC124";
 };
-
-&led_power {
-       label = "wac124:green:power";
-};
-
-&led_usb {
-       label = "wac124:green:usb";
-};
-
-&led_internet {
-       label = "wac124:green:wan";
-};
-
-&led_wifi {
-       label = "wac124:green:wifi";
-};
index 7e070b78296760322cb3ad94300f8e9f921e8168..90c0ca1276db2b8e1a88b598f28ce32617b6ce95 100644 (file)
@@ -7,26 +7,6 @@
        model = "Netgear WNDR3700 v5";
 };
 
-&led_power {
-       label = "wndr3700-v5:green:power";
-};
-
-&led_usb {
-       label = "wndr3700-v5:green:usb";
-};
-
-&led_internet {
-       label = "wndr3700-v5:green:wan";
-};
-
-&led_wifi {
-       label = "wndr3700-v5:green:wifi";
-};
-
-&led_wps {
-       label = "wndr3700-v5:green:wps";
-};
-
 &spi0 {
        status = "okay";
 
index e40fb312ee6ee72fe55b53f47ed3458e02ce44d4..7dfd133a4416e2b4f2f7f295501fb223e23e9a08 100644 (file)
                compatible = "gpio-leds";
 
                usb {
-                       label = "wf2881:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
                        linux,default-trigger = "usbport";
                };
 
                led_wps: wps {
-                       label = "wf2881:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
                };
        };
index 9825118b0815ec880f613b8573dd6e71d1a00899..83169cd1e9b705ca7b50c48b0f1b245bbd3f8a68 100644 (file)
                compatible = "gpio-leds";
 
                stat_r {
-                       label = "k2p:red:status";
+                       label = "red:status";
                        gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
                };
 
                stat_y {
-                       label = "k2p:yellow:status";
+                       label = "yellow:status";
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                };
 
                led_blue: stat_b {
-                       label = "k2p:blue:status";
+                       label = "blue:status";
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
                };
        };
index c6b9e3a2b47fe8ca9d890da76f12f100ec256a0f..5f8f190a918462ac5469b40e00b58bbf09719478 100644 (file)
@@ -18,7 +18,7 @@
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "vr500:green:power";
+                       label = "green:power";
                        gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
                };
        };
index f619d77cace2b18c9c6b18fb2c550340ac32c5c2..9561c97b7e69423148da18283dbfaf24309469f4 100644 (file)
                compatible = "gpio-leds";
 
                led_wps: wps {
-                       label = "sk-wb8:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "sk-wb8:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
                        linux,default-trigger = "usbport";
index e40d999412ffdb4c77aae531b30824c4f927402c..d44960a9a1ec4a5d5e723233a37b706d6db911d0 100644 (file)
@@ -11,7 +11,7 @@
                compatible = "gpio-leds";
 
                usb {
-                       label = "sap-g3200u3:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
                        linux,default-trigger = "usbport";
index 29aeb85b1903ccc44c5c667cae3c0b3c374d65b7..fc9b4c6d2a34e981a4805318010b05e22e6f26b9 100644 (file)
                compatible = "gpio-leds";
 
                system_led: system {
-                       label = "x1:green:system";
+                       label = "green:system";
                        gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
                };
 
                modem_offline {
-                       label = "x1:red:modem-offline";
+                       label = "red:modem-offline";
                        gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
                };
 
                modem_4g {
-                       label = "x1:blue:modem-4g";
+                       label = "blue:modem-4g";
                        gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
                };
 
                modem_3g {
-                       label = "x1:green:modem-3g";
+                       label = "green:modem-3g";
                        gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
                };
 
                modem_rssi_lowest {
-                       label = "x1:green:modem-rssi-lowest";
+                       label = "green:modem-rssi-lowest";
                        gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
                };
 
                modem_rssi_low {
-                       label = "x1:green:modem-rssi-low";
+                       label = "green:modem-rssi-low";
                        gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
                };
 
                modem_rssi_medium {
-                       label = "x1:green:modem-rssi-medium";
+                       label = "green:modem-rssi-medium";
                        gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
                };
 
                modem_rssi_high {
-                       label = "x1:green:modem-rssi-high";
+                       label = "green:modem-rssi-high";
                        gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
                };
 
                modem_rssi_highest {
-                       label = "x1:green:modem-rssi-highest";
+                       label = "green:modem-rssi-highest";
                        gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
                };
        };
index f40c0eb7c2d8d5bb9aa7f82a674ed6f29f1460d8..fe11f4f4870da1b4b17eecb7c3ec9652b3af8d83 100644 (file)
                compatible = "gpio-leds";
 
                statw {
-                       label = "timecloud:white:status";
+                       label = "white:status";
                        gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
                };
 
                led_statuso: stato {
-                       label = "timecloud:orange:status";
+                       label = "orange:status";
                        gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
                };
        };
index f217cdf66259d37fc9b780816510b829c8fd5209..d0e38f1721b4e519fc9c5bbfa1555e42bd9d185e 100644 (file)
@@ -20,7 +20,7 @@
                compatible = "gpio-leds";
 
                led_sys: sys {
-                       label = "a7000r:blue:sys";
+                       label = "blue:sys";
                        gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
                };
        };
index 5e5539e48903f5245b3599c45bf3456aa2b05386..9f29ecd8cfec3cffe1c37f6978264fc2cb6f8000 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "re350-v1:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
                };
 
                wifi2g {
-                       label = "re350-v1:blue:wifi2G";
+                       label = "blue:wifi2G";
                        gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
                };
 
                wifi5g {
-                       label = "re350-v1:blue:wifi5G";
+                       label = "blue:wifi5G";
                        gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
                };
 
                wps_r {
-                       label = "re350-v1:red:wps";
+                       label = "red:wps";
                        gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
                };
 
                wps_b {
-                       label = "re350-v1:blue:wps";
+                       label = "blue:wps";
                        gpios = <&gpio 26 GPIO_ACTIVE_HIGH>;
                };
 
                eth {
-                       label = "re350-v1:green:eth_act";
+                       label = "green:eth_act";
                        gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
                };
 
                eth2 {
-                       label = "re350-v1:green:eth_link";
+                       label = "green:eth_link";
                        gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
                };
        };
index e164f9ba2ad6cef9044dc1c9794d684405b798a1..f199423ed092d1139d61494c229e9ed269736489 100644 (file)
@@ -5,59 +5,4 @@
 / {
        compatible = "tplink,re500-v1", "mediatek,mt7621-soc";
        model = "TP-Link RE500 v1";
-
-       aliases {
-               led-boot = &led_power;
-               led-failsafe = &led_power;
-               led-running = &led_power;
-               led-upgrade = &led_power;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               led_power: power {
-                       label = "re500-v1:blue:power";
-                       gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
-               };
-
-               wifi2g {
-                       label = "re500-v1:blue:wifi2g";
-                       gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy0tpt";
-               };
-
-               wifi5g {
-                       label = "re500-v1:blue:wifi5g";
-                       gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy1tpt";
-               };
-
-               wps_red {
-                       label = "re500-v1:red:wps";
-                       gpios = <&gpio 26 GPIO_ACTIVE_HIGH>;
-               };
-
-               wps_blue {
-                       label = "re500-v1:blue:wps";
-                       gpios = <&gpio 27 GPIO_ACTIVE_HIGH>;
-               };
-
-               eth_act {
-                       label = "re500-v1:green:eth_act";
-                       gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
-               };
-
-               eth_link {
-                       label = "re500-v1:green:eth_link";
-                       gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
-               };
-       };
-};
-
-&state_default {
-       gpio {
-               groups = "rgmii2", "wdt";
-               function = "gpio";
-       };
 };
index 4e0d16c0c67fee3f7afdf52f6dbaf1a90df01754..dcc5a3b3e9f48a5ec805fd7e71566644e8d02abd 100644 (file)
@@ -5,59 +5,4 @@
 / {
        compatible = "tplink,re650-v1", "mediatek,mt7621-soc";
        model = "TP-Link RE650 v1";
-
-       aliases {
-               led-boot = &led_power;
-               led-failsafe = &led_power;
-               led-running = &led_power;
-               led-upgrade = &led_power;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               led_power: power {
-                       label = "re650-v1:blue:power";
-                       gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
-               };
-
-               wifi2g {
-                       label = "re650-v1:blue:wifi2g";
-                       gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy0tpt";
-               };
-
-               wifi5g {
-                       label = "re650-v1:blue:wifi5g";
-                       gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy1tpt";
-               };
-
-               wps_red {
-                       label = "re650-v1:red:wps";
-                       gpios = <&gpio 26 GPIO_ACTIVE_HIGH>;
-               };
-
-               wps_blue {
-                       label = "re650-v1:blue:wps";
-                       gpios = <&gpio 27 GPIO_ACTIVE_HIGH>;
-               };
-
-               eth_act {
-                       label = "re650-v1:green:eth_act";
-                       gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
-               };
-
-               eth_link {
-                       label = "re650-v1:green:eth_link";
-                       gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
-               };
-       };
-};
-
-&state_default {
-       gpio {
-               groups = "rgmii2", "wdt";
-               function = "gpio";
-       };
 };
index 7e860cb00e90a31073c14f18e7513bb09b699eb5..45a983098d2fba82f59b541762d3d9e82e2bca72 100644 (file)
@@ -8,6 +8,10 @@
 / {
        aliases {
                label-mac-device = &gmac0;
+               led-boot = &led_power;
+               led-failsafe = &led_power;
+               led-running = &led_power;
+               led-upgrade = &led_power;
        };
 
        keys {
                        linux,code = <KEY_RESTART>;
                };
        };
+
+       leds {
+               compatible = "gpio-leds";
+
+               led_power: power {
+                       label = "blue:power";
+                       gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
+               };
+
+               wifi2g {
+                       label = "blue:wifi2g";
+                       gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "phy0tpt";
+               };
+
+               wifi5g {
+                       label = "blue:wifi5g";
+                       gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "phy1tpt";
+               };
+
+               wps_red {
+                       label = "red:wps";
+                       gpios = <&gpio 26 GPIO_ACTIVE_HIGH>;
+               };
+
+               wps_blue {
+                       label = "blue:wps";
+                       gpios = <&gpio 27 GPIO_ACTIVE_HIGH>;
+               };
+
+               eth_act {
+                       label = "green:eth_act";
+                       gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
+               };
+
+               eth_link {
+                       label = "green:eth_link";
+                       gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
+               };
+       };
 };
 
 &spi0 {
        };
 };
 
+&state_default {
+       gpio {
+               groups = "rgmii2", "wdt";
+               function = "gpio";
+       };
+};
+
 &pcie {
        status = "okay";
 };
index 71638032f2033668c798fec5ccae9949339532af..4ba5f6a428d163042599e7b1d646a468dced9e4f 100644 (file)
                compatible = "gpio-leds";
 
                led_blue: dome_blue {
-                       label = "nanohd:blue:dome";
+                       label = "blue:dome";
                        gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
                };
 
                led_white: dome_white {
-                       label = "nanohd:white:dome";
+                       label = "white:dome";
                        gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
                };
        };
index ca0e2d7dcd0872a008047abaa298e5c0291a42c3..ae8f3a5e54442e89db985ae45aef928a8e4fb8d7 100644 (file)
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "u7621-06:green:status";
+                       label = "green:status";
                        gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
                };
 
                led4 {
-                       label = "u7621-06:green:led4";
+                       label = "green:led4";
                        gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
                };
 
                led5 {
-                       label = "u7621-06:green:led5";
+                       label = "green:led5";
                        gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
                };
        };
index 1dcea5f285d162367c6099f30a0f480e1d45edd3..04f656d0f6c599c8e52c96a3ac9725ba5daafcc4 100644 (file)
                compatible = "gpio-leds";
 
                led_status_blue: status_blue {
-                       label = "wl-wn531a6:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
                };
 
                led_status_red: status_red {
-                       label = "wl-wn531a6:red:power";
+                       label = "red:power";
                        gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
                };
 
                wifi2g {
-                       label = "wl-wn531a6:blue:wifi2g";
+                       label = "blue:wifi2g";
                        gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
index 66f8b9df0f76fd839ec7566821a5b88a2460de9f..60d31852f096adc14d6b37bae90dd112990be2c4 100644 (file)
@@ -8,7 +8,7 @@
                compatible = "gpio-leds";
 
                usb {
-                       label = "11acnas:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
                        linux,default-trigger = "usbport";
index 5ee466ba6bf02738656fa973f3f8fa9fa948b4bc..bd449832e3a85c982e1d923e5551fdcf2c92e8b0 100644 (file)
@@ -8,7 +8,7 @@
                compatible = "gpio-leds";
 
                usb {
-                       label = "w2914nsv2:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
                        linux,default-trigger = "usbport";
index 8e6d116f487effccb0f5c532869f675d1df5fb95..803bf5cf2407f9a3a0d55701105ac36742a2632f 100644 (file)
                compatible = "gpio-leds";
 
                night_light_white {
-                       label = "ws-wn583a6:white:night_light";
+                       label = "white:night_light";
                        gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
                };
 
                led_status_blue: status_blue {
-                       label = "ws-wn583a6:blue:status";
+                       label = "blue:status";
                        gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
                };
 
                status_amber {
-                       label = "ws-wn583a6:amber:status";
+                       label = "amber:status";
                        gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
                };
 
                led_status_red: status_red {
-                       label = "ws-wn583a6:red:status";
+                       label = "red:status";
                        gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
                };
        };
index fd9c842ececed3c54180456edea2c5e0a7ec43f7..6cca16a79b5298550be0c45bd0ba474d190cf44b 100644 (file)
                compatible = "gpio-leds";
 
                wan_yellow {
-                       label = "mi-router-ac2100:yellow:wan";
+                       label = "yellow:wan";
                        gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
                };
 
                wan_blue {
-                       label = "mi-router-ac2100:blue:wan";
+                       label = "blue:wan";
                        gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
                };
 
                led_status_yellow: status_yellow {
-                       label = "mi-router-ac2100:yellow:status";
+                       label = "yellow:status";
                        gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
                };
 
                led_status_blue: status_blue {
-                       label = "mi-router-ac2100:blue:status";
+                       label = "blue:status";
                        gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
                };
        };
index 37f34a947e13ea14349552ae62f18c11442dcf80..3df6931bd4e53009316e963e4e567e2e8cede795 100644 (file)
                compatible = "gpio-leds";
 
                led_status_blue: status_blue {
-                       label = "mir3gv2:blue:status";
+                       label = "blue:status";
                        gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
                };
 
                led_status_yellow: status_yellow {
-                       label = "mir3gv2:yellow:status";
+                       label = "yellow:status";
                        gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
                };
        };
index 1c3ff7de73ba2e2d824852e98444b1c7d7cbba62..51f4842255a88ac31ca885889d7361cf9b466c7f 100644 (file)
                compatible = "gpio-leds";
 
                led_status_red: status_red {
-                       label = "mir3g:red:status";
+                       label = "red:status";
                        gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
                };
 
                led_status_blue: status_blue {
-                       label = "mir3g:blue:status";
+                       label = "blue:status";
                        gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
                };
 
                led_status_yellow: status_yellow {
-                       label = "mir3g:yellow:status";
+                       label = "yellow:status";
                        gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
                };
 
                wan_amber {
-                       label = "mir3g:amber:wan";
+                       label = "amber:wan";
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "dsa-0.0:01:1Gbps";
                };
 
                lan1_amber {
-                       label = "mir3g:amber:lan1";
+                       label = "amber:lan1";
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "dsa-0.0:03:1Gbps";
                };
 
                lan2_amber {
-                       label = "mir3g:amber:lan2";
+                       label = "amber:lan2";
                        gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "dsa-0.0:02:1Gbps";
                };
index 6fe857e4518793f62847b632574c9d3c6952851e..43e61e91402976e64c6ee5368733b596ccae5f25 100644 (file)
                compatible = "gpio-leds";
 
                led_status_red: status_red {
-                       label = "mir3p:red:status";
+                       label = "red:status";
                        gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
                };
 
                led_status_blue: status_blue {
-                       label = "mir3p:blue:status";
+                       label = "blue:status";
                        gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
                };
 
                led_status_yellow: status_yellow {
-                       label = "mir3p:yellow:status";
+                       label = "yellow:status";
                        gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
                };
 
                wan_amber {
-                       label = "mir3p:amber:wan";
+                       label = "amber:wan";
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "dsa-0.0:04:1Gbps";
                };
 
                lan3_amber {
-                       label = "mir3p:amber:lan3";
+                       label = "amber:lan3";
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "dsa-0.0:01:1Gbps";
                };
 
                lan2_amber {
-                       label = "mir3p:amber:lan2";
+                       label = "amber:lan2";
                        gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "dsa-0.0:02:1Gbps";
                };
 
                lan1_amber {
-                       label = "mir3p:amber:lan1";
+                       label = "amber:lan1";
                        gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "dsa-0.0:03:1Gbps";
                };
index 54c8a672e4f88b865ab189277859613f217ebada..4299de318bf19ce9e2b1d22998d6a3a909315773 100644 (file)
                compatible = "gpio-leds";
 
                led_status_amber: status_amber {
-                       label = "redmi-router-ac2100:amber:status";
+                       label = "amber:status";
                        gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
                };
 
                led_status_white: status_white {
-                       label = "redmi-router-ac2100:white:status";
+                       label = "white:status";
                        gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
                };
 
                wan_amber {
-                       label = "redmi-router-ac2100:amber:wan";
+                       label = "amber:wan";
                        gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
                };
 
                wan_white {
-                       label = "redmi-router-ac2100:white:wan";
+                       label = "white:wan";
                        gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
                };
        };
index e7f9161b4653f62e58469f8555fae5d32c859598..b90ff92c70495952a77089fe9797b22d17d814bc 100644 (file)
                compatible = "gpio-leds";
 
                work {
-                       label = "xy-c5:green:work";
+                       label = "green:work";
                        gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
                };
 
                led_sys: sys {
-                       label = "xy-c5:green:sys";
+                       label = "green:sys";
                        gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
                };
        };
index 2179de0a5e3861a46cd1519a6ab51ddc2d3af9c1..182b6db5b3dbb09438c6ff1d2543bc32c6574300 100644 (file)
                compatible = "gpio-leds";
 
                power {
-                       label = "creativebox-v1:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
 
                led_sys: sys {
-                       label = "creativebox-v1:blue:sys";
+                       label = "blue:sys";
                        gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
                };
 
                internet {
-                       label = "creativebox-v1:blue:internet";
+                       label = "blue:internet";
                        gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g {
-                       label = "creativebox-v1:blue:wlan2g";
+                       label = "blue:wlan2g";
                        gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
                wlan5g {
-                       label = "creativebox-v1:blue:wlan5g";
+                       label = "blue:wlan5g";
                        gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };
index 31a9dc9b917fb8aea9277e4b95fe43acac32180f..a77d13c71c1d86099b81582789f32c2fc39ab181 100644 (file)
                compatible = "gpio-leds";
 
                internet {
-                       label = "wr1200js:blue:internet";
+                       label = "blue:internet";
                        gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
                };
 
                led_wps: wps {
-                       label = "wr1200js:blue:wps";
+                       label = "blue:wps";
                        gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "wr1200js:blue:usb";
+                       label = "blue:usb";
                        gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
                        linux,default-trigger = "usbport";
index 87ee9b8fa15cad70ff87dbf04f631b5ceb69db09..fd4395985cec740f7beb51aff8e20d9bd286df01 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "yk-l2:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
 
                led_wps: wps {
-                       label = "yk-l2:blue:wps";
+                       label = "blue:wps";
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "yk-l2:blue:usb";
+                       label = "blue:usb";
                        gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
                        linux,default-trigger = "usbport";
index 32acfe169f03f49f9100ee57fca7186faa537035..d0d656ba6db8296f7a3d01dc0346af2f985b4667 100644 (file)
@@ -32,7 +32,7 @@
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "zbt-wg2626:green:status";
+                       label = "green:status";
                        gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
                };
        };
index fe1d660060255a5806f4486ac4faf28c9990e8b8..515d37ceaa6471886f6bd438dfe34d19895c886a 100644 (file)
@@ -32,7 +32,7 @@
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "zbt-wg3526:green:status";
+                       label = "green:status";
                        gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
                };
        };
index 647e77dac6ad7dc81d53bf271384a02e28696a4c..be7e5dcf98991a20ebee87776d51c3125fa2cab4 100644 (file)
@@ -10,7 +10,7 @@
                compatible = "gpio-leds";
 
                usb {
-                       label = "freezio:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio 27 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&xhci_ehci_port1>;
                        linux,default-trigger = "usbport";
index 1746014b9c6e010017e147553d5d1b8b39849d94..0596dc71d677d79a094b8498c4059d0544acc45f 100644 (file)
                compatible = "gpio-leds";
 
                led_status_red: status_red {
-                       label = "wap6805:red:status";
+                       label = "red:status";
                        gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
                };
 
                status_blink {
-                       label = "wap6805:blink:status";
+                       label = "blink:status";
                        gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
                };
 
                led_status_green: status_green {
-                       label = "wap6805:green:status";
+                       label = "green:status";
                        gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
                };
        };
index 699bedf85815295d0eec785b6480f01720e2376c..13e22e01cd266050047ffe47da0d201bbd7b120e 100644 (file)
                compatible = "gpio-leds";
 
                led_system: system {
-                       label = "awusfree1:orange:system";
+                       label = "orange:system";
                        gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "awusfree1:blue:wlan";
+                       label = "blue:wlan";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
        };
index 2bb8d71906821da81267f8ef4242724fc4b9b72f..b638c2138feba572168b508a769f6a56638587fd 100644 (file)
@@ -5,29 +5,4 @@
 / {
        compatible = "asus,rt-n10p-v3", "mediatek,mt7628an-soc";
        model = "Asus RT-N10P V3";
-
-       leds {
-               compatible = "gpio-leds";
-
-               led_power: power {
-                       label = "rt-n10p-v3:green:power";
-                       gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
-               };
-
-               wlan {
-                       label = "rt-n10p-v3:green:wlan";
-                       gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy0tpt";
-               };
-
-               wan {
-                       label = "rt-n10p-v3:green:wan";
-                       gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
-               };
-
-               lan {
-                       label = "rt-n10p-v3:green:lan";
-                       gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
-               };
-       };
 };
index acaeb174b93d934c0c53bacd97a4adc211ee0b41..d62d4ad480ba6e6ced82a266cad21799a8b34eb6 100644 (file)
@@ -5,29 +5,4 @@
 / {
        compatible = "asus,rt-n11p-b1", "mediatek,mt7628an-soc";
        model = "Asus RT-N11P B1";
-
-       leds {
-               compatible = "gpio-leds";
-
-               led_power: power {
-                       label = "rt-n11p-b1:green:power";
-                       gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
-               };
-
-               wlan {
-                       label = "rt-n11p-b1:green:wlan";
-                       gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy0tpt";
-               };
-
-               wan {
-                       label = "rt-n11p-b1:green:wan";
-                       gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
-               };
-
-               lan {
-                       label = "rt-n11p-b1:green:lan";
-                       gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
-               };
-       };
 };
index 603a8fa5155794f577cd06548601fdf7ede8781b..8c44c36087efade22458dbf6bfb9074a639c310b 100644 (file)
@@ -5,29 +5,4 @@
 / {
        compatible = "asus,rt-n12-vp-b1", "mediatek,mt7628an-soc";
        model = "Asus RT-N12 VP B1";
-
-       leds {
-               compatible = "gpio-leds";
-
-               led_power: power {
-                       label = "rt-n12-vp-b1:green:power";
-                       gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
-               };
-
-               wlan {
-                       label = "rt-n12-vp-b1:green:wlan";
-                       gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy0tpt";
-               };
-
-               wan {
-                       label = "rt-n12-vp-b1:green:wan";
-                       gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
-               };
-
-               lan {
-                       label = "rt-n12-vp-b1:green:lan";
-                       gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
-               };
-       };
 };
index c3f7d806889144179f5e9d9eb52560644e822793..239bb08230cffdfb7c3fa4d2e4c2a84afda67e70 100644 (file)
                        linux,code = <KEY_RESTART>;
                };
        };
+
+       leds {
+               compatible = "gpio-leds";
+
+               led_power: power {
+                       label = "green:power";
+                       gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
+               };
+
+               wlan {
+                       label = "green:wlan";
+                       gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "phy0tpt";
+               };
+
+               wan {
+                       label = "green:wan";
+                       gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
+               };
+
+               lan {
+                       label = "green:lan";
+                       gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
+               };
+       };
 };
 
 &spi0 {
index 199b12ebdea6aad4b565d6829f075f2787101ca3..cb4c61ecbd230e9cde298b7f424c16a84e3d489e 100644 (file)
                compatible = "gpio-leds";
 
                router_o {
-                       label = "wcr-1166ds:orange:router";
+                       label = "orange:router";
                        gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
                };
 
                router_g {
-                       label = "wcr-1166ds:green:router";
+                       label = "green:router";
                        gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
                };
 
                internet_o {
-                       label = "wcr-1166ds:orange:internet";
+                       label = "orange:internet";
                        gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
                };
 
                internet_g {
-                       label = "wcr-1166ds:green:internet";
+                       label = "green:internet";
                        gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
                };
 
                wireless_o {
-                       label = "wcr-1166ds:orange:wireless";
+                       label = "orange:wireless";
                        gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
                };
 
                wireless_g {
-                       label = "wcr-1166ds:green:wireless";
+                       label = "green:wireless";
                        gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
                };
 
                diag {
-                       label = "wcr-1166ds:orange:diag";
+                       label = "orange:diag";
                        gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "wcr-1166ds:green:power";
+                       label = "green:power";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
        };
index 6cd48ecf29f5776f67177cfb52b3889916307a4d..adc998860003fa809a086ecdf23178860c0fd760 100644 (file)
                compatible = "gpio-leds";
 
                lan1 {
-                       label = "wr1000:blue:lan1";
+                       label = "blue:lan1";
                        gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
                };
 
                lan2 {
-                       label = "wr1000:blue:lan2";
+                       label = "blue:lan2";
                        gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
                };
 
                wan {
-                       label = "wr1000:blue:wan";
+                       label = "blue:wan";
                        gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g {
-                       label = "wr1000:blue:wlan2g";
+                       label = "blue:wlan2g";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
                led_wps: wps {
-                       label = "wr1000:blue:wps";
+                       label = "blue:wps";
                        gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
                };
        };
index c59a86586f57add8d74e7179ff223a8e40149712..e5c52322b66de3a3e242405ba879a8bd69ea483f 100644 (file)
                compatible = "gpio-leds";
 
                usb {
-                       label = "pbr-d1:orange:usb";
+                       label = "orange:usb";
                        gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                led_power: power {
-                       label = "pbr-d1:orange:power";
+                       label = "orange:power";
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
index 261771df1363acf26879f93204020e7c933c5e34..4ebe0cf11f13da6fbe9280ccd4b30bc6871ac0f4 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "gl-mt300n-v2:green:power";
+                       label = "green:power";
                        default-state = "on";
                        gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
                };
 
                wan {
-                       label = "gl-mt300n-v2:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "gl-mt300n-v2:red:wlan";
+                       label = "red:wlan";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
        };
index e4f6a92bc0b90bd33b8f4e0b6a4cdf68e948246e..09afe7211b00c34a6ca83d882c192c2b1677daa8 100644 (file)
@@ -7,14 +7,6 @@
        model = "GL.iNet microuter-N300";
 };
 
-&led_power_blue {
-       label = "microuter-n300:blue:power";
-};
-
-&led_wlan_white {
-       label = "microuter-n300:white:wlan";
-};
-
 &firmware_part {
                reg = <0x50000 0xfb0000>;
 };
index 3488b0e386d95cce95d593077d5fbb90bdb5bc4a..02c29d1ba06c366c29591be8b124b85d2a76ab2f 100644 (file)
@@ -7,14 +7,6 @@
        model = "GL.iNet VIXMINI";
 };
 
-&led_power_blue {
-       label = "vixmini:blue:power";
-};
-
-&led_wlan_white {
-       label = "vixmini:white:wlan";
-};
-
 &firmware_part {
                reg = <0x50000 0x7b0000>;
 };
index ea43a873723e254bab1e921a9d631b40a28077e5..738968d1f9f67688d18260b2d359c72bda6f98a6 100644 (file)
                compatible = "gpio-leds";
 
                led_power_blue: power {
-                       /* Name is set device-specific */
+                       label = "blue:power";
                        gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
                };
 
-               led_wlan_white: wlan {
-                       /* Name is set device-specific */
+               wlan {
+                       label = "white:wlan";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
index 69e033b4722ac49eb79996ba0a131c79e507756b..69987b3566e964e1f31736c81d7e8c7a2d1b4747 100644 (file)
@@ -23,7 +23,7 @@
                compatible = "gpio-leds";
 
                wlan {
-                       label = "hlk-7628n:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
        };
index 0b2ea26db0e016c0c95aa3d25a81a47ac74c9196..9e4068ce8c7241c3931d52e11c12d43eabc0444e 100644 (file)
@@ -8,17 +8,17 @@
                compatible = "gpio-leds";
 
                led_system: system {
-                       label = "hc5661a:blue:system";
+                       label = "blue:system";
                        gpios = <&gpio 37 GPIO_ACTIVE_HIGH>;
                };
 
                internet {
-                       label = "hc5661a:blue:internet";
+                       label = "blue:internet";
                        gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
                };
 
                wlan2g {
-                       label = "hc5661a:blue:wlan2g";
+                       label = "blue:wlan2g";
                        gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy0tpt";
                };
index de00edb3e0e20e43eb7f69b8eb8e79a22a664c93..828e5b8b2d09cd870136382ed136f8fb0a136984 100644 (file)
                compatible = "gpio-leds";
 
                led_system: system {
-                       label = "hc5761a:blue:system";
+                       label = "blue:system";
                        gpios = <&gpio 37 GPIO_ACTIVE_HIGH>;
                };
 
                internet {
-                       label = "hc5761a:blue:internet";
+                       label = "blue:internet";
                        gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
                };
 
                wlan2g {
-                       label = "hc5761a:blue:wlan2g";
+                       label = "blue:wlan2g";
                        gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy0tpt";
                };
 
                wlan5g {
-                       label = "hc5761a:blue:wlan5g";
+                       label = "blue:wlan5g";
                        gpios = <&gpio 40 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy1tpt";
                };
index ec986f8401e3b4ca32eb7aae5c4001e0a0d25c79..326c412b0e24ee681b53bcff4e098002f40b313e 100644 (file)
@@ -8,12 +8,12 @@
                compatible = "gpio-leds";
 
                led_system: system {
-                       label = "hc5861b:green:system";
+                       label = "green:system";
                        gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g {
-                       label = "hc5861b:green:wlan2g";
+                       label = "green:wlan2g";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
index 767f8ab2a6d04bdc8053384090bcb7b6dc2a41a9..d90a075af564ee03d83d695b5489b4ffb6933350 100644 (file)
                compatible = "gpio-leds";
 
                led_cpu: cpu {
-                       label = "a3:blue:cpu";
+                       label = "blue:cpu";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "a3:blue:wlan";
+                       label = "blue:wlan";
                        gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
index 127a30022f40d350bd6991d849b4b2226f064583..2f626f1adf7031dbd27cf1c0ba94a3d39eed5b42 100644 (file)
                compatible = "gpio-leds";
 
                wlan5g {
-                       label = "a604m:blue:wlan5g";
+                       label = "blue:wlan5g";
                        gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };
 
                led_cpu: cpu {
-                       label = "a604m:blue:cpu";
+                       label = "blue:cpu";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g {
-                       label = "a604m:blue:wlan2g";
+                       label = "blue:wlan2g";
                        gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
index 9bd1da4443511d01287dc5c9ae3c3644ce709713..3fd173914e970d1c94cbe3a1ae1a73c2b1ff4b0a 100644 (file)
                compatible = "gpio-leds";
 
                led_system: system {
-                       label = "js76x8:green:system";
+                       label = "green:system";
                        gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
                };
 
                wifi {
-                       label = "js76x8:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
index d77194b0230d5d3f727e9a9ce29cf0ae21d01fdb..cbec8c9d406685c00f449e6744ed3ad781327f0c 100644 (file)
@@ -32,7 +32,7 @@
                compatible = "gpio-leds";
 
                led_wifi: wifi {
-                       label = "linkit-smart-7688:orange:wifi";
+                       label = "orange:wifi";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
        };
index 39e02b23f94ce886b6da515cdd671fa48be79ac3..7aa678a1adb3d9f3975c23e5659e06333aee8254 100644 (file)
@@ -18,7 +18,7 @@
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "mac1200rv2:green:status";
+                       label = "green:status";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };
        };
index f4b80ae45f1798969625c1df2d8df0827317034e..6ae74743312c003853a6dfc32f4ae2da8c272066 100644 (file)
@@ -5,48 +5,6 @@
 / {
        compatible = "netgear,r6020", "mediatek,mt7628an-soc";
        model = "Netgear R6020";
-
-       aliases {
-               led-boot = &led_power;
-               led-failsafe = &led_power;
-               led-running = &led_power;
-               led-upgrade = &led_power;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               lan {
-                       label = "r6020:green:lan";
-                       gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
-               };
-
-               led_power: power {
-                       label = "r6020:green:power";
-                       gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
-               };
-
-               wlan2g_green {
-                       label = "r6020:green:wlan2g";
-                       gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy0tpt";
-               };
-
-               wlan2g_orange {
-                       label = "r6020:orange:wlan2g";
-                       gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
-               };
-
-               wan_green {
-                       label = "r6020:green:wan";
-                       gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
-               };
-
-               wan_orange {
-                       label = "r6020:orange:wan";
-                       gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
-               };
-       };
 };
 
 &state_default {
index f062a9fb350a712c6edb9b64046dbd9fc3e0af6c..73cfc47a6cc8dfeb5792c9b8ea2fdc1e83aecde1 100644 (file)
@@ -7,47 +7,8 @@
        model = "Netgear R6080";
 
        aliases {
-               led-boot = &led_power;
-               led-failsafe = &led_power;
-               led-running = &led_power;
-               led-upgrade = &led_power;
                label-mac-device = &ethernet;
        };
-
-       leds {
-               compatible = "gpio-leds";
-
-               lan {
-                       label = "r6080:green:lan";
-                       gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
-               };
-
-               led_power: power {
-                       label = "r6080:green:power";
-                       gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
-               };
-
-               wlan2g_green {
-                       label = "r6080:green:wlan2g";
-                       gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy0tpt";
-               };
-
-               wlan2g_orange {
-                       label = "r6080:orange:wlan2g";
-                       gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
-               };
-
-               wan_green {
-                       label = "r6080:green:wan";
-                       gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
-               };
-
-               wan_orange {
-                       label = "r6080:orange:wan";
-                       gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
-               };
-       };
 };
 
 &state_default {
index ba039983a468b3ccd3d1d1ed7e9daf623d06f0d0..f4d9823cd29a635518899f91b03cd725e14ebcdf 100644 (file)
@@ -5,48 +5,9 @@
        model = "Netgear R6120";
 
        aliases {
-               led-boot = &led_power;
-               led-failsafe = &led_power;
-               led-running = &led_power;
-               led-upgrade = &led_power;
                label-mac-device = &ethernet;
        };
 
-       leds {
-               compatible = "gpio-leds";
-
-               lan {
-                       label = "r6120:green:lan";
-                       gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
-               };
-
-               led_power: power {
-                       label = "r6120:green:power";
-                       gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
-               };
-
-               wlan2g_green {
-                       label = "r6120:green:wlan2g";
-                       gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy0tpt";
-               };
-
-               wlan2g_orange {
-                       label = "r6120:orange:wlan2g";
-                       gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
-               };
-
-               wan_green {
-                       label = "r6120:green:wan";
-                       gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
-               };
-
-               wan_orange {
-                       label = "r6120:orange:wan";
-                       gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
-               };
-       };
-
        usb-regulator {
                compatible = "regulator-fixed";
 
index 640591c3167abc4c4914bcbeef964072df1d4e2e..c3d7da2f090924064875f7b9b98eede592767de1 100644 (file)
@@ -6,6 +6,13 @@
 #include <dt-bindings/input/input.h>
 
 / {
+       aliases {
+               led-boot = &led_power;
+               led-failsafe = &led_power;
+               led-running = &led_power;
+               led-upgrade = &led_power;
+       };
+
        keys {
                compatible = "gpio-keys";
 
                        linux,code = <KEY_RESTART>;
                };
        };
+
+       leds {
+               compatible = "gpio-leds";
+
+               lan {
+                       label = "green:lan";
+                       gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
+               };
+
+               led_power: power {
+                       label = "green:power";
+                       gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
+               };
+
+               wlan2g_green {
+                       label = "green:wlan2g";
+                       gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "phy0tpt";
+               };
+
+               wlan2g_orange {
+                       label = "orange:wlan2g";
+                       gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
+               };
+
+               wan_green {
+                       label = "green:wan";
+                       gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
+               };
+
+               wan_orange {
+                       label = "orange:wan";
+                       gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
+               };
+       };
 };
 
 &spi0 {
index f9038adc30824a5e18b67d68fd957be4a96fd64d..a34638bb0e03836072cb2d46403535bd17019998 100644 (file)
@@ -8,7 +8,3 @@
 &firmware {
        reg = <0x50000 0xfb0000>;
 };
-
-&system_led {
-       label = "omega2:amber:system";
-};
index 04187a83535c84991b16337c175546d36d0f03a4..b6d2df47563db0ab00e1e0552ed61008f5b123ac 100644 (file)
@@ -7,10 +7,10 @@
        compatible = "onion,omega2", "mediatek,mt7628an-soc";
 
        aliases {
-               led-boot = &system_led;
-               led-failsafe = &system_led;
-               led-running = &system_led;
-               led-upgrade = &system_led;
+               led-boot = &led_system;
+               led-failsafe = &led_system;
+               led-running = &led_system;
+               led-upgrade = &led_system;
        };
 
        chosen {
@@ -20,7 +20,8 @@
        leds {
                compatible = "gpio-leds";
 
-               system_led: system {
+               led_system: system {
+                       label = "amber:system";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
        };
index 085766eb6891e0be5210abd05129cf2e7c551009..4ec07dbd91da62df823ee9378bc6e0025549538b 100644 (file)
@@ -8,7 +8,3 @@
 &firmware {
        reg = <0x50000 0x1fb0000>;
 };
-
-&system_led {
-       label = "omega2p:amber:system";
-};
index 32b119c51d27cb194e1e485b4d22f66454058bc3..63c4901ec252cc5d8eb3c6286f849d0dd023ddab 100644 (file)
@@ -13,7 +13,7 @@
                compatible = "gpio-leds";
 
                wifi {
-                       label = "rak633:blue:wifi";
+                       label = "blue:wifi";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
        };
index 66ffa77379a6ea5331a7ddec34832bab7525958c..95d7750be0af7576b8e6f9003f1014bd8fa64de3 100644 (file)
                compatible = "gpio-leds";
 
                led_globe: globe {
-                       label = "rp-wd009:white:globe";
+                       label = "white:globe";
                        gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                };
 
                wlan2 {
-                       label = "rp-wd009:white:wlan2";
+                       label = "white:wlan2";
                        gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy0tpt";
                };
 
                wlan5 {
-                       label = "rp-wd009:white:wlan5";
+                       label = "white:wlan5";
                        gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };
 
                sd_white {
-                       label = "rp-wd009:white:sd";
+                       label = "white:sd";
                        gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
                };
 
                sd_red {
-                       label = "rp-wd009:red:sd";
+                       label = "red:sd";
                        gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
                };
        };
index fec5b1d37599f51594b01bbc1d82a6e90b735343..111f70a8d52789f9f85841430be6cd9c71cabfc7 100644 (file)
                compatible = "gpio-leds";
 
                led_power: wps {
-                       label = "skw92a:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "skw92a:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
        };
index 8cadd6718ff06fd08b95c8b54a33634889ac90ab..26e5ab00a5e7c44dc4d48cdc7bfdaf8abb65723c 100644 (file)
                compatible = "gpio-leds";
 
                wps {
-                       label = "w06:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };
 
                wan {
-                       label = "w06:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                };
 
                wireless {
-                       label = "w06:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
                };
        };
index 69903f4e673816c46f821f6a6d02a2d364b2cdd3..246dfadddd897c20da39eb9dd12316b16fc26624 100644 (file)
                compatible = "gpio-leds";
 
                led_cpu: cpu {
-                       label = "a3:blue:cpu";
+                       label = "blue:cpu";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "a3:blue:wlan";
+                       label = "blue:wlan";
                        gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
index 826e07a85e3e3863a9835d31707b65065f677bd8..ab5fdd32469e21c02b8d15e09cfe1839f5d0cf33 100644 (file)
                compatible = "gpio-leds";
 
                led_sys: sys {
-                       label = "lr1200:blue:sys";
+                       label = "blue:sys";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };
 
                sms {
-                       label = "lr1200:blue:sms";
+                       label = "blue:sms";
                        gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
                };
 
                wifi {
-                       label = "lr1200:blue:wifi";
+                       label = "blue:wifi";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
                3g {
-                       label = "lr1200:blue:3g";
+                       label = "blue:3g";
                        gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
                };
 
                4g {
-                       label = "lr1200:blue:4g";
+                       label = "blue:4g";
                        gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
                };
 
                rssi1 {
-                       label = "lr1200:blue:rssi1";
+                       label = "blue:rssi1";
                        gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
                };
 
                rssi2 {
-                       label = "lr1200:blue:rssi2";
+                       label = "blue:rssi2";
                        gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
                };
 
                rssi3 {
-                       label = "lr1200:blue:rssi3";
+                       label = "blue:rssi3";
                        gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
                };
 
                rssi4 {
-                       label = "lr1200:blue:rssi4";
+                       label = "blue:rssi4";
                        gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
                };
        };
index 4a8d2b440be1e32453f4805c2fd3a522a188b78f..f6321bb15f976647f0748c5993cfc3698f30fcae 100644 (file)
                compatible = "gpio-leds";
 
                lan {
-                       label = "archer-c20-v4:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "archer-c20-v4:green:power";
+                       label = "green:power";
                        gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
                };
 
                wan {
-                       label = "archer-c20-v4:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                };
 
                wan_orange {
-                       label = "archer-c20-v4:orange:wan";
+                       label = "orange:wan";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };
 
                wlan5g {
-                       label = "archer-c20-v4:green:wlan5g";
+                       label = "green:wlan5g";
                        gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };
 
                wlan2g {
-                       label = "archer-c20-v4:green:wlan2g";
+                       label = "green:wlan2g";
                        gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
                wps {
-                       label = "archer-c20-v4:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
                };
        };
index 1d39ccbf73080212ed079b7cd409b83e26831bdd..7969bfc73382b271c10659ecfd74942cf8f5f274 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "archer-c20-v5:green:power";
+                       label = "green:power";
                        gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g {
-                       label = "archer-c20-v5:green:wlan2g";
+                       label = "green:wlan2g";
                        gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
                wlan5g {
-                       label = "archer-c20-v5:green:wlan5g";
+                       label = "green:wlan5g";
                        gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };
 
                lan {
-                       label = "archer-c20-v5:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
                };
 
                wan_green {
-                       label = "archer-c20-v5:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                };
 
                wan_orange {
-                       label = "archer-c20-v5:orange:wan";
+                       label = "orange:wan";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "archer-c20-v5:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
                };
        };
index 2e386a05bfeff4ac2164282543b6d38122e85e68..ea53870eebfef8c0327425e3d3a66d2dfa2d8669 100644 (file)
                compatible = "gpio-leds";
 
                lan {
-                       label = "archer-c50-v3:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "archer-c50-v3:green:power";
+                       label = "green:power";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };
 
                wan {
-                       label = "archer-c50-v3:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
                };
 
                wan_orange {
-                       label = "archer-c50-v3:orange:wan";
+                       label = "orange:wan";
                        gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "archer-c50-v3:green:wlan2g";
+                       label = "green:wlan2g";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
 
                wlan5 {
-                       label = "archer-c50-v3:green:wlan5g";
+                       label = "green:wlan5g";
                        gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "archer-c50-v3:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                };
        };
index bf9701cfbe2beacbec595b7511ab05c139755357..4ca0cd61a5b320a1deb11bf9f347d585b89d25c1 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "archer-c50-v4:green:power";
+                       label = "green:power";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };
 
                wlan2 {
-                       label = "archer-c50-v4:green:wlan2g";
+                       label = "green:wlan2g";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
 
                wlan5 {
-                       label = "archer-c50-v4:green:wlan5g";
+                       label = "green:wlan5g";
                        gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
                };
 
                lan {
-                       label = "archer-c50-v4:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
                };
 
                wan {
-                       label = "archer-c50-v4:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
                };
 
                wan_orange {
-                       label = "archer-c50-v4:orange:wan";
+                       label = "orange:wan";
                        gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "archer-c50-v4:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                };
        };
index db3cd4051f2f56e13057d7bf7f288191205fc134..a7e5e5110d4a4e34443458fa733647d8c3c7f305 100644 (file)
@@ -5,65 +5,4 @@
 / {
        compatible = "tplink,re200-v2", "mediatek,mt7628an-soc";
        model = "TP-Link RE200 v2";
-
-       aliases {
-               led-boot = &led_power;
-               led-failsafe = &led_power;
-               led-running = &led_power;
-               led-upgrade = &led_power;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               wps {
-                       label = "re200-v2:green:wps";
-                       gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
-               };
-
-               wifi {
-                       label = "re200-v2:green:wifi";
-                       gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
-               };
-
-               lan {
-                       label = "re200-v2:green:lan";
-                       gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
-               };
-
-               led_power: power {
-                       label = "re200-v2:green:power";
-                       gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
-               };
-
-               wifi2g_green {
-                       label = "re200-v2:green:wifi2g";
-                       gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy0tpt";
-               };
-
-               wifi5g_green {
-                       label = "re200-v2:green:wifi5g";
-                       gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy1tpt";
-               };
-
-               wifi2g_red {
-                       label = "re200-v2:red:wifi2g";
-                       gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
-               };
-
-               wifi5g_red {
-                       label = "re200-v2:red:wifi5g";
-                       gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
-               };
-       };
-};
-
-&state_default {
-       gpio {
-               groups = "p4led_an", "p3led_an", "p2led_an", "p1led_an",
-                               "p0led_an", "wled_an", "i2c", "wdt", "refclk";
-               function = "gpio";
-       };
 };
index 589e11fbedda8245165a704a50963217ffc8407a..2c4e09ee2ea91795933281f5487e7ee4969a5ed8 100644 (file)
@@ -5,65 +5,4 @@
 / {
        compatible = "tplink,re200-v3", "mediatek,mt7628an-soc";
        model = "TP-Link RE200 v3";
-
-       aliases {
-               led-boot = &led_power;
-               led-failsafe = &led_power;
-               led-running = &led_power;
-               led-upgrade = &led_power;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               wps {
-                       label = "re200-v3:green:wps";
-                       gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
-               };
-
-               wifi {
-                       label = "re200-v3:green:wifi";
-                       gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
-               };
-
-               lan {
-                       label = "re200-v3:green:lan";
-                       gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
-               };
-
-               led_power: power {
-                       label = "re200-v3:green:power";
-                       gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
-               };
-
-               wifi2g_green {
-                       label = "re200-v3:green:wifi2g";
-                       gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy0tpt";
-               };
-
-               wifi5g_green {
-                       label = "re200-v3:green:wifi5g";
-                       gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy1tpt";
-               };
-
-               wifi2g_red {
-                       label = "re200-v3:red:wifi2g";
-                       gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
-               };
-
-               wifi5g_red {
-                       label = "re200-v3:red:wifi5g";
-                       gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
-               };
-       };
-};
-
-&state_default {
-       gpio {
-               groups = "p4led_an", "p3led_an", "p2led_an", "p1led_an",
-                               "p0led_an", "wled_an", "i2c", "wdt", "refclk";
-               function = "gpio";
-       };
 };
index 2b06fe77a2203a78dd35d0bf599ce09689bc685d..95addff3c02652e95f31095da49a5ffc4b7237a4 100644 (file)
@@ -8,6 +8,10 @@
 / {
        aliases {
                label-mac-device = &ethernet;
+               led-boot = &led_power;
+               led-failsafe = &led_power;
+               led-running = &led_power;
+               led-upgrade = &led_power;
        };
 
        chosen {
                        linux,code = <KEY_WPS_BUTTON>;
                };
        };
+
+       leds {
+               compatible = "gpio-leds";
+
+               wps {
+                       label = "green:wps";
+                       gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
+               };
+
+               wifi {
+                       label = "green:wifi";
+                       gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
+               };
+
+               lan {
+                       label = "green:lan";
+                       gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
+               };
+
+               led_power: power {
+                       label = "green:power";
+                       gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
+               };
+
+               wifi2g_green {
+                       label = "green:wifi2g";
+                       gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "phy0tpt";
+               };
+
+               wifi5g_green {
+                       label = "green:wifi5g";
+                       gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "phy1tpt";
+               };
+
+               wifi2g_red {
+                       label = "red:wifi2g";
+                       gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
+               };
+
+               wifi5g_red {
+                       label = "red:wifi5g";
+                       gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
+               };
+       };
 };
 
 &spi0 {
        };
 };
 
+&state_default {
+       gpio {
+               groups = "p4led_an", "p3led_an", "p2led_an", "p1led_an",
+                               "p0led_an", "wled_an", "i2c", "wdt", "refclk";
+               function = "gpio";
+       };
+};
+
 &ethernet {
        mtd-mac-address = <&config 0x2008>;
 };
index 4a735573936fa100aa641d1f4b5c49ac28dc7623..82d385a24d78e3af55bc7ec41c2ee3ae99f44531 100644 (file)
@@ -5,65 +5,4 @@
 / {
        compatible = "tplink,re220-v2", "mediatek,mt7628an-soc";
        model = "TP-Link RE220 v2";
-
-       aliases {
-               led-boot = &led_power;
-               led-failsafe = &led_power;
-               led-running = &led_power;
-               led-upgrade = &led_power;
-       };
-
-       leds {
-               compatible = "gpio-leds";
-
-               wps {
-                       label = "re220-v2:green:wps";
-                       gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
-               };
-
-               wifi {
-                       label = "re220-v2:green:wifi";
-                       gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
-               };
-
-               lan {
-                       label = "re220-v2:green:lan";
-                       gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
-               };
-
-               led_power: power {
-                       label = "re220-v2:green:power";
-                       gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
-               };
-
-               wifi2g_green {
-                       label = "re220-v2:green:wifi2g";
-                       gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy0tpt";
-               };
-
-               wifi5g_green {
-                       label = "re220-v2:green:wifi5g";
-                       gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
-                       linux,default-trigger = "phy1tpt";
-               };
-
-               wifi2g_red {
-                       label = "re220-v2:red:wifi2g";
-                       gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
-               };
-
-               wifi5g_red {
-                       label = "re220-v2:red:wifi5g";
-                       gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
-               };
-       };
-};
-
-&state_default {
-       gpio {
-               groups = "p4led_an", "p3led_an", "p2led_an", "p1led_an",
-                               "p0led_an", "wled_an", "i2c", "wdt", "refclk";
-               function = "gpio";
-       };
 };
index e8d31c2b7f6972de1b5d0c0c1ac52ab0506620ad..22e15eb7a1a812362567970c120414de59fa0777 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "re305-v1:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g {
-                       label = "re305-v1:blue:wlan2g";
+                       label = "blue:wlan2g";
                        gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
                wlan5g {
-                       label = "re305-v1:blue:wlan5g";
+                       label = "blue:wlan5g";
                        gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };
 
                rssi1 {
-                       label = "re305-v1:red:rssi";
+                       label = "red:rssi";
                        gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                };
 
                rssi2 {
-                       label = "re305-v1:blue:rssi";
+                       label = "blue:rssi";
                        gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
                };
        };
index 3682bb6f28e102f53f0bc0d57aa09991d0e96995..a45019e2d0a810995aa79b6e1dfa2ddb4ad7dbd0 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "tl-mr3020-v3:green:power";
+                       label = "green:power";
                        gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
 
                wan {
-                       label = "tl-mr3020-v3:green:3g";
+                       label = "green:3g";
                        gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ehci_port1>, <&ohci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                wlan {
-                       label = "tl-mr3020-v3:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
                wps {
-                       label = "tl-mr3020-v3:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
                };
 
                lan {
-                       label = "tl-mr3020-v3:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
                };
        };
index fb81929b6ec53b9117df21ee32a5417b1e1b2ab0..8e602331f356d237e73e5515bb2923b3b55f942f 100644 (file)
                compatible = "gpio-leds";
 
                lan {
-                       label = "tl-mr3420-v5:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "tl-mr3420-v5:green:power";
+                       label = "green:power";
                        gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "tl-mr3420-v5:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                wan {
-                       label = "tl-mr3420-v5:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
                };
 
                wan_amber {
-                       label = "tl-mr3420-v5:amber:wan";
+                       label = "amber:wan";
                        gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "tl-mr3420-v5:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "tl-mr3420-v5:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
                };
        };
index c46d36b910ad4e94bc4bb4a89c59d73f3ce3494c..21c09ec5d9f76c9f23d829290bc66ee9d197632f 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "tl-wa801nd-v5:green:power";
+                       label = "green:power";
                        gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
                };
 
                lan {
-                       label = "tl-wa801nd-v5:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "tl-wa801nd-v5:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
                wps_red {
-                       label = "tl-wa801nd-v5:red:wps";
+                       label = "red:wps";
                        gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
                };
 
                wps_green {
-                       label = "tl-wa801nd-v5:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
                };
        };
index 138d8a8ab4287c6e3976995c76645f3c8832e360..d6077b4c0ed7ecf2515636818e2cbddac155a11d 100644 (file)
@@ -27,7 +27,7 @@
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "tl-wr802n-v4:green:power";
+                       label = "green:power";
                        gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
                };
        };
index 81b1da7cd21764767228856f2df9ed97e6bb34fc..f960a0ae8f4854b7066ab19a1110ee49694b5181 100644 (file)
                compatible = "gpio-leds";
 
                lan {
-                       label = "tl-wr840n-v4:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "tl-wr840n-v4:green:power";
+                       label = "green:power";
                        gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
                };
 
                wan {
-                       label = "tl-wr840n-v4:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "tl-wr840n-v4:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "tl-wr840n-v4:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
                };
        };
index 72b6e71634c39cdabd313954c5c09458cd39dee6..1f8f7f4babc88f579a6a45fa38a201807365b576 100644 (file)
                compatible = "gpio-leds";
 
                led_power_green: power {
-                       label = "tl-wr840n-v5:green:power";
+                       label = "green:power";
                        gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
                };
 
                orange {
-                       label = "tl-wr840n-v5:orange:power";
+                       label = "orange:power";
                        gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                };
        };
index bf37f01d982ad5a950a85ea9e400b5e8802fc800..c4c83b854940bd23131be14ee6910b285b9ed0fb 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "tl-wr841n-v13:green:power";
+                       label = "green:power";
                        gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "tl-wr841n-v13:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
                };
 
                lan1 {
-                       label = "tl-wr841n-v13:green:lan1";
+                       label = "green:lan1";
                        gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
                };
 
                lan2 {
-                       label = "tl-wr841n-v13:green:lan2";
+                       label = "green:lan2";
                        gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
                };
 
                lan3 {
-                       label = "tl-wr841n-v13:green:lan3";
+                       label = "green:lan3";
                        gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
                };
 
                lan4 {
-                       label = "tl-wr841n-v13:green:lan4";
+                       label = "green:lan4";
                        gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
                };
 
                wan_green {
-                       label = "tl-wr841n-v13:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                };
 
                wan_orange {
-                       label = "tl-wr841n-v13:orange:wan";
+                       label = "orange:wan";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "tl-wr841n-v13:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
        };
index f47b82a167f0769bc2320e75f7b1a52d4b8132a7..530b8c5681e347dcf743925ab225408af08508eb 100644 (file)
                compatible = "gpio-leds";
 
                lan {
-                       label = "tl-wr841n-v14:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
                };
 
                wan_green {
-                       label = "tl-wr841n-v14:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
                };
 
                led_wlan: wlan {
-                       label = "tl-wr841n-v14:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
                wan_orange {
-                       label = "tl-wr841n-v14:orange:wan";
+                       label = "orange:wan";
                        gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
                };
        };
index aa0eb332fee48bc3920d981a3bb23d52333e24d2..e843672600e1f0173943bd6340456d7eb0ad4ac4 100644 (file)
                compatible = "gpio-leds";
 
                lan {
-                       label = "tl-wr842n-v5:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "tl-wr842n-v5:green:power";
+                       label = "green:power";
                        gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "tl-wr842n-v5:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                wan {
-                       label = "tl-wr842n-v5:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
                };
 
                wan_amber {
-                       label = "tl-wr842n-v5:amber:wan";
+                       label = "amber:wan";
                        gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "tl-wr842n-v5:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "tl-wr842n-v5:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
                };
        };
index d1c2de7accc4ca50be71752bc0660c2ec52b4fab..1fec73d4dc653a2ebb8d5f19756372bf82933f1e 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "tl-wr850n-v2:green:power";
+                       label = "green:power";
                        gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "tl-wr850n-v2:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
                };
 
                lan {
-                       label = "tl-wr850n-v2:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
                };
 
                wan {
-                       label = "tl-wr850n-v2:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "tl-wr850n-v2:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
index b9e20ac86aea86451af8718bd7c9f1b20aad65d6..bce394747bb2ca13e2b6792868d22ccaf2c432ca 100644 (file)
                compatible = "gpio-leds";
 
                lan {
-                       label = "tl-wr902ac-v3:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
                };
 
                led_power: power {
-                       label = "tl-wr902ac-v3:green:power";
+                       label = "green:power";
                        gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "tl-wr902ac-v3:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                wan {
-                       label = "tl-wr902ac-v3:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "tl-wr902ac-v3:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "tl-wr902ac-v3:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
                };
        };
index 69f371a72424f59a439813780874d30f57f7e29c..4facb036fd0ba6aa1db22a4c6bb581352f18f1c7 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "u7628-01:green:power";
+                       label = "green:power";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "u7628-01:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };
 
                wan {
-                       label = "u7628-01:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                };
 
                lan1 {
-                       label = "u7628-01:green:lan1";
+                       label = "green:lan1";
                        gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
                };
 
                lan2 {
-                       label = "u7628-01:green:lan2";
+                       label = "green:lan2";
                        gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
                };
 
                lan3 {
-                       label = "u7628-01:green:lan3";
+                       label = "green:lan3";
                        gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
                };
 
                lan4 {
-                       label = "u7628-01:green:lan4";
+                       label = "green:lan4";
                        gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "u7628-01:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
index a8d5f8550cdf7319d608ec50db4a7833ed488ac0..f8bdc27c4c6ff2fff25e0c73948a4499c1b0950c 100644 (file)
@@ -15,7 +15,7 @@
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "vocore2lite:green:status";
+                       label = "green:status";
                        gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
                };
        };
index 1ba767ce4f9b07117d656cbafe9c6a8b3066c4e5..f4bb8720d313ef91a0cbf9116eaa33f0979af83b 100644 (file)
@@ -15,7 +15,7 @@
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "vocore2:fuchsia:status";
+                       label = "fuchsia:status";
                        gpios = <&gpio 44 GPIO_ACTIVE_HIGH>;
                };
        };
index aa9957892f6be368647a67aa0dd9496417f918b8..9cea8b43f3bf478403223fc08cc23cedc3bbe7d2 100644 (file)
                compatible = "gpio-leds";
 
                power {
-                       label = "wl-wn570ha1:green:power";
+                       label = "green:power";
                        gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
                        default-state = "keep";
                };
 
                wan {
-                       label = "wl-wn570ha1:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                };
 
                wifi-high {
-                       label = "wl-wn570ha1:green:wifi-high";
+                       label = "green:wifi-high";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };
 
                wifi-med {
-                       label = "wl-wn570ha1:green:wifi-med";
+                       label = "green:wifi-med";
                        gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
                };
 
                wifi-low {
-                       label = "wl-wn570ha1:green:wifi-low";
+                       label = "green:wifi-low";
                        gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
                };
 
                wifi {
-                       label = "wl-wn570ha1:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
        };
index 6316539f284c1921b4073f6ee7f2f248fbcb122e..d6d418f1b9f91c31ec3ad139bf54900b9078e43e 100644 (file)
                compatible = "gpio-leds";
 
                wifi-high {
-                       label = "wl-wn575a3:green:wifi-high";
+                       label = "green:wifi-high";
                        gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
                };
 
                wifi-med {
-                       label = "wl-wn575a3:green:wifi-med";
+                       label = "green:wifi-med";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };
 
                wifi-low {
-                       label = "wl-wn575a3:green:wifi-low";
+                       label = "green:wifi-low";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "wl-wn575a3:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
                };
        };
index 2f93ebd3e65c7fef037dea7fc0395532855c4271..b5f8ff03a80d610220d24e0920a409e2fa6c9ebd 100644 (file)
                compatible = "gpio-leds";
 
                lan {
-                       label = "wl-wn577a2:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
                };
 
                wan {
-                       label = "wl-wn577a2:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
                };
 
                led_wps: wps {
-                       label = "wl-wn577a2:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
                };
        };
index 252ffd71f5471abe1b259f5b2f98700076de9f45..4c60ad95aaae384a55a75e3ad498ad1538968789 100644 (file)
@@ -21,7 +21,7 @@
                compatible = "gpio-leds";
 
                led_wifi: wifi {
-                       label = "widora:orange:wifi";
+                       label = "orange:wifi";
                        gpios = <&wgpio 0 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
                };
index 7cd9bef62b271c04cd89e9d8b040b9e7e52d8f69..670edaa78df25dd3b17d6e9392aa9c77447eede4 100644 (file)
                compatible = "gpio-leds";
 
                led_run: run {
-                       label = "wizfi630s:green:run";
+                       label = "green:run";
                        gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
                };
 
                ledwps {
-                       label = "wizfi630s:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
                };
 
                leduart1 {
-                       label = "wizfi630s:green:uart1";
+                       label = "green:uart1";
                        gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
                };
 
                leduart2 {
-                       label = "wizfi630s:green:uart2";
+                       label = "green:uart2";
                        gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
                };
        };
index 54799d812c0c88daf2c9d3a661b252d5cc37927d..88ec3f0c306446987b32c816b50049cf71882133 100644 (file)
@@ -15,7 +15,7 @@
                compatible = "gpio-leds";
 
                led_indicator: indicator {
-                       label = "wrtnode:blue:indicator";
+                       label = "blue:indicator";
                        gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
                };
        };
index 92bea362e3391291f90dd34bd28ee3f97ce4ee70..511354ae5e9562c039303999dda0c252723aefe2 100644 (file)
@@ -18,7 +18,7 @@
                pinctrl-0 = <&led_pins>;
 
                led_indicator: indicator {
-                       label = "wrtnode:blue:indicator";
+                       label = "blue:indicator";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
        };
index a89ed49a7051f4ad386946fb53fcbb58744f9b39..727c27d573603926e46f5d7dbe165ee6ff682b0a 100644 (file)
                compatible = "gpio-leds";
 
                power_blue: power_blue {
-                       label = "mir4a-100m:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };
 
                power_yellow: power_yellow {
-                       label = "mir4a-100m:yellow:power";
+                       label = "yellow:power";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
        };
index dbb4571d7b45eaf6b163f6193ca556eae436d41e..ae6a72ebc3f726c95c2e4b102364cee7592d8d15 100644 (file)
                compatible = "gpio-leds";
 
                led_status_blue: status_blue {
-                       label = "miwifi-nano:blue:status";
+                       label = "blue:status";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };
 
                led_status_red: status_red {
-                       label = "miwifi-nano:red:status";
+                       label = "red:status";
                        gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
                };
 
                led_status_amber: status_amber {
-                       label = "miwifi-nano:amber:status";
+                       label = "amber:status";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
        };
index 7f4f29082264b5110de11a0c83fc69ef09f634ff..ac2a01eabaf833309c7d852bc850082e2a3dfd38 100644 (file)
                compatible = "gpio-leds";
 
                wan {
-                       label = "zbt-we1226:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
                };
 
                lan1 {
-                       label = "zbt-we1226:green:lan1";
+                       label = "green:lan1";
                        gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                };
 
                lan2 {
-                       label = "zbt-we1226:green:lan2";
+                       label = "green:lan2";
                        gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
                };
 
                led_wlan: wlan {
-                       label = "zbt-we1226:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
        };
index efb516195747bb0d146ef1ff68e6a519efb65b38..47e4b429a918bc6896dc3c305febd8c377148cf6 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "keenetic-extra-ii:green:power";
+                       label = "green:power";
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                        default-state = "keep";
                };
 
                internet {
-                       label = "keenetic-extra-ii:green:internet";
+                       label = "green:internet";
                        gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
                };
 
                wifi {
-                       label = "keenetic-extra-ii:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "keenetic-extra-ii:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
index 0c04b24111f8477007a6d61bd45fb97846aa9df0..213868db86823d50ee8ea53b4ba046d614180d11 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "ar670w:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
                wpsblue {
-                       label = "ar670w:blue:wps";
+                       label = "blue:wps";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
index 9673b21ba905910d525ee197cfd138e550e2f448..fb3eeda8aaf16a184364536de7e36a7bc3b8d0b5 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "ar725w:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
                };
 
                wpsred {
-                       label = "ar725w:red:wps";
+                       label = "red:wps";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
 
                wpsblue {
-                       label = "ar725w:blue:wps";
+                       label = "blue:wps";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
index af7f2929a34851ea1209c79bd83b09300a3a7515..713c64cb562fd5cd579ece625034b4ca6823ef2b 100644 (file)
@@ -80,7 +80,7 @@
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "rt-n15:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
        };
index c099f2b0ca1588ef100158eb45a694aa2170b5d6..bc146cf6776089d30c16786219b9e25a08d78f57 100644 (file)
                compatible = "gpio-leds";
 
                internet {
-                       label = "f5d8235-v1:blue:internet";
+                       label = "blue:internet";
                        gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
                };
 
                internet2 {
-                       label = "f5d8235-v1:amber:internet";
+                       label = "amber:internet";
                        gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
                };
 
                modem {
-                       label = "f5d8235-v1:blue:modem";
+                       label = "blue:modem";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
 
                modem2 {
-                       label = "f5d8235-v1:amber:modem";
+                       label = "amber:modem";
                        gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
                };
 
                router {
-                       label = "f5d8235-v1:blue:router";
+                       label = "blue:router";
                        gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
                };
 
                storage {
-                       label = "f5d8235-v1:blue:storage";
+                       label = "blue:storage";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                storage2 {
-                       label = "f5d8235-v1:amber:storage";
+                       label = "amber:storage";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
 
                security {
-                       label = "f5d8235-v1:blue:security";
+                       label = "blue:security";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
 
                security2 {
-                       label = "f5d8235-v1:amber:security";
+                       label = "amber:security";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                led_wired_blue: wired {
-                       label = "f5d8235-v1:blue:wired";
+                       label = "blue:wired";
                        gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
                };
 
                wired2 {
-                       label = "f5d8235-v1:amber:wired";
+                       label = "amber:wired";
                        gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
                };
 
                wireless {
-                       label = "f5d8235-v1:blue:wireless";
+                       label = "blue:wireless";
                        gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
                };
 
                wireless2 {
-                       label = "f5d8235-v1:amber:wireless";
+                       label = "amber:wireless";
                        gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
                };
        };
index 51a508f60fd11be6e6c7f1d6e1bf3f062e10a325..3ec9140b188761efc9025e8e02255c99a706bdcf 100644 (file)
                compatible = "gpio-leds";
 
                diag {
-                       label = "wli-tx4-ag300n:red:diag";
+                       label = "red:diag";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "wli-tx4-ag300n:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                security {
-                       label = "wli-tx4-ag300n:blue:security";
+                       label = "blue:security";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
index 13f933b6394a918e69767e6807f76de41d4c21d2..9c3a07059f9a89adeeb429b6e6a4f65d3bceccdf 100644 (file)
                compatible = "gpio-leds";
 
                led_router: router {
-                       label = "wzr-agl300nh:green:router";
+                       label = "green:router";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
 
                diag {
-                       label = "wzr-agl300nh:red:diag";
+                       label = "red:diag";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                security_g {
-                       label = "wzr-agl300nh:orange:security_g";
+                       label = "orange:security_g";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                security_n {
-                       label = "wzr-agl300nh:orange:security_n";
+                       label = "orange:security_n";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
index acb723eff7847e42e8433e65f80fe51ac936d268..c01424a1f022756685ddefe71aa196e9c42afc9f 100644 (file)
                compatible = "gpio-leds";
 
                wps {
-                       label = "dap-1522-a1:blue:wps";
+                       label = "blue:wps";
                        gpios = <&gpio2 17 GPIO_ACTIVE_LOW>;
                };
 
                ap {
-                       label = "dap-1522-a1:blue:ap";
+                       label = "blue:ap";
                        gpios = <&gpio2 18 GPIO_ACTIVE_LOW>;
                };
 
                sta {
-                       label = "dap-1522-a1:red:sta";
+                       label = "red:sta";
                        gpios = <&gpio2 19 GPIO_ACTIVE_LOW>;
                };
 
                led_status: status {
-                       label = "dap-1522-a1:blue:status";
+                       label = "blue:status";
                        gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
                };
        };
index b9a3fb88c7b97ace7b1644a27cb9942d17f8fb5e..792a2e429f092d9e5dd4f385d2657a1666cf38a6 100644 (file)
@@ -65,7 +65,7 @@
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "v11st-fe:green:status";
+                       label = "green:status";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
        };
index 40018e5e3f38717c6743f626d0487b686115ef1a..27d0eb3e4fb50aac8960fc235526f0acc71be96f 100644 (file)
                compatible = "gpio-leds";
 
                rssilow {
-                       label = "all0256n:green:rssilow";
+                       label = "green:rssilow";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
 
                rssimed {
-                       label = "all0256n:green:rssimed";
+                       label = "green:rssimed";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                rssihigh {
-                       label = "all0256n:green:rssihigh";
+                       label = "green:rssihigh";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
index be57cd8e572e5998fc9706fdfcba934ef60c1f0c..b476fd4fa421fdda915795ef33f9af336b97c47a 100644 (file)
                compatible = "gpio-leds";
 
                eth {
-                       label = "asl26555:green:eth";
+                       label = "green:eth";
                        gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
                };
 
                wan-red {
-                       label = "asl26555:red:wan";
+                       label = "red:wan";
                        gpios = <&gpio0 1 GPIO_ACTIVE_HIGH>;
                };
 
                wan-green {
-                       label = "asl26555:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
                };
 
                wlan {
-                       label = "asl26555:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
                };
 
                led_power_green: power-green {
-                       label = "asl26555:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
                };
 
                power-red {
-                       label = "asl26555:red:power";
+                       label = "red:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
                };
 
                3g-green {
-                       label = "asl26555:green:3g";
+                       label = "green:3g";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&otg_port1>;
                        linux,default-trigger = "usbport";
                };
 
                3g-red {
-                       label = "asl26555:red:3g";
+                       label = "red:3g";
                        gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
                };
        };
index d0385bf0b7a221936e366b0ddd9e7200dc6ac7ac..44b2ad4185edef4f49b24fcbb0ac6ceb54fcecab 100644 (file)
                 * not present in the Freestation5 device.
                 */
                wifi {
-                       label = "freestation5:unknown:wifi";
+                       label = "unknown:wifi";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
                powerg {
-                       label = "freestation5:unknown:powerg";
+                       label = "unknown:powerg";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "freestation5:unknown:usb";
+                       label = "unknown:usb";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index 7d28f0b7f62ebb09e6f9a7c908783e1f78ef4914..5c1975595fec7c4b68c5e6618654e46ee399a8c9 100644 (file)
@@ -55,7 +55,7 @@
                compatible = "gpio-leds";
 
                led_wps: wps {
-                       label = "rt-n10-plus:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index d3cd092eb92fbfebc085564abdc9b42489af113f..cc6cd382460a94da0002f355cc64527ff6968e8d 100644 (file)
                compatible = "gpio-leds";
 
                link {
-                       label = "wl-330n:blue:link";
+                       label = "blue:link";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "wl-330n:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
        };
index b0f148e94e84a0a14563828063009c194b77c687..c2513c5dd53309656f8baf1ae0ba883becd00995 100644 (file)
                compatible = "gpio-leds";
 
                3g {
-                       label = "wl-330n3g:blue:3g";
+                       label = "blue:3g";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                3g2 {
-                       label = "wl-330n3g:red:3g";
+                       label = "red:3g";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "wl-330n3g:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
        };
index fa4fd6258fd4ef4cf137fd2359ecc5703ff4f7f8..ff01fe2709baa340fe3a3c9be8fb6c2b8e7118a5 100644 (file)
                compatible = "gpio-leds";
 
                wifi {
-                       label = "dcs-930:red:alert";
+                       label = "red:alert";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
 
                led_status: status {
-                       label = "dcs-930:green:status";
+                       label = "green:status";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "dcs-930:blue:wps";
+                       label = "blue:wps";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
index b6ada35495e769a75618027cec7741e017aea72a..7699dcaabbf2ee676b6a5bead5a5d038e17e321f 100644 (file)
                compatible = "gpio-leds";
 
                status {
-                       label = "dir-300-b1:amber:status";
+                       label = "amber:status";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
 
                led_status_green: status2 {
-                       label = "dir-300-b1:green:status";
+                       label = "green:status";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wan {
-                       label = "dir-300-b1:amber:wan";
+                       label = "amber:wan";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
 
                wan2 {
-                       label = "dir-300-b1:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "dir-300-b1:blue:wps";
+                       label = "blue:wps";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
index 65a5ea638f3de74aa515ef02e2352cc20e63f67c..21f0a73212e1069effa07efc52e2f256f0501803 100644 (file)
                compatible = "gpio-leds";
 
                status {
-                       label = "dir-600-b1:amber:status";
+                       label = "amber:status";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
 
                led_status_green: status2 {
-                       label = "dir-600-b1:green:status";
+                       label = "green:status";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wan {
-                       label = "dir-600-b1:amber:wan";
+                       label = "amber:wan";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
 
                wan2 {
-                       label = "dir-600-b1:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "dir-600-b1:blue:wps";
+                       label = "blue:wps";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
index cfe77941fd3746f2ac312600784c62ab0552d274..e84c9d9cb78a6713e53eed2f8d4381880f1ab67f 100644 (file)
                compatible = "gpio-leds";
 
                status_amber {
-                       label = "dir-615-d:amber:status";
+                       label = "amber:status";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
 
                led_status_green: status_green {
-                       label = "dir-615-d:green:status";
+                       label = "green:status";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
 
                wan_amber {
-                       label = "dir-615-d:amber:wan";
+                       label = "amber:wan";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
 
                wan_green {
-                       label = "dir-615-d:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "dir-615-d:blue:wps";
+                       label = "blue:wps";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
index e23e6f8995374fe0f02cd73163851d3fe7904777..c134803f67070edf9863e297d8f651c7ff804c11 100644 (file)
                compatible = "gpio-leds";
 
                status {
-                       label = "dir-620-a1:amber:status";
+                       label = "amber:status";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
 
                led_status_green: status2 {
-                       label = "dir-620-a1:green:status";
+                       label = "green:status";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wan {
-                       label = "dir-620-a1:amber:wan";
+                       label = "amber:wan";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
 
                wan2 {
-                       label = "dir-620-a1:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "dir-620-a1:blue:wps";
+                       label = "blue:wps";
                        gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
                };
 
                wps2 {
-                       label = "dir-620-a1:amber:wps";
+                       label = "amber:wps";
                        gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
                };
        };
index 45b80743bd3e8c39471d9ec7b895d6cadbb26af6..a185e5d5bb8d8e520c7cbe291ef1b05b282e7a08 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "3g-6200n:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "3g-6200n:amber:wlan";
+                       label = "amber:wlan";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
 
                3g {
-                       label = "3g-6200n:blue:3g";
+                       label = "blue:3g";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&otg_port1>;
                        linux,default-trigger = "usbport";
index fd965e85dc2eea032d549cf8fb10a39edd0c25c1..41768078f5fcc4006ec034c1b2f3a11ee37427a9 100644 (file)
                compatible = "gpio-leds";
 
                led_internet: internet {
-                       label = "3g-6200nl:green:internet";
+                       label = "green:internet";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "3g-6200nl:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index 2dc57392ea616c8e88cc5c6ccf90c9a32e2076de..2784b0c580c5243ad061f731df9341be61a142b2 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "d105:red:power";
+                       label = "red:power";
                        gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "d105:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&otg_port1>;
                        linux,default-trigger = "usbport";
index 4a1400314708e2b57a3b3702a6f656dd682817b6..581edc6dfcd7b161f8763add3a1953af8243d616 100644 (file)
@@ -18,7 +18,7 @@
                compatible = "gpio-leds";
 
                led_system: system {
-                       label = "jhr-n805r:blue:system";
+                       label = "blue:system";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
        };
index 116864a443236c7f66d33d32f0ceb0e07a85a9f0..124a2ba13cdfb18c6081abadd0219ebc28100362 100644 (file)
                compatible = "gpio-leds";
 
                led_cpu: cpu {
-                       label = "nw718:amber:cpu";
+                       label = "amber:cpu";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "nw718:amber:usb";
+                       label = "amber:usb";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&otg_port1>;
                        linux,default-trigger = "usbport";
                };
 
                wps {
-                       label = "nw718:amber:wps";
+                       label = "amber:wps";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index 73ed778ae80fe6c32909dae8dfa9c5f2f362b006..e4574919061b367f636a96928b9a269a48c2e81a 100644 (file)
                compatible = "gpio-leds";
 
                user {
-                       label = "wcr-150gn:amber:user";
+                       label = "amber:user";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&otg_port1>;
                        linux,default-trigger = "usbport";
                };
 
                led_power: power {
-                       label = "wcr-150gn:amber:power";
+                       label = "amber:power";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
        };
index 13f2141b72133577941490609f002c43898d7940..742edbb11da4fbcc31003060f0de95c61aa2473e 100644 (file)
@@ -18,7 +18,7 @@
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "rut5xx:green:status";
+                       label = "green:status";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index 7ba3a6a81095d66a2ae6b6c1a509927a2465561e..2826993a9a4de0b877bfef8c709c03e367a21301 100644 (file)
                compatible = "gpio-leds";
 
                3grouter {
-                       label = "w150m:blue:3grouter";
+                       label = "blue:3grouter";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                led_ap: ap {
-                       label = "w150m:blue:ap";
+                       label = "blue:ap";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                wisprouter {
-                       label = "w150m:blue:wisprouter";
+                       label = "blue:wisprouter";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wirelessrouter {
-                       label = "w150m:blue:wirelessrouter";
+                       label = "blue:wirelessrouter";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
 
                3g {
-                       label = "w150m:blue:3g";
+                       label = "blue:3g";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
                wpsreset {
-                       label = "w150m:blue:wpsreset";
+                       label = "blue:wpsreset";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index 80eb9c09e4fe4e3c4587d20a0d8d72dfc69ad786..7df592bebd1e71d47c1dd8da550e60389cab7cbc 100644 (file)
                compatible = "gpio-leds";
 
                wps {
-                       label = "tew-638apb-v2:orange:wps";
+                       label = "orange:wps";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                led_wps_green: wps2 {
-                       label = "tew-638apb-v2:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index fa9d28ec1633dc1b794185ebfde82beb10c525cc..fac721cd7683aeb59333a9d033b98df7426270da 100644 (file)
                compatible = "gpio-leds";
 
                wps {
-                       label = "wr6202:blue:wps";
+                       label = "blue:wps";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
 
                3g {
-                       label = "wr6202:blue:3g";
+                       label = "blue:3g";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
index 1a43f61959b65ab59c55338ccd5fd4d62244b343..d88df8ca25beb95388c379c24e8360f2df6225ff 100644 (file)
                compatible = "gpio-leds";
 
                usb {
-                       label = "w502u:blue:usb";
+                       label = "blue:usb";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&otg_port1>;
                        linux,default-trigger = "usbport";
                };
 
                led_wps: wps {
-                       label = "w502u:blue:wps";
+                       label = "blue:wps";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index 84341ea9e0ed3ef595c5011c474f8600442cde34..39afaa582e18942b76f91156b72bcb1e49f2394b 100644 (file)
                compatible = "gpio-leds";
 
                led_run: run {
-                       label = "atp-52b:green:run";
+                       label = "green:run";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                net {
-                       label = "atp-52b:amber:net";
+                       label = "amber:net";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
index 33e04bbb04ba00963be090206684444b11de92fa..5d73043425b6c68e297a5c926c098b105d8030f6 100644 (file)
@@ -18,7 +18,7 @@
                compatible = "gpio-leds";
 
                led_wps: wps {
-                       label = "awapn2403:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index 0d0b70e4fc90555181e0c1a7c47ac2b246d0cd56..a67a839dccec970bb662a139201b5dcfc99fd53d 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "rt-n13u:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
                wifi {
-                       label = "rt-n13u:blue:wifi";
+                       label = "blue:wifi";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
        };
index d9e9554f06a9c62b7fefb9ff8c5ee111fc8fdef1..2d5f07746f6af7541d965a9617ad8608c94d7af0 100644 (file)
                compatible = "gpio-leds";
 
                usb {
-                       label = "mr-102n:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&otg_port1>;
                        linux,default-trigger = "usbport";
                };
 
                led_status: status {
-                       label = "mr-102n:amber:status";
+                       label = "amber:status";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "mr-102n:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
        };
index 1ba30c9152146f7e8571ec6f8bebf95676372004..f58a519b117ef347bc73a4dcaa43810f45f4744e 100644 (file)
                compatible = "gpio-leds";
 
                usb {
-                       label = "hw550-3g:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&otg_port1>;
                        linux,default-trigger = "usbport";
                };
 
                3g {
-                       label = "hw550-3g:green:3g";
+                       label = "green:3g";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                led_status: status {
-                       label = "hw550-3g:green:status";
+                       label = "green:status";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "hw550-3g:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index faf1fe222e9c4eef6f1682a3eb6adec46d81ddc2..a9db2882f3bdc9cfde8d25e3e66e5960b5d936f2 100644 (file)
                compatible = "gpio-leds";
 
                internet {
-                       label = "f5d8235-v2:blue:internet";
+                       label = "blue:internet";
                        gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
                };
 
                internet2 {
-                       label = "f5d8235-v2:amber:internet";
+                       label = "amber:internet";
                        gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
                };
 
                modem {
-                       label = "f5d8235-v2:blue:modem";
+                       label = "blue:modem";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                modem2 {
-                       label = "f5d8235-v2:amber:modem";
+                       label = "amber:modem";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
 
                led_router: router {
-                       label = "f5d8235-v2:blue:router";
+                       label = "blue:router";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                storage {
-                       label = "f5d8235-v2:blue:storage";
+                       label = "blue:storage";
                        gpios = <&gpio0 23 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&otg_port1>;
                        linux,default-trigger = "usbport";
                };
 
                storage2 {
-                       label = "f5d8235-v2:amber:storage";
+                       label = "amber:storage";
                        gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
                };
 
                security {
-                       label = "f5d8235-v2:blue:security";
+                       label = "blue:security";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
 
                security2 {
-                       label = "f5d8235-v2:amber:security";
+                       label = "amber:security";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
        };
index 73f03f8a44cfc2d17296f0b989876e7a3c81db92..ca6259d30399b3aebad0ed0abf8d67feae6a2692 100644 (file)
                compatible = "gpio-leds";
 
                led_diag: diag {
-                       label = "whr-g300n:red:diag";
+                       label = "red:diag";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
                router {
-                       label = "whr-g300n:green:router";
+                       label = "green:router";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                security {
-                       label = "whr-g300n:amber:security";
+                       label = "amber:security";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index 11c48e8e838e2658058110c1609ca115db50dc22..a2584e005e2615b743e0f52cdbb6d35fa0cb3e9d 100644 (file)
                compatible = "gpio-leds";
 
                led_power_blue: power {
-                       label = "dap-1350:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
 
                power2 {
-                       label = "dap-1350:red:power";
+                       label = "red:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "dap-1350:blue:wps";
+                       label = "blue:wps";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index 1f076eaab2f472ab80c84fabf3918c1bc790c578..4566e7a16688c0ad0da750f7b54fba662034d057 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "esr-9753:orange:power";
+                       label = "orange:power";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "esr-9753:orange:wps";
+                       label = "orange:wps";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index 6f1ba34721b777424faf861bb5d7de3413e5e0ae..9d89c6e2f9ae92f354dcd5deb4159b5e144a9591 100644 (file)
                compatible = "gpio-leds";
 
                wifi {
-                       label = "fonera-20n:orange:wifi";
+                       label = "orange:wifi";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "fonera-20n:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "fonera-20n:orange:usb";
+                       label = "orange:usb";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&otg_port1>;
                        linux,default-trigger = "usbport";
index 55db04ff018b8abc2ad7343866af9dcfabbfba1d..6734f5b3369c34e21254e967e90872ac88bdcf71 100644 (file)
                compatible = "gpio-leds";
 
                diskmounted {
-                       label = "broadway:red:diskmounted";
+                       label = "red:diskmounted";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&otg_port1>;
                        linux,default-trigger = "usbport";
                };
 
                wps_active {
-                       label = "broadway:red:wps_active";
+                       label = "red:wps_active";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index 18894f6006994205838fcb172ae1d33abcfa95e7..92ea59bc4c6cda2cfd4108e6de2d2fb84f5099e5 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "hg255d:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
 
                internet {
-                       label = "hg255d:green:internet";
+                       label = "green:internet";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
 
                wifi {
-                       label = "hg255d:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "hg255d:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&otg_port1>;
                        linux,default-trigger = "usbport";
                };
 
                wps {
-                       label = "hg255d:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                voice {
-                       label = "hg255d:green:voice";
+                       label = "green:voice";
                        gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
                };
        };
index 29ea1301f671b3ecf8b25f6f350a80f9162c8b8c..7b71af402fa4d717e3862655627d1118ef465f74 100644 (file)
@@ -54,7 +54,7 @@
        leds {
                compatible = "gpio-leds";
                led_system: system {
-                       label = "jhr-n825r:red:power";
+                       label = "red:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
        };
index 05f20e3178c888964c2f9f388c731a46e0b5b259..543144394f8d44a1b29d4137a0cefeda95ccb937 100644 (file)
                compatible = "gpio-leds";
 
                wlan1 {
-                       label = "jhr-n926r:red:wlan";
+                       label = "red:wlan";
                        gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
                };
 
                wlan2 {
-                       label = "jhr-n926r:yellow:wlan";
+                       label = "yellow:wlan";
                        gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
                };
 
                wlan3 {
-                       label = "jhr-n926r:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
                };
 
                led_system: system {
-                       label = "jhr-n926r:blue:system";
+                       label = "blue:system";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
index 6f08f8257b7ce4e60ddf530ce1e35b0eb64d86b9..245f01c79777b0ec0ed78c83f92332858a4b8c87 100644 (file)
                compatible = "gpio-leds";
 
                usb {
-                       label = "mofi3500-3gn:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&otg_port1>;
                        linux,default-trigger = "usbport";
                };
 
                3g {
-                       label = "mofi3500-3gn:green:3g";
+                       label = "green:3g";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                led_status: status {
-                       label = "mofi3500-3gn:green:status";
+                       label = "green:status";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "mofi3500-3gn:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index 5bac21c6101d8a030a3be1ab5ecc154d27606548..e5d70bd803f088082d9361103e5a01bcdd318572 100644 (file)
                compatible = "gpio-leds";
 
                led_power_green: power-green {
-                       label = "wnce2001:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
 
                power-red {
-                       label = "wnce2001:red:power";
+                       label = "red:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wlan-green {
-                       label = "wnce2001:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
                };
 
                wlan-red {
-                       label = "wnce2001:red:wlan";
+                       label = "red:wlan";
                        gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
                };
        };
index 19f3fe680b266523703fe2289694c24b1d0dd83e..d3d5afe64b33bdd49211d5060d4b21cd1dcfa964 100644 (file)
@@ -48,7 +48,7 @@
                compatible = "gpio-leds";
 
                usb {
-                       label = "bc2:blue:usb";
+                       label = "blue:usb";
                        gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&otg_port1>;
                        linux,default-trigger = "usbport";
index f971bee991c38749cf41b507e8f1c9a752cd51f9..bc3dd5ee56b5eb8a1ee1bf3434c4906e66a18d4e 100644 (file)
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "miniembwifi:green:status";
+                       label = "green:status";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "miniembwifi:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index fc65e0e9b60c042f5b12f6e480ea3506bb101f45..b17097cb4595a31df74dc892de9cb1eb442831a6 100644 (file)
@@ -59,7 +59,7 @@
                compatible = "gpio-leds";
 
                led_wan: wan {
-                       label = "psr-680w:red:wan";
+                       label = "red:wan";
                        gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
                };
        };
index 38d81f1bc3b47e457cb161362dfec935126ff5b4..ff199f890b25fe3816781b3f429903c57400c888 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "mzk-w300nh2:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "mzk-w300nh2:amber:wlan";
+                       label = "amber:wlan";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "mzk-w300nh2:amber:wps";
+                       label = "amber:wps";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
        };
index 9a3522174d12f3dfc167ae734c5dc58c3ec59dbc..f3dab80073cc9dad934ead73bf3e81ea10915752 100644 (file)
                compatible = "gpio-leds";
 
                led_run: run {
-                       label = "ip2202:green:run";
+                       label = "green:run";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                net {
-                       label = "ip2202:amber:net";
+                       label = "amber:net";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
index ee4fdd60c49540986af6699d5b84ba844077fe55..312007c68f07688cac1812fe04065102f25e4543 100644 (file)
                compatible = "gpio-leds";
 
                wifi {
-                       label = "pwh2004:red:wifi";
+                       label = "red:wifi";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "pwh2004:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
        };
index b14e695222917977f0a7b93d69434a533af240a2..2689febf7fc33ac7954c6921a29f90cb01f8aa47 100644 (file)
                compatible = "gpio-leds";
 
                led_security: security {
-                       label = "v22rw-2x2:green:security";
+                       label = "green:security";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "v22rw-2x2:red:wps";
+                       label = "red:wps";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index e519f65df83281c242a3cc918ca788adc2959af8..f4aa24ec5a29aea339a9186bbd62ce36c8f3a39e 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "wl-351:amber:power";
+                       label = "amber:power";
                        gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
                };
 
                unpopulated {
-                       label = "wl-351:amber:unpopulated";
+                       label = "amber:unpopulated";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                unpopulated2 {
-                       label = "wl-351:blue:unpopulated";
+                       label = "blue:unpopulated";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
index c23824deeeb6c4fb8a56790259cd58cf6387cf2e..89e6c9ed710b00b3d152e133c85e9c0e1b26465e 100644 (file)
@@ -55,7 +55,7 @@
                compatible = "gpio-leds";
 
                led_wifi: wifi {
-                       label = "sl-r7205:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
        };
index 30beae84834707bb1f2e90cf5f21cbdea071b5bc..dcebe64af424f004ba1af3bc06953ab314eb3b02 100644 (file)
                compatible = "gpio-leds";
 
                3grouter {
-                       label = "3g300m:blue:3grouter";
+                       label = "blue:3grouter";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                led_ap: ap {
-                       label = "3g300m:blue:ap";
+                       label = "blue:ap";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                wisprouter {
-                       label = "3g300m:blue:wisprouter";
+                       label = "blue:wisprouter";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wirelessrouter {
-                       label = "3g300m:blue:wirelessrouter";
+                       label = "blue:wirelessrouter";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
 
                3g {
-                       label = "3g300m:blue:3g";
+                       label = "blue:3g";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&otg_port1>;
                        linux,default-trigger = "usbport";
                };
 
                wpsreset {
-                       label = "3g300m:blue:wpsreset";
+                       label = "blue:wpsreset";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index f683015ea0b0259982826d515053c23c0e63b871..f6c1b2d2b5ac94f0d776a723ddaa864f9ed1639f 100644 (file)
                compatible = "gpio-leds";
 
                led_sys: sys {
-                       label = "w306r-v20:green:sys";
+                       label = "green:sys";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "w306r-v20:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
index f62c18b0e2b30727c5bc85a759170d379dc30d26..dad0da16d54e798ec209645315406418bd792f22 100644 (file)
                compatible = "gpio-leds";
 
                3g {
-                       label = "wr512-3gn:green:3g";
+                       label = "green:3g";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                gateway {
-                       label = "wr512-3gn:green:gateway";
+                       label = "green:gateway";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                ap {
-                       label = "wr512-3gn:green:ap";
+                       label = "green:ap";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                led_wps: wps {
-                       label = "wr512-3gn:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
 
                station {
-                       label = "wr512-3gn:green:station";
+                       label = "green:station";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
index 88cec02756ea1069753e67c37c2d11fea71e7d11..d94da950293ab79e4d1c1fd79095143b88bfe19d 100644 (file)
                compatible = "gpio-leds";
 
                wifi {
-                       label = "xdxrn502j:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "xdxrn502j:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
        };
index 509094d9b6af82097d59cd1ca585132e79901df6..fc71437b48d7fbaa15b4d609dede43987fcafe65 100644 (file)
                compatible = "gpio-leds";
 
                3g {
-                       label = "ur-326n4g:green:3g";
+                       label = "green:3g";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                gateway {
-                       label = "ur-326n4g:green:gateway";
+                       label = "green:gateway";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                ap {
-                       label = "ur-326n4g:green:ap";
+                       label = "green:ap";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                led_wps: wps {
-                       label = "ur-326n4g:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
 
                station {
-                       label = "ur-326n4g:green:station";
+                       label = "green:station";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
index 6c6461dcd69857a23744d4aa01b5eaa2e549c70b..2c00ca89456aa481c31f031a26c886401d86c248 100644 (file)
                compatible = "gpio-leds";
 
                3g {
-                       label = "ur-336un:green:3g";
+                       label = "green:3g";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                gateway {
-                       label = "ur-336un:green:gateway";
+                       label = "green:gateway";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                ap {
-                       label = "ur-336un:green:ap";
+                       label = "green:ap";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                led_wps: wps {
-                       label = "ur-336un:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
 
                station {
-                       label = "ur-336un:green:station";
+                       label = "green:station";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
index 556e703cc48054c9106bdb8c06c092f2f6311b73..6c65d34f166e4752b8a3ff064b79577e1880a8e0 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "kn:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "kn:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&otg_port1>;
                        linux,default-trigger = "usbport";
                };
 
                wps {
-                       label = "kn:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index 5da800cb38ed82f3a611c2bc269565356c2f8828..db4f8d4a31fc209e32616b16e647297c599d6cd6 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "nbg-419n:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "nbg-419n:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index b59d3f0012de3981b3ceef637fbe54af112b677a..b5bdd3cd81edf635ae7b6199368428c57857b403 100644 (file)
                compatible = "gpio-leds";
 
                ld1 {
-                       label = "all5002:green:ld1";
+                       label = "green:ld1";
                        gpios = <&pcf0 0 GPIO_ACTIVE_LOW>;
                };
 
                ld2 {
-                       label = "all5002:green:ld2";
+                       label = "green:ld2";
                        gpios = <&pcf0 1 GPIO_ACTIVE_LOW>;
                };
        };
index 727ba6b7ea82940e90169145af527af5ee44271b..2233c9018c856c9837c78a1d5eeb7bf2aa746ada 100644 (file)
                compatible = "gpio-leds";
 
                status {
-                       label = "dir-615-h1:amber:status";
+                       label = "amber:status";
                        gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
                };
 
                led_status_green: status2 {
-                       label = "dir-615-h1:green:status";
+                       label = "green:status";
                        gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
                };
 
                wan {
-                       label = "dir-615-h1:amber:wan";
+                       label = "amber:wan";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                wan2 {
-                       label = "dir-615-h1:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "dir-615-h1:blue:wps";
+                       label = "blue:wps";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index 36125ef5c91b532d3e7ec5af210555217caed088..50b762ce5a585188b6cd26694477d1680a453231 100644 (file)
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "dir-620-d1:green:status";
+                       label = "green:status";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wifi {
-                       label = "dir-620-d1:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
                };
        };
index 0c71410cbba82941a09aa5b17391660b66ebcc52..84bb645c5afb50c85c87acf1d9a0cccc6e855fe5 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "nbg-419n2:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "nbg-419n2:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "nbg-419n2:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
index ca3da99b191f98e3a8e5c361b3ffa151ae3d99bc..98426b86f06ca1319da747ccc816b56b41543a60 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "rt-n56u:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
                };
 
                lan {
-                       label = "rt-n56u:blue:lan";
+                       label = "blue:lan";
                        gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
                };
 
                wan {
-                       label = "rt-n56u:blue:wan";
+                       label = "blue:wan";
                        gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "rt-n56u:blue:usb";
+                       label = "blue:usb";
                        gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
                };
        };
index 451576eed9786798cd505de72c100e404abd6562..778ee3c1e76ab3e47b7617a46469c63c166ecec5 100644 (file)
                compatible = "gpio-leds";
 
                inet {
-                       label = "dir-645:green:inet";
+                       label = "green:inet";
                        gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
                };
 
                led_wps: wps {
-                       label = "dir-645:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
                };
        };
index 85c98599e27188b7b73682ff9ad06e8ab2416e04..c0e3193818d026072c7950f53de92b22e5cb3d89 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "br-6475nd:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "br-6475nd:amber:wlan";
+                       label = "amber:wlan";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                wlan_5ghz {
-                       label = "br-6475nd:amber:wlan_5ghz";
+                       label = "amber:wlan_5ghz";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index c542079e21aa7b35c8f29be1e896af383a40fffe..c0f30ec6c772bf5df782970d7d52c91c5dc7c2b2 100644 (file)
                compatible = "gpio-leds";
 
                power {
-                       label = "hpm:orange:power";
+                       label = "orange:power";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
 
                led_status: status {
-                       label = "hpm:green:status";
+                       label = "green:status";
                        gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };
 
                eth {
-                       label = "hpm:green:eth";
+                       label = "green:eth";
                        gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
                };
 
                eth2 {
-                       label = "hpm:red:eth";
+                       label = "red:eth";
                        gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
                };
 
                wifi {
-                       label = "hpm:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
                };
 
                wifi2 {
-                       label = "hpm:red:wifi";
+                       label = "red:wifi";
                        gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
                };
        };
index bd14699de59ce38864a35d19c4bd16c950e5d6c4..ad417856b3a81a70229564bf9599d31d287840bd 100644 (file)
                compatible = "gpio-leds";
 
                wps {
-                       label = "cy-swr1100:blue:wps";
+                       label = "blue:wps";
                        gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "cy-swr1100:blue:usb";
+                       label = "blue:usb";
                        gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                led_power: power {
-                       label = "cy-swr1100:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
                };
        };
index 6705486b1f0947fb8a2fc8e53d0f59ac78480cf1..78c9bb4b6d54713180964200b24fcd15024ab7eb 100644 (file)
                compatible = "gpio-leds";
 
                led_status_amber: internet_amber {
-                       label = "f9k1109v1:amber:internet";
+                       label = "amber:internet";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
 
                led_status_blue: internet_blue {
-                       label = "f9k1109v1:blue:internet";
+                       label = "blue:internet";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                usb1 {
-                       label = "f9k1109v1:green:usb1";
+                       label = "green:usb1";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                usb2 {
-                       label = "f9k1109v1:green:usb2";
+                       label = "green:usb2";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port2>, <&ehci_port2>;
                        linux,default-trigger = "usbport";
                };
 
                wps_amber {
-                       label = "f9k1109v1:amber:wps";
+                       label = "amber:wps";
                        gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
                };
 
                wps_blue {
-                       label = "f9k1109v1:blue:wps";
+                       label = "blue:wps";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
        };
index ffa99b5946c19bf681ed165eae034429910ec2c3..ccf9917dac6a9f935fd341317759506ec44b34e4 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "wlr-6000:red:power";
+                       label = "red:power";
                        gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
                };
 
                ops {
-                       label = "wlr-6000:white:ops";
+                       label = "white:ops";
                        gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
                };
        };
index 855d908c8cec94b7e6f5f1e85c85572efa1e5e72..03e504a6d19f4ee13b97fd9ca6aa1e222b6a11c9 100644 (file)
@@ -77,7 +77,7 @@
                compatible = "gpio-leds";
 
                led_wps: wps {
-                       label = "tew-691gr:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
        };
index 1f85242b7b3deef0688fd6a729cd6009a83871f1..95a2bb75f3e2a4fccfe08f6846c2923149493746 100644 (file)
                compatible = "gpio-leds";
 
                wps {
-                       label = "tew-692gr:orange:wps";
+                       label = "orange:wps";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                led_wps_green: wps2 {
-                       label = "tew-692gr:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
                };
        };
index a4a520cdcb1f9de017acf87d881cfd7bfa8b1411..a15d140f3e5b14261c51f742332c83f54a5d3046 100644 (file)
                compatible = "gpio-leds";
 
                led_wifi: wifi {
-                       label = "px-4885:orange:wifi";
+                       label = "orange:wifi";
                        gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
                };
 
                storage {
-                       label = "px-4885:blue:storage";
+                       label = "blue:storage";
                        gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
index f68694b924b1abf446c04af4cd3d60e1eacc42d1..edd347b6e04eef7979cebaeb566c0dff60ba58ed 100644 (file)
                compatible = "gpio-leds";
 
                wlan {
-                       label = "air3gii:green:wlan";
+                       label = "green:wlan";
                        gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
                };
 
                mobile {
-                       label = "air3gii:green:mobile";
+                       label = "green:mobile";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
index 818e64834bc2098919a61598f7587a98ce7a5a0e..4c3d441847c0c6edc1bd803767c03fdac512744f 100644 (file)
                compatible = "gpio-leds";
 
                ld1 {
-                       label = "all5003:green:ld1";
+                       label = "green:ld1";
                        gpios = <&pcf0 0 GPIO_ACTIVE_LOW>;
                };
 
                ld2 {
-                       label = "all5003:green:ld2";
+                       label = "green:ld2";
                        gpios = <&pcf0 1 GPIO_ACTIVE_LOW>;
                };
        };
index 840db54670dacf0874a37b1a1879d8204d1ac43f..07e088652c7cd8a7ae91fe260679b9864ad6b0be 100644 (file)
                compatible = "gpio-leds";
 
                tx {
-                       label = "awm002-evb:green:tx";
+                       label = "green:tx";
                        gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
                };
 
                rx {
-                       label = "awm002-evb:green:rx";
+                       label = "green:rx";
                        gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "awm002-evb:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
                };
        };
index fd73038dc207fb0d3b88f836cdc4139dca94cfaa..e3691b75bdb47e6d81dbf7cb0c76fc0c9599992d 100644 (file)
                compatible = "gpio-leds";
 
                status {
-                       label = "f7c027:blue:status";
+                       label = "blue:status";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
                power {
-                       label = "f7c027:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                led_status_orange: orange {
-                       label = "f7c027:orange:status";
+                       label = "orange:status";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                relay {
-                       label = "f7c027:device:relay";
+                       label = "device:relay";
                        gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
                };
        };
index 83f63f87274198a48b9f3046cbde66137181f2dd..fcff5678855ac54535d2b9d6ba102f458e6785fd 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "dcs-930l-b1:red:power";
+                       label = "red:power";
                        gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "dcs-930l-b1:blue:wps";
+                       label = "blue:wps";
                        gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
                };
        };
index 17fecfba1b4dc1933bc5988fb55d28853644a299..bcc02f3cda309519550d5da864c282062d58f5d1 100644 (file)
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "dir-300-b7:green:status";
+                       label = "green:status";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "dir-300-b7:blue:wps";
+                       label = "blue:wps";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
index f530f418aaa2b95b7caeacd586e5984efdbd74f1..bc3e431982a8bf59acdaa95795bec8ca733c2db2 100644 (file)
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "dir-320-b1:green:status";
+                       label = "green:status";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                usb {
-                       label = "dir-320-b1:green:usb";
+                       label = "green:usb";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "dir-320-b1:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
index bb9950a5f0baa328b15348e63b63f36800bd18e5..5bd87190a54dc3408ac520fd2552b8331e7c6513 100644 (file)
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "dir-610-a1:green:status";
+                       label = "green:status";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "dir-610-a1:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
index 9bea682b436b50231ed6477f5dc9fd49bc8bc884..48fb1d4ffd254defb57c655d6ba72bb053cb870a 100644 (file)
                compatible = "gpio-leds";
 
                sms {
-                       label = "dwr-512-b:green:sms";
+                       label = "green:sms";
                        gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
                };
                led_status: status {
-                       label = "dwr-512-b:green:status";
+                       label = "green:status";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
                2g {
-                       label = "dwr-512-b:green:2g";
+                       label = "green:2g";
                        gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
                };
                3g {
-                       label = "dwr-512-b:green:3g";
+                       label = "green:3g";
                        gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
                };
                sstrengthr {
-                       label = "dwr-512-b:red:sigstrength";
+                       label = "red:sigstrength";
                        gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
                };
                sstrengthg {
-                       label = "dwr-512-b:green:sigstrength";
+                       label = "green:sigstrength";
                        gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
                };
        };
index ad169f67299dd471b9a5cc681c1276f1a20b9046..2635134348f164adf6c2bc014ed04c77eda2d2d2 100644 (file)
                compatible = "gpio-leds";
 
                led_system: system {
-                       label = "mpr-a1:blue:system";
+                       label = "blue:system";
                        gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
                };
 
                power {
-                       label = "mpr-a1:red:power";
+                       label = "red:power";
                        gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
                };
        };
index 3c17bb631079893b2d9747881cf4b566ead16f6d..500f6ebd01893a2df64b8b380a7e5cf755535464 100644 (file)
                compatible = "gpio-leds";
 
                led_system: system {
-                       label = "mpr-a2:blue:system";
+                       label = "blue:system";
                        gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
                };
 
                power {
-                       label = "mpr-a2:red:power";
+                       label = "red:power";
                        gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
                };
        };
index dc6fab8c148903780a12acde4c04e462877c1ca2..a4c8c83f82aba15fd86526542a436cf7e801ab17 100644 (file)
                compatible = "gpio-leds";
 
                led_wlan: wlan {
-                       label = "ht-tm02:blue:wlan";
+                       label = "blue:wlan";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
                lan {
-                       label = "ht-tm02:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
        };
index 14a1a78268283502d63b87f150aba0373c57f0a2..769aec6a50812418d81d2dac1dcb01afec20112f 100644 (file)
                compatible = "gpio-leds";
 
                led_wifi: wifi {
-                       label = "memory2move:blue:wifi";
+                       label = "blue:wifi";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
                wan {
-                       label = "memory2move:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
        };
index 24e7cdbc876bc745389da6c8fabda032a2b8bf55..102132628ea190d288ceb31f07013d5e1c46dab9 100644 (file)
                compatible = "gpio-leds";
 
                wlan {
-                       label = "miniembplug:red:wlan";
+                       label = "red:wlan";
                        gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
                };
 
                mobile {
-                       label = "miniembplug:green:mobile";
+                       label = "green:mobile";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
index f683a05efbba61311d0d37ec93ff7ba394809f18..c7e899580cd5c76390ed5efaf42d83aa1be43ab9 100644 (file)
@@ -18,7 +18,7 @@
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "mzk-dp150n:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
        };
index 3b7f34cf49e4337de02fe14ef9eedbe33e4d1d5e..1fc4959639e20120a13d6dc7c7ad7425ea55f7d1 100644 (file)
@@ -18,7 +18,7 @@
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "m3:blue:status";
+                       label = "blue:status";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
        };
index 2413de28897b392e29a227a3a148c3e7490f4de3..c4ca6ab6cd73b7b5182f778010645e17d396c18a 100644 (file)
@@ -17,7 +17,7 @@
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "m4:blue:status";
+                       label = "blue:status";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
        };
index dbbf59a92372c30f7a0090b5c75d469a08ade8ae..bbc1c14e65bbe0475b23f921bde28350183d4c4c 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "x5:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
 
                20 {
-                       label = "x5:green:20";
+                       label = "green:20";
                        gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
                };
 
                50 {
-                       label = "x5:green:50";
+                       label = "green:50";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };
 
                80 {
-                       label = "x5:green:80";
+                       label = "green:80";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
        };
index 1ba0a77a4f4e26dc0bd929a3caf5744a7706884f..b36dd46f578e3aa3b3a736df46063d1d724a1f99 100644 (file)
@@ -18,7 +18,7 @@
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "x8:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
index affa5b4cfcb302ac84769871eb5ddb941964195f..9bfa79364654d61d275461d6309b40f1cae97347 100644 (file)
                compatible = "gpio-leds";
 
                led_ap: ap {
-                       label = "3g150b:blue:ap";
+                       label = "blue:ap";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };
 
                3g {
-                       label = "3g150b:blue:3g";
+                       label = "blue:3g";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
index fdd72f354d28e1d22474555f71998d1d59793e99..11765f10c6dde9ae719b06d9ba540e4e287f8cfc 100644 (file)
                compatible = "gpio-leds";
 
                usb {
-                       label = "tew-714tru:red:usb";
+                       label = "red:usb";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ohci_port1>, <&ehci_port1>;
                        linux,default-trigger = "usbport";
                };
 
                wifi {
-                       label = "tew-714tru:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
index 7f07b3f4319f234839afa262a0c15517fe20e537..42e6dcfb4efdc9e01be4059d1a45c6188c93d617 100644 (file)
                compatible = "gpio-leds";
 
                system {
-                       label = "a5-v11:blue:system";
+                       label = "blue:system";
                        gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
                };
 
                led_power: power {
-                       label = "a5-v11:red:power";
+                       label = "red:power";
                        gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
                };
        };
index 791b69448af934efed33dd706fd1859f31c3baaf..a905e023cb8f56f25225873a035910a34eac774e 100644 (file)
 
                led_status: status {
                        /* UARTF_RXD */
-                       label = "vocore:green:status";
+                       label = "green:status";
                        gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
                };
 
                eth {
                        /* UARTF_DTR_N */
-                       label = "vocore:orange:eth";
+                       label = "orange:eth";
                        gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
                };
        };
index 0ed1de286bdd504b06e7b8c5ed410e03ca075948..9a2c0a606ce5c9f0d6342b1d380174b29f411041 100644 (file)
                compatible = "gpio-leds";
 
                led_run: run {
-                       label = "wizfi630a::run";
+                       label = ":run";
                        gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "wizfi630a::wps";
+                       label = ":wps";
                        gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
                };
 
                uart1 {
-                       label = "wizfi630a::uart1";
+                       label = ":uart1";
                        gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
                };
 
                uart2 {
-                       label = "wizfi630a::uart2";
+                       label = ":uart2";
                        gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
                };
        };
index 04b2ce740882f657d415a0af70ff18e35c45e1a7..0879c11206b97c8d2b587f238036d1087c2fc87a 100644 (file)
                compatible = "gpio-leds";
 
                lan {
-                       label = "zl5900v2:green:lan";
+                       label = "green:lan";
                        gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
                };
 
                led_power: power {
-                       label = "zl5900v2:blue:power";
+                       label = "blue:power";
                        gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
                };
        };
index ad5b07f8869e663b7bb3b79d7dc488d2064d830b..bc16e2c5c1a62b2746c45f45bbfd751abaf4a3bf 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "keenetic-lite-b:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "keenetic-lite-b:green:wps";
+                       label = "green:wps";
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };
        };
index e5e2ac998a650fed3c97a31101d36ecbbd5ee6a8..eb7d7ed46bb83cf20b81b37a05cb2051f5f66aa4 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "zyxel:green:power";
+                       label = "green:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
                internet {
-                       label = "zyxel:green:internet";
+                       label = "green:internet";
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
        };
index ec86ed4b3f0387425561b9c59ae6c8d7b6efefa6..519d643a8c1f50180ad24e996790f80d00c248c2 100755 (executable)
@@ -7,9 +7,7 @@ set_wifi_led() {
        ucidef_set_led_netdev "wifi_led" "wifi" "${1}" "${2:-wlan0}"
 }
 
-
 board=$(board_name)
-boardname="${board##*,}"
 
 board_config_update
 
@@ -18,220 +16,215 @@ led_wlan="$(get_dt_led wlan)"
 
 case $board in
 aigale,ai-br100)
-       ucidef_set_led_netdev "wan" "wan" "$boardname:blue:wan" "eth0.2"
-       set_wifi_led "$boardname:blue:wlan"
+       ucidef_set_led_netdev "wan" "wan" "blue:wan" "eth0.2"
+       set_wifi_led "blue:wlan"
        ;;
 alfa-network,ac1200rm)
-       set_wifi_led "$boardname:green:wlan2g" "wlan1"
+       set_wifi_led "green:wlan2g" "wlan1"
        ;;
 alfa-network,r36m-e4g)
-       ucidef_set_led_netdev "4g" "4g" "$boardname:orange:4g" "wwan0"
-       ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x8"
-       ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x10"
+       ucidef_set_led_netdev "4g" "4g" "orange:4g" "wwan0"
+       ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x8"
+       ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x10"
        ;;
 alfa-network,tube-e4g)
-       ucidef_set_led_netdev "4g" "4g" "$boardname:green:4g" "wwan0"
-       ucidef_set_led_netdev "lan" "lan" "$boardname:blue:lan" "eth0"
+       ucidef_set_led_netdev "4g" "4g" "green:4g" "wwan0"
+       ucidef_set_led_netdev "lan" "lan" "blue:lan" "eth0"
        ;;
 asus,rp-n53)
-       ucidef_set_led_netdev "eth" "Network" "$boardname:white:back" "eth0"
-       set_wifi_led "$boardname:blue:wifi"
+       ucidef_set_led_netdev "eth" "Network" "white:back" "eth0"
+       set_wifi_led "blue:wifi"
        ;;
 asus,rt-n12p)
-       ucidef_set_led_netdev "lan" "lan" "$boardname:green:lan" eth0.1
-       ucidef_set_led_netdev "wan" "wan" "$boardname:green:wan" eth0.2
-       set_wifi_led "$boardname:green:air"
+       ucidef_set_led_netdev "lan" "lan" "green:lan" eth0.1
+       ucidef_set_led_netdev "wan" "wan" "green:wan" eth0.2
+       set_wifi_led "green:air"
        ;;
 asus,rt-n14u)
-       ucidef_set_led_netdev "lan" "lan" "$boardname:blue:lan" eth0.1
-       ucidef_set_led_netdev "wan" "wan" "$boardname:blue:wan" eth0.2
-       set_wifi_led "$boardname:blue:air"
+       ucidef_set_led_netdev "lan" "lan" "blue:lan" eth0.1
+       ucidef_set_led_netdev "wan" "wan" "blue:wan" eth0.2
+       set_wifi_led "blue:air"
        ;;
 bdcom,wap2100-sk)
-       set_wifi_led "$boardname:green:wlan2g"
+       set_wifi_led "green:wlan2g"
        ;;
 comfast,cf-wr800n)
-       ucidef_set_led_netdev "lan" "lan" "$boardname:white:ethernet" eth0.1
-       set_wifi_led "$boardname:white:wifi"
+       ucidef_set_led_netdev "lan" "lan" "white:ethernet" eth0.1
+       set_wifi_led "white:wifi"
        ;;
 dlink,dir-810l|\
 trendnet,tew-810dr)
-       ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x10"
+       ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x10"
        ;;
 dlink,dwr-116-a1|\
 head-weblink,hdrm200|\
 ohyeah,oy-0001|\
 planex,mzk-ex300np|\
+zbtlink,zbt-we826-16m|\
+zbtlink,zbt-we826-32m|\
 zbtlink,zbt-wr8305rt|\
 zyxel,keenetic-omni|\
 zyxel,keenetic-omni-ii|\
 zyxel,keenetic-viva)
-       set_wifi_led "$boardname:green:wifi"
+       set_wifi_led "green:wifi"
        ;;
 dlink,dwr-118-a1)
-       ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1f"
-       ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x20"
-       set_wifi_led "$boardname:green:wlan2g" "wlan1"
+       ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x1f"
+       ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x20"
+       set_wifi_led "green:wlan2g" "wlan1"
        ;;
 dlink,dwr-118-a2)
-       ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1e"
-       ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
-       set_wifi_led "$boardname:green:wlan2g" "wlan1"
+       ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x1e"
+       ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x01"
+       set_wifi_led "green:wlan2g" "wlan1"
        ;;
 dlink,dwr-921-c1|\
 dlink,dwr-922-e2)
-       set_wifi_led "$boardname:green:wifi"
-       ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x0f"
-       ucidef_set_led_netdev "signalstrength" "signalstrength" "$boardname:green:sigstrength" "wwan0" "link"
-       ucidef_set_led_netdev "4g" "4g" "$boardname:green:4g" "wwan0" "tx rx"
+       ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x0f"
+       ucidef_set_led_netdev "signalstrength" "signalstrength" "green:sigstrength" "wwan0" "link"
+       ucidef_set_led_netdev "4g" "4g" "green:4g" "wwan0" "tx rx"
+       set_wifi_led "green:wifi"
        ;;
 dlink,dwr-960)
-       ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x2e"
-       ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
+       ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x2e"
+       ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x01"
        ;;
 dovado,tiny-ac)
-       set_wifi_led "$boardname:orange:wifi"
+       set_wifi_led "orange:wifi"
        ;;
 edimax,br-6478ac-v2|\
 edimax,ew-7478apc)
-       set_wifi_led "$boardname:blue:wlan"
+       set_wifi_led "blue:wlan"
        ;;
 edimax,ew-7476rpc|\
 edimax,ew-7478ac)
-       ucidef_set_led_switch "lan" "lan" "$boardname:green:lan"  "switch0" "0x20"
+       ucidef_set_led_switch "lan" "lan" "green:lan"  "switch0" "0x20"
        ;;
 elecom,wrh-300cr)
-       set_wifi_led "$boardname:green:wlan"
-       ucidef_set_led_netdev "lan" "lan" "$boardname:green:ethernet" "eth0"
+       ucidef_set_led_netdev "lan" "lan" "green:ethernet" "eth0"
+       set_wifi_led "green:wlan"
        ;;
 engenius,esr600)
-       ucidef_set_led_netdev "wlan5g" "5.0GHz" "$boardname:blue:wlan5g" "wlan0"
-       ucidef_set_led_netdev "wlan2g" "2.4GHz" "$boardname:blue:wlan2g" "wlan1"
+       ucidef_set_led_netdev "wlan5g" "5.0GHz" "blue:wlan5g" "wlan0"
+       ucidef_set_led_netdev "wlan2g" "2.4GHz" "blue:wlan2g" "wlan1"
        ;;
 glinet,gl-mt300a|\
 glinet,gl-mt300n|\
 glinet,gl-mt750)
-       set_wifi_led "$boardname:wlan"
+       set_wifi_led "wlan"
        ;;
 hiwifi,hc5661|\
 hiwifi,hc5761)
-       ucidef_set_led_switch "internet" "internet" "$boardname:blue:internet" "switch0" "0x01"
+       ucidef_set_led_switch "internet" "internet" "blue:internet" "switch0" "0x01"
        ;;
 hiwifi,hc5861)
-       ucidef_set_led_switch "internet" "internet" "$boardname:blue:internet" "switch0" "0x20"
+       ucidef_set_led_switch "internet" "internet" "blue:internet" "switch0" "0x20"
        ;;
 hnet,c108)
-       ucidef_set_led_netdev "lan" "lan" "$boardname:green:lan" "eth0"
-       ucidef_set_led_netdev "modem" "modem" "$boardname:green:modem" "wwan0"
+       ucidef_set_led_netdev "lan" "lan" "green:lan" "eth0"
+       ucidef_set_led_netdev "modem" "modem" "green:modem" "wwan0"
        ;;
 iodata,wn-ac1167gr|\
 iodata,wn-ac733gr3)
-       ucidef_set_led_wlan "wlan5g" "WLAN5G" "$boardname:green:wlan5g" "phy0radio"
-       ucidef_set_led_wlan "wlan2g" "WLAN2G" "$boardname:green:wlan2g" "phy1radio"
+       ucidef_set_led_wlan "wlan5g" "WLAN5G" "green:wlan5g" "phy0radio"
+       ucidef_set_led_wlan "wlan2g" "WLAN2G" "green:wlan2g" "phy1radio"
        ;;
 kimax,u25awf-h1)
-       set_wifi_led "u25awf:red:wifi"
-       ucidef_set_led_netdev "eth" "eth" "u25awf:green:lan" "eth0"
+       ucidef_set_led_netdev "eth" "eth" "green:lan" "eth0"
+       set_wifi_led "red:wifi"
        ;;
 kimax,u35wf)
-       set_wifi_led "$boardname:blue:wifi"
-       ucidef_set_led_netdev "eth" "ETH" "$boardname:green:eth" "eth0"
+       ucidef_set_led_netdev "eth" "ETH" "green:eth" "eth0"
+       set_wifi_led "blue:wifi"
        ;;
 kingston,mlw221|\
 kingston,mlwg2|\
 sanlinking,d240)
-       set_wifi_led "$boardname:blue:wifi"
+       set_wifi_led "blue:wifi"
        ;;
 lava,lr-25g001)
-       ucidef_set_led_netdev "wlan2g" "WiFi 2.4GHz" "$boardname:green:wlan2g" "wlan1"
-       ucidef_set_led_netdev "wlan5g" "WiFi 5GHz" "$boardname:green:wlan5g" "wlan0"
+       ucidef_set_led_netdev "wlan2g" "WiFi 2.4GHz" "green:wlan2g" "wlan1"
+       ucidef_set_led_netdev "wlan5g" "WiFi 5GHz" "green:wlan5g" "wlan0"
        ;;
 lenovo,newifi-y1)
-       ucidef_set_led_netdev "wifi" "WIFI" "$boardname:blue:wifi" "wlan1"
-       ucidef_set_led_netdev "wifi5g" "WIFI5G" "$boardname:blue:wifi5g" "wlan0"
-       ucidef_set_led_switch "lan" "LAN" "$boardname:blue:lan" "switch0" "0x03"
+       ucidef_set_led_netdev "wifi" "WIFI" "blue:wifi" "wlan1"
+       ucidef_set_led_netdev "wifi5g" "WIFI5G" "blue:wifi5g" "wlan0"
+       ucidef_set_led_switch "lan" "LAN" "blue:lan" "switch0" "0x03"
        ;;
 lenovo,newifi-y1s)
-       ucidef_set_led_netdev "wifi" "WIFI" "$boardname:yellow:wifi" "wlan1"
-       ucidef_set_led_netdev "wifi5g" "WIFI5G" "$boardname:blue:wifi" "wlan0"
-       ucidef_set_led_netdev "wan" "WAN" "$boardname:blue:internet" "eth0.2" "tx rx"
+       ucidef_set_led_netdev "wifi" "WIFI" "yellow:wifi" "wlan1"
+       ucidef_set_led_netdev "wifi5g" "WIFI5G" "blue:wifi" "wlan0"
+       ucidef_set_led_netdev "wan" "WAN" "blue:internet" "eth0.2" "tx rx"
        ;;
 netgear,ex2700|\
 netgear,wn3000rp-v3)
-       set_wifi_led "$boardname:green:router"
+       set_wifi_led "green:router"
        ;;
 netgear,ex3700|\
 netgear,ex6130)
-       ucidef_set_led_netdev "wlan5g" "ROUTER (green)" "$boardname:green:router" "wlan0"
-       ucidef_set_led_netdev "wlan2g" "DEVICE (green)" "$boardname:green:device" "wlan1"
+       ucidef_set_led_netdev "wlan5g" "ROUTER (green)" "green:router" "wlan0"
+       ucidef_set_led_netdev "wlan2g" "DEVICE (green)" "green:device" "wlan1"
        ;;
 netgear,jwnr2010-v5)
-       ucidef_set_led_switch "lan1" "lan1" "$boardname:green:lan1" "switch0" "0x08"
-       ucidef_set_led_switch "lan2" "lan2" "$boardname:green:lan2" "switch0" "0x04"
-       ucidef_set_led_switch "lan3" "lan3" "$boardname:green:lan3" "switch0" "0x02"
-       ucidef_set_led_switch "lan4" "lan4" "$boardname:green:lan4" "switch0" "0x01"
-       ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x10"
+       ucidef_set_led_switch "lan1" "lan1" "green:lan1" "switch0" "0x08"
+       ucidef_set_led_switch "lan2" "lan2" "green:lan2" "switch0" "0x04"
+       ucidef_set_led_switch "lan3" "lan3" "green:lan3" "switch0" "0x02"
+       ucidef_set_led_switch "lan4" "lan4" "green:lan4" "switch0" "0x01"
+       ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x10"
        ;;
 phicomm,psg1208)
-       set_wifi_led "$boardname:white:wlan2g"
+       set_wifi_led "white:wlan2g"
        ;;
 planex,mzk-ex750np|\
 zbtlink,zbt-we826-e)
-       set_wifi_led "$boardname:red:wifi"
+       set_wifi_led "red:wifi"
        ;;
 ravpower,rp-wd03)
-       ucidef_set_led_netdev "internet" "internet" "$boardname:green:wifi" "eth0"
+       ucidef_set_led_netdev "internet" "internet" "green:wifi" "eth0"
        ;;
 tplink,archer-c2-v1)
-       ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch1" "0x1e"
-       ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch1" "0x01"
-       ;;
-tplink,archer-c20-v1)
-       ucidef_set_led_switch "lan" "lan" "$boardname:blue:lan" "switch0" "0x1e"
-       ucidef_set_led_switch "wan" "wan" "$boardname:blue:wan" "switch0" "0x01"
+       ucidef_set_led_switch "lan" "lan" "green:lan" "switch1" "0x1e"
+       ucidef_set_led_switch "wan" "wan" "green:wan" "switch1" "0x01"
        ;;
+tplink,archer-c20-v1|\
 tplink,archer-c20i)
-       ucidef_set_led_switch "lan" "lan" "$boardname:blue:lan" "switch0" "0x1e"
-       ucidef_set_led_switch "wan" "wan" "$boardname:blue:wan" "switch0" "0x01"
+       ucidef_set_led_switch "lan" "lan" "blue:lan" "switch0" "0x1e"
+       ucidef_set_led_switch "wan" "wan" "blue:wan" "switch0" "0x01"
        ;;
 tplink,archer-c50-v1)
-       ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1e"
-       ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
+       ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x1e"
+       ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x01"
        ;;
 tplink,archer-mr200)
-       ucidef_set_led_netdev "lan" "lan" "$boardname:white:lan" "eth0.1"
-       ucidef_set_led_netdev "wan" "wan" "$boardname:white:wan" "usb0"
+       ucidef_set_led_netdev "lan" "lan" "white:lan" "eth0.1"
+       ucidef_set_led_netdev "wan" "wan" "white:wan" "usb0"
        ;;
 tplink,re200-v1)
-       ucidef_set_led_netdev "lan" "lan" "$boardname:green:lan" "eth0"
+       ucidef_set_led_netdev "lan" "lan" "green:lan" "eth0"
        ;;
 youku,yk1)
-       set_wifi_led "$boardname:blue:air"
-       ucidef_set_led_switch "wan" "wan" "$boardname:blue:wan" "switch0" "0x10"
+       ucidef_set_led_switch "wan" "wan" "blue:wan" "switch0" "0x10"
+       set_wifi_led "blue:air"
        ;;
 zbtlink,zbt-ape522ii)
-       ucidef_set_led_netdev "wlan2g4" "wlan1-link" "$boardname:green:wlan2g4" "wlan1"
-       ucidef_set_led_netdev "sys1" "wlan1" "$boardname:green:sys1" "wlan1" "tx rx"
-       ucidef_set_led_netdev "sys2" "wlan0" "$boardname:green:sys2" "wlan0" "tx rx"
+       ucidef_set_led_netdev "wlan2g4" "wlan1-link" "green:wlan2g4" "wlan1"
+       ucidef_set_led_netdev "sys1" "wlan1" "green:sys1" "wlan1" "tx rx"
+       ucidef_set_led_netdev "sys2" "wlan0" "green:sys2" "wlan0" "tx rx"
        ;;
 zbtlink,zbt-wa05)
-       set_wifi_led "$boardname:blue:air"
-       ;;
-zbtlink,zbt-we826-16m|\
-zbtlink,zbt-we826-32m)
-       set_wifi_led "zbt-we826:green:wifi"
+       set_wifi_led "blue:air"
        ;;
 zbtlink,zbt-we1026-5g-16m)
-       ucidef_set_led_netdev "lan" "LAN" "we1026-5g:green:lan" "eth0"
-       set_wifi_led "we1026-5g:green:wifi"
+       ucidef_set_led_netdev "lan" "LAN" "green:lan" "eth0"
+       set_wifi_led "green:wifi"
        ;;
 zbtlink,zbt-we1026-h-32m)
-       set_wifi_led "we1026-h:green:wifi"
-       ucidef_set_led_switch "lan" "lan" "we1026-h:green:lan" "switch0" "0x8"
-       ucidef_set_led_switch "wan" "wan" "we1026-h:green:wan" "switch0" "0x10"
+       ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x8"
+       ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x10"
+       set_wifi_led "green:wifi"
        ;;
 zbtlink,zbt-we2026)
-       set_wifi_led "$boardname:green:wlan"
+       set_wifi_led "green:wlan"
        ;;
 esac
 
diff --git a/target/linux/ramips/mt7620/base-files/etc/uci-defaults/04_led_migration b/target/linux/ramips/mt7620/base-files/etc/uci-defaults/04_led_migration
deleted file mode 100644 (file)
index 0f2e08c..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-. /lib/functions.sh
-. /lib/functions/migrations.sh
-
-board=$(board_name)
-
-case "$board" in
-lenovo,newifi-y1)
-       migrate_leds "^y1:=newifi-y1:"
-       ;;
-lenovo,newifi-y1s)
-       migrate_leds "^y1s:=newifi-y1s:"
-       ;;
-netgear,wn3000rp-v3)
-       migrate_leds "^wn3000rpv3:=wn3000rp-v3:"
-       ;;
-ravpower,rp-wd03)
-       migrate_leds "^wd03:=rp-wd03:"
-       ;;
-tplink,archer-c2-v1)
-       migrate_leds "^c2-v1:=archer-c2-v1:"
-       ;;
-tplink,archer-c20-v1)
-       migrate_leds "^c20-v1:=archer-c20-v1:"
-       ;;
-tplink,archer-c20i)
-       migrate_leds "^c20i:=archer-c20i:"
-       ;;
-tplink,archer-c50-v1)
-       migrate_leds "^c50:=archer-c50-v1:"
-       ;;
-tplink,archer-mr200)
-       migrate_leds "^mr200:=archer-mr200:"
-       ;;
-youku,yk1)
-       migrate_leds "^youku-yk1:=yk1:"
-       ;;
-zyxel,keenetic-omni)
-       migrate_leds "^kn_rc:=keenetic-omni:"
-       ;;
-zyxel,keenetic-omni-ii)
-       migrate_leds "^kn_rc:=keenetic-omni-ii:"
-       ;;
-zyxel,keenetic-viva)
-       migrate_leds "^kng_rc:=keenetic-viva:"
-       ;;
-esac
-
-migrations_apply system
-
-exit 0
index 8c3be541b095dcf862a92a782487ffc390bd49a9..052b4ed5bb237fc270e4907de97b1b1799a3861c 100755 (executable)
@@ -7,9 +7,7 @@ set_wifi_led() {
        ucidef_set_led_netdev "wifi_led" "wifi" "${1}" "${2:-wlan0}"
 }
 
-
 board=$(board_name)
-boardname="${board##*,}"
 
 board_config_update
 
@@ -18,51 +16,52 @@ led_wlan="$(get_dt_led wlan)"
 
 case $board in
 d-team,newifi-d2)
-       ucidef_set_led_netdev "internet" "internet" "$boardname:amber:internet" "wan"
-       ucidef_set_led_netdev "wlan2g" "WiFi 2.4GHz" "$boardname:blue:wlan2g" "wlan0"
-       ucidef_set_led_netdev "wlan5g" "WiFi 5GHz" "$boardname:blue:wlan5g" "wlan1"
+       ucidef_set_led_netdev "internet" "internet" "amber:internet" "wan"
+       ucidef_set_led_netdev "wlan2g" "WiFi 2.4GHz" "blue:wlan2g" "wlan0"
+       ucidef_set_led_netdev "wlan5g" "WiFi 5GHz" "blue:wlan5g" "wlan1"
        ;;
 d-team,pbr-m1|\
-gehua,ghl-r-001)
-       ucidef_set_led_netdev "internet" "internet" "$boardname:blue:internet" "wan"
+gehua,ghl-r-001|\
+xzwifi,creativebox-v1)
+       ucidef_set_led_netdev "internet" "internet" "blue:internet" "wan"
        ;;
 dlink,dir-1960-a1|\
 dlink,dir-2660-a1)
-       ucidef_set_led_netdev "wan" "wan" "$boardname:white:net" "wan"
+       ucidef_set_led_netdev "wan" "wan" "white:net" "wan"
        ;;
 dlink,dir-860l-b1|\
 dlink,dir-867-a1|\
 dlink,dir-878-a1|\
 dlink,dir-882-a1)
-       ucidef_set_led_netdev "wan" "wan" "$boardname:green:net" "wan"
+       ucidef_set_led_netdev "wan" "wan" "green:net" "wan"
        ;;
 gnubee,gb-pc1|\
 gnubee,gb-pc2)
-       ucidef_set_led_netdev "lan1" "lan1" "$boardname:green:lan1" "lan1"
-       ucidef_set_led_netdev "lan2" "lan2" "$boardname:green:lan2" "lan2"
+       ucidef_set_led_netdev "lan1" "lan1" "green:lan1" "lan1"
+       ucidef_set_led_netdev "lan2" "lan2" "green:lan2" "lan2"
        ;;
 linksys,ea7300-v1|\
 linksys,ea7300-v2|\
 linksys,ea7500-v2)
-       ucidef_set_led_netdev "lan1" "lan1 link" "$boardname:green:lan1" "lan1" "link"
-       ucidef_set_led_netdev "lan2" "lan2 link" "$boardname:green:lan2" "lan2" "link"
-       ucidef_set_led_netdev "lan3" "lan3 link" "$boardname:green:lan3" "lan3" "link"
-       ucidef_set_led_netdev "lan4" "lan4 link" "$boardname:green:lan4" "lan4" "link"
-       ucidef_set_led_netdev "wan" "wan link" "$boardname:green:wan" "wan" "link"
+       ucidef_set_led_netdev "lan1" "lan1 link" "green:lan1" "lan1" "link"
+       ucidef_set_led_netdev "lan2" "lan2 link" "green:lan2" "lan2" "link"
+       ucidef_set_led_netdev "lan3" "lan3 link" "green:lan3" "lan3" "link"
+       ucidef_set_led_netdev "lan4" "lan4 link" "green:lan4" "lan4" "link"
+       ucidef_set_led_netdev "wan" "wan link" "green:wan" "wan" "link"
        ;;
 mikrotik,routerboard-760igs)
-       ucidef_set_led_netdev "sfp" "SFP" "$boardname:blue:sfp" "sfp"
+       ucidef_set_led_netdev "sfp" "SFP" "blue:sfp" "sfp"
        ;;
 mikrotik,routerboard-m11g)
        ucidef_set_rssimon "wlan0" "200000" "1"
-       ucidef_set_led_rssi "rssilow" "RSSILOW" "$boardname:green:rssi0" "wlan0" "1" "100"
-       ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "$boardname:green:rssi1" "wlan0" "20" "100"
-       ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "$boardname:green:rssi2" "wlan0" "40" "100"
-       ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "$boardname:green:rssi3" "wlan0" "60" "100"
-       ucidef_set_led_rssi "rssiveryhigh" "RSSIVERYHIGH" "$boardname:green:rssi4" "wlan0" "80" "100"
+       ucidef_set_led_rssi "rssilow" "RSSILOW" "green:rssi0" "wlan0" "1" "100"
+       ucidef_set_led_rssi "rssimediumlow" "RSSIMEDIUMLOW" "green:rssi1" "wlan0" "20" "100"
+       ucidef_set_led_rssi "rssimediumhigh" "RSSIMEDIUMHIGH" "green:rssi2" "wlan0" "40" "100"
+       ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "green:rssi3" "wlan0" "60" "100"
+       ucidef_set_led_rssi "rssiveryhigh" "RSSIVERYHIGH" "green:rssi4" "wlan0" "80" "100"
        ;;
 mtc,wr1201)
-       ucidef_set_led_netdev "eth_link" "LAN link" "$boardname:green:eth_link" "br-lan"
+       ucidef_set_led_netdev "eth_link" "LAN link" "green:eth_link" "br-lan"
        ;;
 netgear,r6220|\
 netgear,r6260|\
@@ -70,38 +69,35 @@ netgear,r6350|\
 netgear,r6850|\
 netgear,wac124|\
 netgear,wndr3700-v5)
-       ucidef_set_led_netdev "wan" "wan" "$boardname:green:wan" "wan"
+       ucidef_set_led_netdev "wan" "wan" "green:wan" "wan"
        ;;
 netgear,r6700-v2|\
 netgear,r6800)
-       ucidef_set_led_netdev "wan" "WAN" "$boardname:white:wan" "wan"
-       ucidef_set_led_netdev "lan1" "LAN1" "$boardname:white:lan1" "lan1"
-       ucidef_set_led_netdev "lan2" "LAN2" "$boardname:white:lan2" "lan2"
-       ucidef_set_led_netdev "lan3" "LAN3" "$boardname:white:lan3" "lan3"
-       ucidef_set_led_netdev "lan4" "LAN4" "$boardname:white:lan4" "lan4"
+       ucidef_set_led_netdev "wan" "WAN" "white:wan" "wan"
+       ucidef_set_led_netdev "lan1" "LAN1" "white:lan1" "lan1"
+       ucidef_set_led_netdev "lan2" "LAN2" "white:lan2" "lan2"
+       ucidef_set_led_netdev "lan3" "LAN3" "white:lan3" "lan3"
+       ucidef_set_led_netdev "lan4" "LAN4" "white:lan4" "lan4"
        ;;
 tplink,re350-v1)
-       ucidef_set_led_netdev "wifi2g" "Wifi 2.4G" "$boardname:blue:wifi2G" "wlan0"
-       ucidef_set_led_netdev "wifi5g" "Wifi 5G" "$boardname:blue:wifi5G" "wlan1"
-       ucidef_set_led_netdev "eth_act" "LAN act" "$boardname:green:eth_act" "lan" "tx rx"
-       ucidef_set_led_netdev "eth_link" "LAN link" "$boardname:green:eth_link" "lan" "link"
+       ucidef_set_led_netdev "wifi2g" "Wifi 2.4G" "blue:wifi2G" "wlan0"
+       ucidef_set_led_netdev "wifi5g" "Wifi 5G" "blue:wifi5G" "wlan1"
+       ucidef_set_led_netdev "eth_act" "LAN act" "green:eth_act" "lan" "tx rx"
+       ucidef_set_led_netdev "eth_link" "LAN link" "green:eth_link" "lan" "link"
        ;;
 tplink,re500-v1|\
 tplink,re650-v1)
-       ucidef_set_led_netdev "eth_act" "LAN act" "$boardname:green:eth_act" "lan" "tx rx"
-       ucidef_set_led_netdev "eth_link" "LAN link" "$boardname:green:eth_link" "lan" "link"
-       ;;
-xzwifi,creativebox-v1)
-       ucidef_set_led_netdev "internet" "internet" "$boardname:blue:internet" "wan"
+       ucidef_set_led_netdev "eth_act" "LAN act" "green:eth_act" "lan" "tx rx"
+       ucidef_set_led_netdev "eth_link" "LAN link" "green:eth_link" "lan" "link"
        ;;
 xiaomi,mi-router-ac2100)
-       ucidef_set_led_netdev "wan-blue" "WAN (blue)" "$boardname:blue:wan" "wan"
+       ucidef_set_led_netdev "wan-blue" "WAN (blue)" "blue:wan" "wan"
        ;;
 xiaomi,redmi-router-ac2100)
-       ucidef_set_led_netdev "wan" "wan" "$boardname:white:wan" "wan"
+       ucidef_set_led_netdev "wan" "wan" "white:wan" "wan"
        ;;
 youhua,wr1200js)
-       ucidef_set_led_netdev "internet" "INTERNET" "$boardname:green:wan" "wan"
+       ucidef_set_led_netdev "internet" "INTERNET" "green:wan" "wan"
        ;;
 esac
 
diff --git a/target/linux/ramips/mt7621/base-files/etc/uci-defaults/04_led_migration b/target/linux/ramips/mt7621/base-files/etc/uci-defaults/04_led_migration
deleted file mode 100644 (file)
index 4b29865..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-. /lib/functions.sh
-. /lib/functions/migrations.sh
-
-board=$(board_name)
-boardonly="${board##*,}"
-
-case "$board" in
-asus,rt-ac65p)
-       migrate_leds "^rt-ac85p:=rt-ac65p:"
-       ;;
-mikrotik,routerboard-750gr3)
-       migrate_leds "^rb750gr3:=$boardonly:"
-       ;;
-mikrotik,routerboard-m11g)
-       migrate_leds "^rbm11g:=$boardonly:"
-       ;;
-mikrotik,routerboard-m33g)
-       migrate_leds "^rbm33g:=$boardonly:"
-       ;;
-netgear,wndr3700-v5)
-       migrate_leds "^wndr3700v5:=$boardonly:"
-       ;;
-esac
-
-migrations_apply system
-
-exit 0
index 52be48e1efa27275bb874381fa810bc28e76632a..3108688da379df2ae0717454b4aa3d57551504a9 100755 (executable)
@@ -7,9 +7,7 @@ set_wifi_led() {
        ucidef_set_led_netdev "wifi_led" "wifi" "${1}" "${2:-wlan0}"
 }
 
-
 board=$(board_name)
-boardname="${board##*,}"
 
 board_config_update
 
@@ -18,7 +16,7 @@ led_wlan="$(get_dt_led wlan)"
 
 case $board in
 alfa-network,awusfree1)
-       set_wifi_led "$boardname:blue:wlan"
+       set_wifi_led "blue:wlan"
        ;;
 asus,rt-n10p-v3|\
 asus,rt-n11p-b1|\
@@ -26,119 +24,112 @@ asus,rt-n12-vp-b1|\
 netgear,r6020|\
 netgear,r6080|\
 netgear,r6120)
-       ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0xf"
-       ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x10"
+       ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0xf"
+       ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x10"
        ;;
 cudy,wr1000)
-       ucidef_set_led_switch "wan" "wan" "$boardname:blue:wan" "switch0" "0x10"
-       ucidef_set_led_switch "lan1" "lan1" "$boardname:blue:lan1" "switch0" "0x08"
-       ucidef_set_led_switch "lan2" "lan2" "$boardname:blue:lan2" "switch0" "0x04"
+       ucidef_set_led_switch "wan" "wan" "blue:wan" "switch0" "0x10"
+       ucidef_set_led_switch "lan1" "lan1" "blue:lan1" "switch0" "0x08"
+       ucidef_set_led_switch "lan2" "lan2" "blue:lan2" "switch0" "0x04"
        ;;
 glinet,gl-mt300n-v2)
-       set_wifi_led "$boardname:red:wlan"
-       ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x1"
+       set_wifi_led "red:wlan"
+       ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x1"
        ;;
 hilink,hlk-7628n|\
 skylab,skw92a)
-       set_wifi_led "$boardname:green:wlan"
+       set_wifi_led "green:wlan"
        ;;
 hiwifi,hc5661a|\
 hiwifi,hc5761a)
-       ucidef_set_led_switch "internet" "internet" "$boardname:blue:internet" "switch0" "0x10"
+       ucidef_set_led_switch "internet" "internet" "blue:internet" "switch0" "0x10"
        ;;
 mediatek,linkit-smart-7688)
-       ucidef_set_led_wlan "wifi" "wifi" "linkit-smart-7688:orange:wifi" "phy0tpt"
+       ucidef_set_led_wlan "wifi" "wifi" "orange:wifi" "phy0tpt"
        ;;
 rakwireless,rak633)
-       set_wifi_led "$boardname:blue:wifi"
+       set_wifi_led "blue:wifi"
        ;;
 tama,w06)
-       ucidef_set_led_netdev "wan" "WAN" "$boardname:green:wan" "eth0"
-       ucidef_set_led_wlan "wlan" "WLAN" "$boardname:green:wlan" "phy0tpt"
+       ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth0"
+       ucidef_set_led_wlan "wlan" "WLAN" "green:wlan" "phy0tpt"
        ;;
 tplink,archer-c20-v4|\
-tplink,archer-c20-v5)
-       ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1e"
-       ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
+tplink,archer-c20-v5|\
+tplink,tl-wr841n-v14|\
+tplink,tl-wr850n-v2)
+       ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x1e"
+       ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x01"
        ;;
 tplink,archer-c50-v3|\
 tplink,archer-c50-v4)
-       ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1e"
-       ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
-       ucidef_set_led_wlan "wlan2g" "wlan2g" "$boardname:green:wlan2g" "phy0tpt"
-       ucidef_set_led_wlan "wlan5g" "wlan5g" "$boardname:green:wlan5g" "phy1tpt"
+       ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x1e"
+       ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x01"
+       ucidef_set_led_wlan "wlan2g" "wlan2g" "green:wlan2g" "phy0tpt"
+       ucidef_set_led_wlan "wlan5g" "wlan5g" "green:wlan5g" "phy1tpt"
        ;;
 tplink,re200-v2|\
 tplink,re200-v3|\
 tplink,re220-v2|\
 tplink,tl-mr3020-v3|\
 tplink,tl-wa801nd-v5)
-       ucidef_set_led_netdev "lan" "lan" "$boardname:green:lan" "eth0"
+       ucidef_set_led_netdev "lan" "lan" "green:lan" "eth0"
        ;;
 tplink,tl-mr3420-v5|\
+tplink,tl-wr840n-v4|\
 tplink,tl-wr842n-v5)
-       ucidef_set_led_wlan "wlan2g" "wlan2g" "$boardname:green:wlan" "phy0tpt"
-       ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1e"
-       ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
-       ;;
-tplink,tl-wr840n-v4)
-       ucidef_set_led_wlan "wlan2g" "wlan2g" "$boardname:green:wlan" "phy0tpt"
-       ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1e"
-       ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
+       ucidef_set_led_wlan "wlan2g" "wlan2g" "green:wlan" "phy0tpt"
+       ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x1e"
+       ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x01"
        ;;
 tplink,tl-wr841n-v13)
-       ucidef_set_led_wlan "wlan2g" "wlan2g" "$boardname:green:wlan" "phy0tpt"
-       ucidef_set_led_switch "lan1" "lan1" "$boardname:green:lan1" "switch0" "0x2"
-       ucidef_set_led_switch "lan2" "lan2" "$boardname:green:lan2" "switch0" "0x4"
-       ucidef_set_led_switch "lan3" "lan3" "$boardname:green:lan3" "switch0" "0x8"
-       ucidef_set_led_switch "lan4" "lan4" "$boardname:green:lan4" "switch0" "0x10"
-       ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
-       ;;
-tplink,tl-wr841n-v14|\
-tplink,tl-wr850n-v2)
-       ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x1e"
-       ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
+       ucidef_set_led_wlan "wlan2g" "wlan2g" "green:wlan" "phy0tpt"
+       ucidef_set_led_switch "lan1" "lan1" "green:lan1" "switch0" "0x2"
+       ucidef_set_led_switch "lan2" "lan2" "green:lan2" "switch0" "0x4"
+       ucidef_set_led_switch "lan3" "lan3" "green:lan3" "switch0" "0x8"
+       ucidef_set_led_switch "lan4" "lan4" "green:lan4" "switch0" "0x10"
+       ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x01"
        ;;
 tplink,tl-wr902ac-v3)
-       ucidef_set_led_wlan "wlan2g" "wlan2g" "$boardname:green:wlan" "phy0tpt"
-       ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x10"
-       ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x10"
+       ucidef_set_led_wlan "wlan2g" "wlan2g" "green:wlan" "phy0tpt"
+       ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x10"
+       ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x10"
        ;;
 unielec,u7628-01-16m)
-       ucidef_set_led_switch "lan1" "lan1" "u7628-01:green:lan1" "switch0" "0x2"
-       ucidef_set_led_switch "lan2" "lan2" "u7628-01:green:lan2" "switch0" "0x4"
-       ucidef_set_led_switch "lan3" "lan3" "u7628-01:green:lan3" "switch0" "0x8"
-       ucidef_set_led_switch "lan4" "lan4" "u7628-01:green:lan4" "switch0" "0x10"
-       ucidef_set_led_switch "wan" "wan" "u7628-01:green:wan" "switch0" "0x01"
-       set_wifi_led "u7628-01:green:wlan"
+       ucidef_set_led_switch "lan1" "lan1" "green:lan1" "switch0" "0x2"
+       ucidef_set_led_switch "lan2" "lan2" "green:lan2" "switch0" "0x4"
+       ucidef_set_led_switch "lan3" "lan3" "green:lan3" "switch0" "0x8"
+       ucidef_set_led_switch "lan4" "lan4" "green:lan4" "switch0" "0x10"
+       ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x01"
+       set_wifi_led "green:wlan"
        ;;
 wavlink,wl-wn570ha1)
-       ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01"
+       ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x01"
        ucidef_set_rssimon "wlan0" "200000" "1"
-       ucidef_set_led_rssi "wifi-low" "wifi-low" "$boardname:green:wifi-low" "wlan0" "1" "49"
-       ucidef_set_led_rssi "wifi-med" "wifi-med" "$boardname:green:wifi-med" "wlan0" "50" "84"
-       ucidef_set_led_rssi "wifi-high" "wifi-high" "$boardname:green:wifi-high" "wlan0" "85" "100"
-       set_wifi_led "$boardname:green:wifi"
+       ucidef_set_led_rssi "wifi-low" "wifi-low" "green:wifi-low" "wlan0" "1" "49"
+       ucidef_set_led_rssi "wifi-med" "wifi-med" "green:wifi-med" "wlan0" "50" "84"
+       ucidef_set_led_rssi "wifi-high" "wifi-high" "green:wifi-high" "wlan0" "85" "100"
+       set_wifi_led "green:wifi"
        ;;
 wavlink,wl-wn575a3)
        ucidef_set_rssimon "wlan1" "200000" "1"
-       ucidef_set_led_rssi "wifi-low" "wifi-low" "$boardname:green:wifi-low" "wlan1" "1" "49"
-       ucidef_set_led_rssi "wifi-med" "wifi-med" "$boardname:green:wifi-med" "wlan1" "50" "84"
-       ucidef_set_led_rssi "wifi-high" "wifi-high" "$boardname:green:wifi-high" "wlan1" "85" "100"
+       ucidef_set_led_rssi "wifi-low" "wifi-low" "green:wifi-low" "wlan1" "1" "49"
+       ucidef_set_led_rssi "wifi-med" "wifi-med" "green:wifi-med" "wlan1" "50" "84"
+       ucidef_set_led_rssi "wifi-high" "wifi-high" "green:wifi-high" "wlan1" "85" "100"
        ;;
 wavlink,wl-wn577a2)
-       ucidef_set_led_switch "lan" "lan" "$boardname:green:lan" "switch0" "0x8"
-       ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x10"
+       ucidef_set_led_switch "lan" "lan" "green:lan" "switch0" "0x8"
+       ucidef_set_led_switch "wan" "wan" "green:wan" "switch0" "0x10"
        ;;
 zbtlink,zbt-we1226)
-       set_wifi_led "$boardname:green:wlan"
-       ucidef_set_led_switch "lan1" "LAN1" "$boardname:green:lan1" "switch0" "0x01"
-       ucidef_set_led_switch "lan2" "LAN2" "$boardname:green:lan2" "switch0" "0x02"
-       ucidef_set_led_switch "wan" "WAN" "$boardname:green:wan" "switch0" "0x10"
+       set_wifi_led "green:wlan"
+       ucidef_set_led_switch "lan1" "LAN1" "green:lan1" "switch0" "0x01"
+       ucidef_set_led_switch "lan2" "LAN2" "green:lan2" "switch0" "0x02"
+       ucidef_set_led_switch "wan" "WAN" "green:wan" "switch0" "0x10"
        ;;
 zyxel,keenetic-extra-ii)
-       set_wifi_led "$boardname:green:wifi"
-       ucidef_set_led_switch "internet" "internet" "$boardname:green:internet" "switch0" "0x01"
+       set_wifi_led "green:wifi"
+       ucidef_set_led_switch "internet" "internet" "green:internet" "switch0" "0x01"
        ;;
 esac
 
diff --git a/target/linux/ramips/mt76x8/base-files/etc/uci-defaults/04_led_migration b/target/linux/ramips/mt76x8/base-files/etc/uci-defaults/04_led_migration
deleted file mode 100644 (file)
index 44815b2..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-. /lib/functions.sh
-. /lib/functions/migrations.sh
-
-board=$(board_name)
-
-case "$board" in
-tplink,archer-c20-v4)
-       migrate_leds "^c20-v4:=archer-c20-v4:"
-       ;;
-tplink,archer-c50-v3)
-       migrate_leds "^c50-v3:=archer-c50-v3:"
-       ;;
-tplink,archer-c50-v4)
-       migrate_leds "^c50-v4:=archer-c50-v4:"
-       ;;
-esac
-
-migrations_apply system
-
-exit 0
index a042ecfbdae749bd7d44b1dfbd38ae61799748d5..2a3cf53c99f82b15f2401ca7f5c4a493d3efce6d 100755 (executable)
@@ -7,9 +7,7 @@ set_wifi_led() {
        ucidef_set_led_netdev "wifi_led" "wifi" "${1}" "${2:-wlan0}"
 }
 
-
 board=$(board_name)
-boardname="${board##*,}"
 
 board_config_update
 
@@ -22,7 +20,7 @@ airlink101,ar725w)
        set_wifi_led "rt2800soc-phy0::radio"
        ;;
 belkin,f5d8235-v1)
-       set_wifi_led "$boardname:blue:wireless"
+       set_wifi_led "blue:wireless"
        ;;
 ralink,v11st-fe)
        set_wifi_led "rt2800pci-phy0::radio"
index 8260b09821b3aff0450d9660f5597544f3a24b65..3f6b70341c567750a0f1aaaca907f3df24e16361 100755 (executable)
@@ -7,9 +7,7 @@ set_wifi_led() {
        ucidef_set_led_netdev "wifi_led" "wifi" "${1}" "${2:-wlan0}"
 }
 
-
 board=$(board_name)
-boardname="${board##*,}"
 
 board_config_update
 
@@ -18,14 +16,15 @@ led_wlan="$(get_dt_led wlan)"
 
 case $board in
 7links,px-4885-4m|\
-7links,px-4885-8m)
-       set_wifi_led "px-4885:orange:wifi"
+7links,px-4885-8m|\
+fon,fonera-20n)
+       set_wifi_led "orange:wifi"
        ;;
 airlive,air3gii|\
 aximcom,mr-102n|\
 edimax,3g-6200nl|\
 netgear,wnce2001)
-       set_wifi_led "$boardname:green:wlan"
+       set_wifi_led "green:wlan"
        ;;
 alfa-network,w502u|\
 dlink,dir-300-b1|\
@@ -49,61 +48,58 @@ zyxel,nbg-419n-v2)
 allnet,all0256n-4m|\
 allnet,all0256n-8m)
        ucidef_set_rssimon "wlan0" "200000" "1"
-       ucidef_set_led_rssi "rssilow" "RSSILOW" "all0256n:green:rssilow" "wlan0" "1" "40" "0" "6"
-       ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "all0256n:green:rssimed" "wlan0" "30" "80" "-29" "5"
-       ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "all0256n:green:rssihigh" "wlan0" "70" "100" "-69" "8"
+       ucidef_set_led_rssi "rssilow" "RSSILOW" "green:rssilow" "wlan0" "1" "40" "0" "6"
+       ucidef_set_led_rssi "rssimedium" "RSSIMEDIUM" "green:rssimed" "wlan0" "30" "80" "-29" "5"
+       ucidef_set_led_rssi "rssihigh" "RSSIHIGH" "green:rssihigh" "wlan0" "70" "100" "-69" "8"
        set_wifi_led "rt2800pci-phy0::radio"
        ;;
 alphanetworks,asl26555-8m|\
 alphanetworks,asl26555-16m)
-       ucidef_set_led_netdev "eth" "ETH" "asl26555:green:eth" "eth0"
-       set_wifi_led "asl26555:green:wlan"
+       ucidef_set_led_netdev "eth" "ETH" "green:eth" "eth0"
+       set_wifi_led "green:wlan"
        ;;
 asiarf,awapn2403)
        set_wifi_led "rt2800soc-phy0::radio"
        ;;
 dlink,dcs-930l-b1)
-       ucidef_set_led_netdev "wifi" "WiFi" "$boardname:blue:wps"
+       ucidef_set_led_netdev "wifi" "WiFi" "blue:wps"
        ;;
 dlink,dir-615-d)
-       ucidef_set_led_netdev "wan" "WAN (green)" "$boardname:green:wan" "eth0.2"
+       ucidef_set_led_netdev "wan" "WAN (green)" "green:wan" "eth0.2"
        set_wifi_led "rt2800soc-phy0::radio"
        ;;
 dlink,dir-620-d1|\
 trendnet,tew-714tru)
-       set_wifi_led "$boardname:green:wifi"
+       set_wifi_led "green:wifi"
        ;;
 edimax,3g-6200n|\
 planex,mzk-w300nh2)
-       set_wifi_led "$boardname:amber:wlan"
-       ;;
-fon,fonera-20n)
-       set_wifi_led "$boardname:orange:wifi"
+       set_wifi_led "amber:wlan"
        ;;
 hauppauge,broadway)
-       set_wifi_led "$boardname:red:wps_active"
+       set_wifi_led "red:wps_active"
        ;;
 hootoo,ht-tm02)
-       ucidef_set_led_netdev "eth" "Ethernet" "$boardname:green:lan" "eth0"
-       set_wifi_led "$boardname:blue:wlan"
+       ucidef_set_led_netdev "eth" "Ethernet" "green:lan" "eth0"
+       set_wifi_led "blue:wlan"
        ;;
 huawei,hg255d)
-       set_wifi_led "$boardname:green:wlan"
-       ucidef_set_led_netdev "internet" "internet" "$boardname:green:internet" "eth0.2"
+       set_wifi_led "green:wlan"
+       ucidef_set_led_netdev "internet" "internet" "green:internet" "eth0.2"
        ;;
 intenso,memory2move)
-       set_wifi_led "$boardname:blue:wifi"
-       ucidef_set_led_netdev "eth" "Ethernet" "$boardname:green:wan" "eth0"
+       set_wifi_led "blue:wifi"
+       ucidef_set_led_netdev "eth" "Ethernet" "green:wan" "eth0"
        ;;
 omnima,miniembplug)
-       set_wifi_led "$boardname:red:wlan"
+       set_wifi_led "red:wlan"
        ;;
 vocore,vocore-8m|\
 vocore,vocore-16m)
-       ucidef_set_led_netdev "eth" "ETH" "vocore:orange:eth" "eth0"
+       ucidef_set_led_netdev "eth" "ETH" "orange:eth" "eth0"
        ;;
 zorlik,zl5900v2)
-       ucidef_set_led_netdev "lan" "lan" "$boardname:green:lan" eth0
+       ucidef_set_led_netdev "lan" "lan" "green:lan" "eth0"
        ;;
 esac
 
diff --git a/target/linux/ramips/rt305x/base-files/etc/uci-defaults/04_led_migration b/target/linux/ramips/rt305x/base-files/etc/uci-defaults/04_led_migration
deleted file mode 100644 (file)
index 1009154..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-. /lib/functions.sh
-. /lib/functions/migrations.sh
-
-board=$(board_name)
-
-case "$board" in
-fon,fonera-20n)
-       migrate_leds "^fonera20n:=fonera-20n:"
-       ;;
-intenso,memory2move)
-       migrate_leds "^m2m:=memory2move:"
-       ;;
-esac
-
-migrations_apply system
-
-exit 0
index 1a72112c6f00c5dfb3b2e76a3b37bac653b5c12b..d06d47336bac1a5762040f9ebdcbf41a26aefbe8 100755 (executable)
@@ -7,9 +7,7 @@ set_wifi_led() {
        ucidef_set_led_netdev "wifi_led" "wifi" "${1}" "${2:-wlan0}"
 }
 
-
 board=$(board_name)
-boardname="${board##*,}"
 
 board_config_update
 
@@ -18,14 +16,14 @@ led_wlan="$(get_dt_led wlan)"
 
 case $board in
 belkin,f9k1109v1)
-       ucidef_set_led_netdev "lan" "lan" "$boardname:blue:wps" "eth0"
+       ucidef_set_led_netdev "lan" "lan" "blue:wps" "eth0"
        ;;
 edimax,br-6475nd)
-       set_wifi_led "$boardname:amber:wlan"
+       set_wifi_led "amber:wlan"
        ;;
 omnima,hpm)
-       ucidef_set_led_netdev "eth" "ETH" "$boardname:green:eth" "eth0"
-       set_wifi_led "$boardname:green:wifi"
+       ucidef_set_led_netdev "eth" "ETH" "green:eth" "eth0"
+       set_wifi_led "green:wifi"
        ;;
 esac