ipq40xx: remove model name from LED labels
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 1 Oct 2020 19:15:47 +0000 (21:15 +0200)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 6 Oct 2020 23:31:37 +0000 (01:31 +0200)
Like in the previous patches for ath79 and ramips, this will remove
the "devicename" from LED labels in ipq40xx.

The devicename is removed in DTS files and 01_leds, and a migration
script is added. While at it, also harmonize capitalization of
wlan2G/wlan5G vs. wlan2g/wlan5g.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
40 files changed:
target/linux/ipq40xx/base-files/etc/board.d/01_leds
target/linux/ipq40xx/base-files/etc/uci-defaults/04_led_migration [new file with mode: 0644]
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-a42.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-cs-w3-wd1200g-eup.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-dap-2610.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ea6350v3.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-eap1300.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ecw5211.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-emd1.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-emr3500.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ens620ext.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-fritzbox-4040.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-meshpoint-one.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wre6606.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-a62.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-cm520-79f.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-e2600ac.dtsi
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-ea8300.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-eap2200.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzbox-7530.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-1200.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-3000.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-habanero-dvk.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-map-ac2200.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-mr8300.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-oap100.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-rtl30vw.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-u4019.dtsi
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4019-wtr-m2133hp.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-ap-303.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-ap-303h.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-ap-365.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-gl-s1300.dts
target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4029-mr33.dts

index e8e67af3a9229f6724eacf53204b2cbececd870d..8a87b6853271aa4a3d76acdbcbe06112f2f71809 100755 (executable)
@@ -8,68 +8,64 @@
 board_config_update
 
 board=$(board_name)
-boardname="${board##*,}"
 
 case "$board" in
 alfa-network,ap120c-ac)
-       ucidef_set_led_netdev "wan" "WAN" "${boardname}:amber:wan" "eth1"
+       ucidef_set_led_netdev "wan" "WAN" "amber:wan" "eth1"
        ;;
 asus,rt-ac58u)
-       ucidef_set_led_netdev "wan" "WAN" "${boardname}:blue:wan" "eth1"
-       ucidef_set_led_switch "lan" "LAN" "${boardname}:blue:lan" "switch0" "0x1e"
+       ucidef_set_led_netdev "wan" "WAN" "blue:wan" "eth1"
+       ucidef_set_led_switch "lan" "LAN" "blue:lan" "switch0" "0x1e"
        ;;
 avm,fritzbox-4040)
-       ucidef_set_led_wlan "wlan" "WLAN" "fritz4040:green:wlan" "phy0tpt" "phy1tpt"
-       ucidef_set_led_netdev "wan" "WAN" "fritz4040:green:wan" "eth1"
-       ucidef_set_led_switch "lan" "LAN" "fritz4040:green:lan" "switch0" "0x1e"
+       ucidef_set_led_wlan "wlan" "WLAN" "green:wlan" "phy0tpt" "phy1tpt"
+       ucidef_set_led_netdev "wan" "WAN" "green:wan" "eth1"
+       ucidef_set_led_switch "lan" "LAN" "green:lan" "switch0" "0x1e"
        ;;
 avm,fritzbox-7530 |\
 glinet,gl-b1300)
-       ucidef_set_led_wlan "wlan" "WLAN" "${boardname}:green:wlan" "phy0tpt"
+       ucidef_set_led_wlan "wlan" "WLAN" "green:wlan" "phy0tpt"
+       ;;
+edgecore,ecw5211 |\
+zyxel,nbg6617 |\
+zyxel,wre6606)
+       ucidef_set_led_wlan "wlan2g" "WLAN2G" "green:wlan2g" "phy0tpt"
+       ucidef_set_led_wlan "wlan5g" "WLAN5G" "green:wlan5g" "phy1tpt"
        ;;
 edgecore,oap100)
-       ucidef_set_led_wlan "wlan2g" "WLAN2G" "${boardname}:blue:wlan2g" "phy0tpt"
-       ucidef_set_led_wlan "wlan5g" "WLAN5G" "${boardname}:blue:wlan5g" "phy1tpt"
+       ucidef_set_led_wlan "wlan2g" "WLAN2G" "blue:wlan2g" "phy0tpt"
+       ucidef_set_led_wlan "wlan5g" "WLAN5G" "blue:wlan5g" "phy1tpt"
        ;;
 engenius,eap1300)
-       ucidef_set_led_netdev "lan" "LAN" "${boardname}:blue:lan" "eth0"
-       ucidef_set_led_wlan "wlan2g" "WLAN2G" "${boardname}:blue:wlan2g" "phy0tpt"
-       ucidef_set_led_wlan "wlan5g" "WLAN5G" "${boardname}:yellow:wlan5g" "phy1tpt"
-       ucidef_set_led_default "mesh" "MESH" "${boardname}:blue:mesh" "0"
+       ucidef_set_led_netdev "lan" "LAN" "blue:lan" "eth0"
+       ucidef_set_led_wlan "wlan2g" "WLAN2G" "blue:wlan2g" "phy0tpt"
+       ucidef_set_led_wlan "wlan5g" "WLAN5G" "yellow:wlan5g" "phy1tpt"
+       ucidef_set_led_default "mesh" "MESH" "blue:mesh" "0"
        ;;
 engenius,eap2200)
-       ucidef_set_led_netdev "lan1" "LAN1" "${boardname}:blue:lan1" "eth0"
-       ucidef_set_led_netdev "lan2" "LAN2" "${boardname}:blue:lan2" "eth1"
+       ucidef_set_led_netdev "lan1" "LAN1" "blue:lan1" "eth0"
+       ucidef_set_led_netdev "lan2" "LAN2" "blue:lan2" "eth1"
        ;;
 engenius,ens620ext)
-       ucidef_set_led_wlan "wlan2g" "WLAN2G" "${boardname}:green:wlan2G" "phy0tpt"
-       ucidef_set_led_wlan "wlan5g" "WLAN5G" "${boardname}:green:wlan5G" "phy1tpt"
-       ucidef_set_led_netdev "lan1" "LAN1" "${boardname}:green:lan1" "eth0"
-       ucidef_set_led_netdev "lan2" "LAN2" "${boardname}:green:lan2" "eth1"
+       ucidef_set_led_wlan "wlan2g" "WLAN2G" "green:wlan2g" "phy0tpt"
+       ucidef_set_led_wlan "wlan5g" "WLAN5G" "green:wlan5g" "phy1tpt"
+       ucidef_set_led_netdev "lan1" "LAN1" "green:lan1" "eth0"
+       ucidef_set_led_netdev "lan2" "LAN2" "green:lan2" "eth1"
        ;;
 mobipromo,cm520-79f)
-       ucidef_set_led_netdev "wan" "WAN" "${boardname}:blue:wan" "eth1"
-       ucidef_set_led_switch "lan1" "LAN1" "${boardname}:blue:lan1" "switch0" "0x10"
-       ucidef_set_led_switch "lan2" "LAN2" "${boardname}:blue:lan2" "switch0" "0x08"
+       ucidef_set_led_netdev "wan" "WAN" "blue:wan" "eth1"
+       ucidef_set_led_switch "lan1" "LAN1" "blue:lan1" "switch0" "0x10"
+       ucidef_set_led_switch "lan2" "LAN2" "blue:lan2" "switch0" "0x08"
        ;;
 netgear,ex6100v2 |\
 netgear,ex6150v2)
-       ucidef_set_led_wlan "wlan2g" "WLAN2G" "ex61x0v2:green:router" "phy0tpt"
-       ucidef_set_led_wlan "wlan5g" "WLAN5G" "ex61x0v2:green:client" "phy1tpt"
+       ucidef_set_led_wlan "wlan2g" "WLAN2G" "green:router" "phy0tpt"
+       ucidef_set_led_wlan "wlan5g" "WLAN5G" "green:client" "phy1tpt"
        ;;
 qxwlan,e2600ac-c1 |\
 qxwlan,e2600ac-c2)
-       ucidef_set_led_wlan "wlan2g" "WLAN0" "e2600ac:green:wlan0" "phy0tpt"
-       ucidef_set_led_wlan "wlan5g" "WLAN1" "e2600ac:green:wlan1" "phy1tpt"
-       ;;
-zyxel,nbg6617)
-       ucidef_set_led_wlan "wlan2g" "WLAN2G" "${boardname}:green:wlan2G" "phy0tpt"
-       ucidef_set_led_wlan "wlan5g" "WLAN5G" "${boardname}:green:wlan5G" "phy1tpt"
-       ;;
-edgecore,ecw5211 |\
-zyxel,wre6606)
-       ucidef_set_led_wlan "wlan2g" "WLAN2G" "${boardname}:green:wlan2g" "phy0tpt"
-       ucidef_set_led_wlan "wlan5g" "WLAN5G" "${boardname}:green:wlan5g" "phy1tpt"
+       ucidef_set_led_wlan "wlan2g" "WLAN0" "green:wlan0" "phy0tpt"
+       ucidef_set_led_wlan "wlan5g" "WLAN1" "green:wlan1" "phy1tpt"
        ;;
 esac
 
diff --git a/target/linux/ipq40xx/base-files/etc/uci-defaults/04_led_migration b/target/linux/ipq40xx/base-files/etc/uci-defaults/04_led_migration
new file mode 100644 (file)
index 0000000..c4f82b3
--- /dev/null
@@ -0,0 +1,19 @@
+. /lib/functions/migrations.sh
+
+board=$(board_name)
+
+case "$board" in
+engenius,emr3500)
+       migrate_leds "emr3500:="
+       ;;
+engenius,ens620ext|\
+zyxel,nbg6617)
+       migrate_leds ":wlan2G=:wlan2g" ":wlan5G=:wlan5g"
+       ;;
+esac
+
+remove_devicename_leds
+
+migrations_apply system
+
+exit 0
index 33c44a8097616e3d0d4131f20c063896d7de3127..d866f8dd1a131eaa0d4d890ff3396d41f95148ac 100644 (file)
                compatible = "gpio-leds";
 
                red {
-                       label = "a42:red:status";
+                       label = "red:status";
                        gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "default-off";
                };
 
                power: green {
-                       label = "a42:green:status";
+                       label = "green:status";
                        gpios = <&tlmm 1 GPIO_ACTIVE_HIGH>;
                };
 
                blue {
-                       label = "a42:blue:status";
+                       label = "blue:status";
                        gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "default-off";
                };
index e21c40cae0376ce9e449c7a2cb2e13f17e85422f..28d27d99590371a8801b4f19000b454e808af994 100644 (file)
                compatible = "gpio-leds";
 
                status: status {
-                       label = "ap120c-ac:blue:status";
+                       label = "blue:status";
                        gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
                        default-state = "keep";
                };
 
                wan {
-                       label = "ap120c-ac:amber:wan";
+                       label = "amber:wan";
                        gpios = <&qca8075 19 GPIO_ACTIVE_HIGH>;
                };
 
                wlan2g {
-                       label = "ap120c-ac:green:wlan2g";
+                       label = "green:wlan2g";
                        gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy0tpt";
                };
 
                wlan5g {
-                       label = "ap120c-ac:red:wlan5g";
+                       label = "red:wlan5g";
                        gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy1tpt";
                };
index 2ca2acee192c0533abff2931ca1671a4249bac5f..062826c7a43f0f3f8ae5991801614ad762bdff21 100644 (file)
                compatible = "gpio-leds";
 
                led_status_red: status_red {
-                       label = "cs-w3-wd1200g-eup:red:status";
+                       label = "red:status";
                        gpios = <&tlmm 0 GPIO_ACTIVE_LOW>;
                };
 
                led_status_green: status_green {
-                       label = "cs-w3-wd1200g-eup:green:status";
+                       label = "green:status";
                        gpios = <&tlmm 3 GPIO_ACTIVE_LOW>;
                };
 
                led_status_blue: status_blue {
-                       label = "cs-w3-wd1200g-eup:blue:status";
+                       label = "blue:status";
                        gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
                };
        };
index 17d9215544b60ef0b74634cfcc0c824091e2c703..e3afddb37680b3caab14dce38b6db75b1b0dc78b 100644 (file)
                compatible = "gpio-leds";
 
                led_red: red {
-                       label = "dap-2610:red:power";
+                       label = "red:power";
                        gpios = <&tlmm 4 GPIO_ACTIVE_LOW>;
                };
 
                led_green: green {
-                       label = "dap-2610:green:power";
+                       label = "green:power";
                        gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
                };
        };
index 2f9a89048538cdb1e3fba0b164d91129937e918c..cfaba0f4112f91c19d2041309b2dbb542c6d3831 100644 (file)
@@ -98,7 +98,7 @@
                compatible = "gpio-leds";
 
                power: status {
-                       label = "EA6350v3:green:status";
+                       label = "green:status";
                        gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
                };
        };
index 32fded4c0e3422262bd0814e6bca983f2887c367..f08ddd0abe51aee1803c06eea14bbdefc84a341e 100644 (file)
                compatible = "gpio-leds";
 
                power: orange {
-                       label = "eap1300:orange:power";
+                       label = "orange:power";
                        gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
                };
 
                lan {
-                       label = "eap1300:blue:lan";
+                       label = "blue:lan";
                        gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
                };
 
                mesh {
-                       label = "eap1300:blue:mesh";
+                       label = "blue:mesh";
                        gpios = <&tlmm 1 GPIO_ACTIVE_HIGH>;
                };
 
                wlan2g {
-                       label = "eap1300:blue:wlan2g";
+                       label = "blue:wlan2g";
                        gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
                };
 
                wlan5g {
-                       label = "eap1300:yellow:wlan5g";
+                       label = "yellow:wlan5g";
                        gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
                };
        };
index 3f7e2ad6fd07e4bd66cac6d904667d4380250d95..244dfac750c2269aa0c86c4408c2a7693baf50e6 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "ecw5211:yellow:power";
+                       label = "yellow:power";
                        gpios = <&tlmm 5 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g {
-                       label = "ecw5211:green:wlan2g";
+                       label = "green:wlan2g";
                        gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
                };
 
                wlan5g {
-                       label = "ecw5211:green:wlan5g";
+                       label = "green:wlan5g";
                        gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
                };
        };
index cf4f793f21c97eff58dbac9788ddc5cacee0190f..b405867134973f594c6777b50c77adb2acc7b1dd 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "emd1:white:power";
+                       label = "white:power";
                        gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g {
-                       label = "emd1:red:wlan2g";
+                       label = "red:wlan2g";
                        gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy0tpt";
                };
 
                wlan5g {
-                       label = "emd1:blue:wlan5g";
+                       label = "blue:wlan5g";
                        gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy1tpt";
                };
 
                mesh {
-                       label = "emd1:orange:mesh";
+                       label = "orange:mesh";
                        gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
                };
        };
index 50067aaa91296f1513061bf57a651f08fa00fa32..848e5c2363851720dca462d17d4a0bff7f8f1072 100644 (file)
                compatible = "gpio-leds";
 
                power: white {
-                       label = "emr3500:white:power";
+                       label = "white:power";
                        gpios = <&tlmm 4 GPIO_ACTIVE_HIGH>;
                };
 
                blue {
-                       label = "emr3500:blue";
+                       label = "blue";
                        gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
                };
 
                red {
-                       label = "emr3500:red";
+                       label = "red";
                        gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
                };
 
                orange {
-                       label = "emr3500:orange";
+                       label = "orange";
                        gpios = <&tlmm 1 GPIO_ACTIVE_HIGH>;
                };
        };
index 8636b18b2e84329f77b60f6d846d1faeeb338ce7..b765d68b51ca1f68ddd49cbc38899de16bdad588 100644 (file)
                compatible = "gpio-leds";
 
                power: power {
-                       label = "ens620ext:amber:power";
+                       label = "amber:power";
                        gpios = <&tlmm 58 GPIO_ACTIVE_LOW>;
                };
 
                lan1 {
-                       label = "ens620ext:green:lan1";
+                       label = "green:lan1";
                        gpios = <&tlmm 1 GPIO_ACTIVE_LOW>;
                };
 
                lan2 {
-                       label = "ens620ext:green:lan2";
+                       label = "green:lan2";
                        gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
                };
 
-               wlan2G {
-                       label = "ens620ext:green:wlan2G";
+               wlan2g {
+                       label = "green:wlan2g";
                        gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
                };
 
-               wlan5G {
-                       label = "ens620ext:green:wlan5G";
+               wlan5g {
+                       label = "green:wlan5g";
                        gpios = <&tlmm 0 GPIO_ACTIVE_LOW>;
                };
        };
index cc70080c9210e793a0debc8bb45d798bb4ef8b39..c026f70d05039773703271c6004988fe769ad438 100644 (file)
                compatible = "gpio-leds";
 
                power_amber: power_amber {
-                       label = "ex61x0v2:amber:power";
+                       label = "amber:power";
                        gpios = <&led_gpio 7 GPIO_ACTIVE_LOW>;
                };
 
                power_green: power_green {
-                       label = "ex61x0v2:green:power";
+                       label = "green:power";
                        gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>;
                };
 
                right {
-                       label = "ex61x0v2:blue:right";
+                       label = "blue:right";
                        gpios = <&led_gpio 5 GPIO_ACTIVE_LOW>;
                };
 
                left {
-                       label = "ex61x0v2:blue:left";
+                       label = "blue:left";
                        gpios = <&led_gpio 4 GPIO_ACTIVE_LOW>;
                };
 
                client_green {
-                       label = "ex61x0v2:green:client";
+                       label = "green:client";
                        gpios = <&led_gpio 3 GPIO_ACTIVE_LOW>;
                };
 
                client_red {
-                       label = "ex61x0v2:red:client";
+                       label = "red:client";
                        gpios = <&led_gpio 2 GPIO_ACTIVE_LOW>;
                };
 
                router_green {
-                       label = "ex61x0v2:green:router";
+                       label = "green:router";
                        gpios = <&led_gpio 1 GPIO_ACTIVE_LOW>;
                };
 
                router_red {
-                       label = "ex61x0v2:red:router";
+                       label = "red:router";
                        gpios = <&led_gpio 0 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "ex61x0v2:green:wps";
+                       label = "green:wps";
                        gpios = <&tlmm 1 GPIO_ACTIVE_LOW>;
                };
        };
index b2a32946d949528c4f40f9e5f2ec909cd77b09e8..fb1762cc05d4e609d4b0ce6f4f1b522fc541a47e 100644 (file)
                compatible = "gpio-leds";
 
                wlan {
-                       label = "fritz4040:green:wlan";
+                       label = "green:wlan";
                        gpios = <&qca8075 1 GPIO_ACTIVE_HIGH>;
                };
 
                panic: info_red {
-                       label = "fritz4040:red:info";
+                       label = "red:info";
                        gpios = <&qca8075 3 GPIO_ACTIVE_HIGH>;
                        panic-indicator;
                };
 
                wan {
-                       label = "fritz4040:green:wan";
+                       label = "green:wan";
                        gpios = <&qca8075 5 GPIO_ACTIVE_HIGH>;
                };
 
                power: power {
-                       label = "fritz4040:green:power";
+                       label = "green:power";
                        gpios = <&qca8075 11 GPIO_ACTIVE_HIGH>;
                };
 
                lan {
-                       label = "fritz4040:green:lan";
+                       label = "green:lan";
                        gpios = <&qca8075 13 GPIO_ACTIVE_HIGH>;
                };
 
                flash: info_amber {
-                       label = "fritz4040:amber:info";
+                       label = "amber:info";
                        gpios = <&qca8075 15 GPIO_ACTIVE_HIGH>;
                };
        };
index 2e21b553254d0bcebd57ea2d3b9882346a2c3b88..62ba76802de5ed9f78b34ed9e86884c4cf6cbc39 100644 (file)
@@ -74,7 +74,7 @@
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "meshpoint-one:blue:status";
+                       label = "blue:status";
                        gpios = <&tlmm 63 GPIO_ACTIVE_HIGH>;
                };
        };
index a8c144f928e5c8dea95f767944609a7d27052fff..4d17325c8de0735665734e4bb3266292e43abba8 100644 (file)
                pinctrl-names = "default";
 
                power: power {
-                       label = "nbg6617:green:power";
+                       label = "green:power";
                        gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
                };
 
                usb {
-                       label = "nbg6617:green:usb";
+                       label = "green:usb";
                        gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
                        trigger-sources = <&usb2_port1>, <&usb3_port1>, <&usb3_port2>;
                        linux,default-trigger = "usbport";
                };
 
-               wlan2G {
-                       label = "nbg6617:green:wlan2G";
+               wlan2g {
+                       label = "green:wlan2g";
                        gpios = <&tlmm 58 GPIO_ACTIVE_HIGH>;
                };
 
-               wlan5G {
-                       label = "nbg6617:green:wlan5G";
+               wlan5g {
+                       label = "green:wlan5g";
                        gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>;
                };
 
                wps {
-                       label = "nbg6617:green:wps";
+                       label = "green:wps";
                        gpios = <&tlmm 1 GPIO_ACTIVE_HIGH>;
                };
        };
index a0030f77ce60bb550274c21bf6b4b20a68b21234..bd0c6b71df1ba90d66b7865d8e79ede5b8892720 100644 (file)
                compatible = "gpio-leds";
 
                led_power: status {
-                       label = "rt-ac58u:blue:status";
+                       label = "blue:status";
                        gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
                };
 
                wan {
-                       label = "rt-ac58u:blue:wan";
+                       label = "blue:wan";
                        gpios = <&tlmm 1 GPIO_ACTIVE_HIGH>;
                };
 
                wlan2G {
-                       label = "rt-ac58u:blue:wlan2G";
+                       label = "blue:wlan2G";
                        gpios = <&tlmm 58 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy0tpt";
                };
 
                wlan5G {
-                       label = "rt-ac58u:blue:wlan5G";
+                       label = "blue:wlan5G";
                        gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy1tpt";
                };
 
                usb {
-                       label = "rt-ac58u:blue:usb";
+                       label = "blue:usb";
                        gpios = <&tlmm 0 GPIO_ACTIVE_HIGH>;
                        trigger-sources = <&usb3_port1>, <&usb3_port2>;
                        linux,default-trigger = "usbport";
                };
 
                lan {
-                       label = "rt-ac58u:blue:lan";
+                       label = "blue:lan";
                        gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
                };
        };
index 5932638da0d6708addff4337baa7bac99121cd79..8fa5a31908607ca3dce0f91a98158cae0925719f 100644 (file)
                compatible = "gpio-leds";
 
                wps {
-                       label = "wre6606:green:wps";
+                       label = "green:wps";
                        gpios = <&tlmm 1 GPIO_ACTIVE_HIGH>;
                };
 
                wlan5g_green {
-                       label = "wre6606:green:wlan5g";
+                       label = "green:wlan5g";
                        gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
                };
 
                power: power {
-                       label = "wre6606:green:power";
+                       label = "green:power";
                        gpios = <&tlmm 4 GPIO_ACTIVE_HIGH>;
                };
 
                wlan5g_red {
-                       label = "wre6606:red:wlan5g";
+                       label = "red:wlan5g";
                        gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>;
                };
 
                wlan2g_red {
-                       label = "wre6606:red:wlan2g";
+                       label = "red:wlan2g";
                        gpios = <&tlmm 58 GPIO_ACTIVE_HIGH>;
                };
 
                wlan2g_green {
-                       label = "wre6606:green:wlan2g";
+                       label = "green:wlan2g";
                        gpios = <&tlmm 59 GPIO_ACTIVE_HIGH>;
                };
        };
index 25bbd6b332152732fdcf383c55f027b74aced724..4c14f41b3418f195aac86d65517179a2ff15553e 100644 (file)
                compatible = "gpio-leds";
 
                red {
-                       label = "a62:red:status";
+                       label = "red:status";
                        gpios = <&tlmm 43 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "default-off";
                };
 
                power: green {
-                       label = "a62:green:status";
+                       label = "green:status";
                        gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
                };
 
                blue {
-                       label = "a62:blue:status";
+                       label = "blue:status";
                        gpios = <&tlmm 46 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "default-off";
                };
index 0a15f003d1ee846290fa87b796a717f74af77d8a..167094d4a2935664782bf029ad0499b73b8929ca 100644 (file)
                compatible = "gpio-leds";
 
                usb {
-                       label = "cm520-79f:blue:usb";
+                       label = "blue:usb";
                        gpios = <&tlmm 10 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "usbport";
                        trigger-sources = <&usb3_port1>, <&usb3_port2>, <&usb2_port1>;
                };
 
                led_sys: can {
-                       label = "cm520-79f:blue:can";
+                       label = "blue:can";
                        gpios = <&tlmm 11 GPIO_ACTIVE_HIGH>;
                };
 
                wan {
-                       label = "cm520-79f:blue:wan";
+                       label = "blue:wan";
                        gpios = <&led_gpio 0 GPIO_ACTIVE_LOW>;
                };
 
                lan1 {
-                       label = "cm520-79f:blue:lan1";
+                       label = "blue:lan1";
                        gpios = <&led_gpio 1 GPIO_ACTIVE_LOW>;
                };
 
                lan2 {
-                       label = "cm520-79f:blue:lan2";
+                       label = "blue:lan2";
                        gpios = <&led_gpio 2 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g {
-                       label = "cm520-79f:blue:wlan2g";
+                       label = "blue:wlan2g";
                        gpios = <&led_gpio 5 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
                wlan5g {
-                       label = "cm520-79f:blue:wlan5g";
+                       label = "blue:wlan5g";
                        gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };
index f4af2ba25fad1a8fcc867c9578ff3e8b5c328c20..57d607849a1ff0f5298b0abfc0b25eef68982581 100644 (file)
                        compatible = "gpio-leds";
 
                        led1 {
-                               label = "e2600ac:green:wlan0";
+                               label = "green:wlan0";
                                gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
                        };
 
                        led2 {
-                               label = "e2600ac:green:wlan1";
+                               label = "green:wlan1";
                                gpios = <&tlmm 36 GPIO_ACTIVE_LOW>;
                        };
 
                        led3 {
-                               label = "e2600ac:green:usb";
+                               label = "green:usb";
                                gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
                                trigger-sources = <&usb2_port1>, <&usb3_port1>, <&usb3_port2>;
                                linux,default-trigger = "usbport";
                        };
 
                        led4 {
-                               label = "e2600ac:green:ctrl1";
+                               label = "green:ctrl1";
                                gpios = <&tlmm 51 GPIO_ACTIVE_LOW>;
                        };
 
                        led5 {
-                               label = "e2600ac:green:ctrl2";
+                               label = "green:ctrl2";
                                gpios = <&tlmm 30 GPIO_ACTIVE_LOW>;
                        };
 
                        led6 {
-                               label = "e2600ac:green:ctrl3";
+                               label = "green:ctrl3";
                                gpios = <&tlmm 31 GPIO_ACTIVE_LOW>;
                        };
                };
index d8acf36c4a59b936baacfbdd4595261f662c26fd..5a738da33d3a692cd58704c6bf8da7e0d4c7bbe8 100644 (file)
                // Front panel LEDs, top to bottom
 
                led_plug: diag {
-                       label = "ea8300:amber:plug";
+                       label = "amber:plug";
                        gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
                };
 
                led_world: internet {
-                       label = "ea8300:amber:world";
+                       label = "amber:world";
                        gpios = <&tlmm 49 GPIO_ACTIVE_HIGH>;
                };
 
                led_wps: wps {
-                       label = "ea8300:white:wps";
+                       label = "white:wps";
                        gpios = <&tlmm 46 GPIO_ACTIVE_HIGH>;
                };
 
                led_wps_amber: wps_amber {
-                       label = "ea8300:amber:wps";
+                       label = "amber:wps";
                        gpios = <&tlmm 22 GPIO_ACTIVE_HIGH>;
                        panic-indicator;
                };
 
                led_linksys: pwr {
-                       label = "ea8300:white:linksys";
+                       label = "white:linksys";
                        gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
                };
 
                // On back panel, above USB socket
 
                led_usb: usb {
-                       label = "ea8300:green:usb";
+                       label = "green:usb";
                        gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&usb3_port1>, <&usb3_port2>,
                                          <&usb2_port1>;
index ec3ce447cc7ba99c499b617bb9cbd4082736c601..95e616695cdc127f856670c06fb2b82644a58519 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "eap2200:amber:power";
+                       label = "amber:power";
                        gpios = <&tlmm 43 GPIO_ACTIVE_LOW>;
                };
 
                lan1 {
-                       label = "eap2200:blue:lan1";
+                       label = "blue:lan1";
                        gpios = <&tlmm 44 GPIO_ACTIVE_LOW>;
                };
 
                lan2 {
-                       label = "eap2200:blue:lan2";
+                       label = "blue:lan2";
                        gpios = <&tlmm 45 GPIO_ACTIVE_LOW>;
                };
 
                wlan2g {
-                       label = "eap2200:blue:wlan2g";
+                       label = "blue:wlan2g";
                        gpios = <&tlmm 46 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy0tpt";
                };
 
                wlan5g {
-                       label = "eap2200:yellow:wlan5g";
+                       label = "yellow:wlan5g";
                        gpios = <&tlmm 47 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy1tpt";
                };
 
                wlan5g2 {
-                       label = "eap2200:yellow:wlan5g2";
+                       label = "yellow:wlan5g2";
                        gpios = <&tlmm 48 GPIO_ACTIVE_LOW>;
                        linux,default-trigger = "phy2tpt";
                };
 
                mode {
-                       label = "eap2200:blue:mode";
+                       label = "blue:mode";
                        gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
                };
        };
index b04a61dc0438ad24f6db5cf5f1904d57455b3fae..dcd336e712c50a31d3b287fffbab29a0a622d642 100644 (file)
                compatible = "gpio-leds";
 
                info_red: info_red {
-                       label = "fritzbox-7530:red:info";
+                       label = "red:info";
                        gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
                };
 
                info_green: info {
-                       label = "fritzbox-7530:green:info";
+                       label = "green:info";
                        gpios = <&tlmm 33 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "fritzbox-7530:green:wlan";
+                       label = "green:wlan";
                        gpios = <&tlmm 34 GPIO_ACTIVE_LOW>;
                };
 
                fon {
-                       label = "fritzbox-7530:green:fon";
+                       label = "green:fon";
                        gpios = <&tlmm 35 GPIO_ACTIVE_LOW>;
                };
 
                power_green: power {
-                       label = "fritzbox-7530:green:power";
+                       label = "green:power";
                        gpios = <&tlmm 39 GPIO_ACTIVE_LOW>;
                };
 
                wps {
-                       label = "fritzbox-7530:green:wps";
+                       label = "green:wps";
                        gpios = <&tlmm 45 GPIO_ACTIVE_LOW>;
                };
        };
index e9b96b996abbe21efc0ba2da1822512cc524b926..3d90fdc28651f72334d62c6561fd5e6fef7cc39f 100644 (file)
                compatible = "gpio-leds";
 
                power_red: power_red {
-                       label = "fritzwlan-1200:red:power";
+                       label = "red:power";
                        gpios = <&tlmm 50 GPIO_ACTIVE_LOW>;
                };
 
                power_green: power_green {
-                       label = "fritzwlan-1200:green:power";
+                       label = "green:power";
                        gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
                };
 
                power_yellow {
-                       label = "fritzwlan-1200:yellow:power";
+                       label = "yellow:power";
                        gpios = <&tlmm 49 GPIO_ACTIVE_LOW>;
                };
        };
index 6a132adade8712d3fab55d91c6e59d16cd1fceae..2e4bfd69bada343d4bbc9f34a4b939cbb29c1c86 100644 (file)
                compatible = "gpio-leds";
 
                connect_red {
-                       label = "fritzwlan-3000:red:connect";
+                       label = "red:connect";
                        gpios = <&tlmm 30 GPIO_ACTIVE_LOW>;
                };
 
                connect_green {
-                       label = "fritzwlan-3000:green:connect";
+                       label = "green:connect";
                        gpios = <&tlmm 31 GPIO_ACTIVE_LOW>;
                };
 
                connect_blue {
-                       label = "fritzwlan-3000:blue:connect";
+                       label = "blue:connect";
                        gpios = <&tlmm 32 GPIO_ACTIVE_LOW>;
                };
 
                power_led: power {
-                       label = "fritzwlan-3000:green:power";
+                       label = "green:power";
                        gpios = <&tlmm 33 GPIO_ACTIVE_LOW>;
                };
        };
index 8fe7644a9b55bf090e60189b0d26a369a7a00c75..49cf2cabfa9834e4cd4f9cdc4fc656ce7211b40d 100644 (file)
                compatible = "gpio-leds";
 
                led_status: status {
-                       label = "habanero-dvk:green:status";
+                       label = "green:status";
                        gpios = <&tlmm 37 GPIO_ACTIVE_HIGH>;
                        panic-indicator;
                };
 
                led_upgrade: upgrade {
-                       label = "habanero-dvk:green:upgrade";
+                       label = "green:upgrade";
                        gpios = <&tlmm 40 GPIO_ACTIVE_HIGH>;
                };
 
                wlan2g {
-                       label = "habanero-dvk:green:wlan2g";
+                       label = "green:wlan2g";
                        gpios = <&tlmm 46 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy0tpt";
                };
 
                wlan5g {
-                       label = "habanero-dvk:green:wlan5g";
+                       label = "green:wlan5g";
                        gpios = <&tlmm 48 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy1tpt";
                };
index 92aaa927e2a6170fccbcb654c392a2a30ec69a25..5b86605daa284366f13a367df84cb2a56a86120b 100644 (file)
 
                led_blue0: blue0 {
                        chan-name = "blue0";
-                       label = "map-ac2200:blue:chan0";
+                       label = "blue:chan0";
                        led-cur = [fa];
                        max-cur = [ff];
                };
 
                blue1 {
                        chan-name = "blue1";
-                       label = "map-ac2200:blue:chan1";
+                       label = "blue:chan1";
                        led-cur = [fa];
                        max-cur = [ff];
                };
 
                blue2 {
                        chan-name = "blue2";
-                       label = "map-ac2200:blue:chan2";
+                       label = "blue:chan2";
                        led-cur = [fa];
                        max-cur = [ff];
                };
 
                led_green0: green0 {
                        chan-name = "green0";
-                       label = "map-ac2200:green:chan0";
+                       label = "green:chan0";
                        led-cur = [fa];
                        max-cur = [ff];
                };
 
                green1 {
                        chan-name = "green1";
-                       label = "map-ac2200:green:chan1";
+                       label = "green:chan1";
                        led-cur = [fa];
                        max-cur = [ff];
                };
 
                green2 {
                        chan-name = "green2";
-                       label = "map-ac2200:green:chan2";
+                       label = "green:chan2";
                        led-cur = [fa];
                        max-cur = [ff];
                };
 
                led_red0: red0 {
                        chan-name = "red0";
-                       label = "map-ac2200:red:chan0";
+                       label = "red:chan0";
                        led-cur = [fa];
                        max-cur = [ff];
                };
 
                red1 {
                        chan-name = "red1";
-                       label = "map-ac2200:red:chan1";
+                       label = "red:chan1";
                        led-cur = [fa];
                        max-cur = [ff];
                };
 
                red2 {
                        chan-name = "red2";
-                       label = "map-ac2200:red:chan2";
+                       label = "red:chan2";
                        led-cur = [fa];
                        max-cur = [ff];
                };
index a09730a9e888730ae0a51cbf0d00f9de1a041da2..057aa880285b9c89e36c2925e454adaea14609ad 100644 (file)
                compatible = "gpio-leds";
 
                led_red: red {
-                       label = "mr8300:red:alarm";
+                       label = "red:alarm";
                        gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
                };
 
                led_amber: amber {
-                       label = "mr8300:amber:programming";
+                       label = "amber:programming";
                        gpios = <&tlmm 22 GPIO_ACTIVE_HIGH>;
                        panic-indicator;
                };
 
                led_blue: blue {
-                       label = "mr8300:blue:power";
+                       label = "blue:power";
                        gpios = <&tlmm 46 GPIO_ACTIVE_HIGH>;
                };
 
                // On back panel, above USB socket
 
                led_usb: usb {
-                       label = "mr8300:green:usb";
+                       label = "green:usb";
                        gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&usb3_port1>, <&usb3_port2>,
                                          <&usb2_port1>;
index 2a92a5d80f5264c52be82928614793cb10ccd119..69423ce02beee9b816f99e54c008fa55d99ca8af 100755 (executable)
                compatible = "gpio-leds";
 
                led_system: led_system {
-                       label = "oap100:green:system";
+                       label = "green:system";
                        gpios = <&tlmm 22 GPIO_ACTIVE_HIGH>;
                };
 
                led_2g {
-                       label = "oap100:blue:wlan2g";
+                       label = "blue:wlan2g";
                        gpios = <&tlmm 34 GPIO_ACTIVE_HIGH>;
                };
 
                led_5g {
-                       label = "oap100:blue:wlan5g";
+                       label = "blue:wlan5g";
                        gpios = <&tlmm 35 GPIO_ACTIVE_HIGH>;
                };
        };
index 2f17424e552c64f0b43c9381148d196601785da3..0caa0255d039aedcbbe7ddbf97460cce99c22068 100644 (file)
 
                led_power_blue: power_blue {
                        gpios = <&led_gpio 0 GPIO_ACTIVE_HIGH>;
-                       label = "rtl30vw:blue:power";
+                       label = "blue:power";
                        default-state = "on";
                };
 
                led_power_red: power_red {
                        gpios = <&led_gpio 1 GPIO_ACTIVE_HIGH>;
-                       label = "rtl30vw:red:power";
+                       label = "red:power";
                };
 
                tp28 {
                        gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>;
-                       label = "rtl30vw:ext:tp28";
+                       label = "ext:tp28";
                        default-state = "keep";
                };
 
                tp27 {
                        gpios = <&led_gpio 7 GPIO_ACTIVE_LOW>;
-                       label = "rtl30vw:ext:tp27";
+                       label = "ext:tp27";
                        default-state = "keep";
                };
 
                wlan2g {
                        gpios = <&led_gpio 8 GPIO_ACTIVE_HIGH>;
-                       label = "rtl30vw:blue:wlan2g";
+                       label = "blue:wlan2g";
                        linux,default-trigger = "phy0tpt";
                };
 
                wlan5g {
                        gpios = <&led_gpio 9 GPIO_ACTIVE_HIGH>;
-                       label = "rtl30vw:blue:wlan5g";
+                       label = "blue:wlan5g";
                        linux,default-trigger = "phy1tpt";
                };
 
                wps {
                        gpios = <&led_gpio 10 GPIO_ACTIVE_HIGH>;
-                       label = "rtl30vw:blue:wps";
+                       label = "blue:wps";
                };
 
                voip {
                        gpios = <&led_gpio 11 GPIO_ACTIVE_HIGH>;
-                       label = "rtl30vw:blue:voip";
+                       label = "blue:voip";
                };
 
                s1 {
                        gpios = <&led_gpio 12 GPIO_ACTIVE_HIGH>;
-                       label = "rtl30vw:blue:s1";
+                       label = "blue:s1";
                };
 
                s2 {
                        gpios = <&led_gpio 13 GPIO_ACTIVE_HIGH>;
-                       label = "rtl30vw:blue:s2";
+                       label = "blue:s2";
                };
 
                s3 {
                        gpios = <&led_gpio 14 GPIO_ACTIVE_HIGH>;
-                       label = "rtl30vw:blue:s3";
+                       label = "blue:s3";
                };
 
                s4 {
                        gpios = <&led_gpio 15 GPIO_ACTIVE_HIGH>;
-                       label = "rtl30vw:blue:s4";
+                       label = "blue:s4";
                };
 
                signal {
                        gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
-                       label = "rtl30vw:red:signal";
+                       label = "red:signal";
                };
        };
 
index c768e25ca0006c0ea91c70c01fb44a88b7008c0f..4435d1fd283430b049e2938bca35240a9c038ecf 100644 (file)
                        pinctrl-names = "default";
 
                        led_status: led2 {
-                               label = "u4019:green:led2";
+                               label = "green:led2";
                                gpios = <&tlmm 68 GPIO_ACTIVE_LOW>;
                        };
                };
index 1977358525b76188e301da71d6f8a9ac40f7a502..cdf0cfe6445bd0e4c615af6c25c3a9d7d6c56758 100644 (file)
                compatible = "gpio-leds";
 
                led_power_white: power_white {
-                       label = "wtr-m2133hp:white:power";
+                       label = "white:power";
                        gpios = <&tlmm 40 GPIO_ACTIVE_HIGH>;
                };
 
                led_power_orange: power_orange {
-                       label = "wtr-m2133hp:orange:power";
+                       label = "orange:power";
                        gpios = <&tlmm 25 GPIO_ACTIVE_HIGH>;
                };
 
                led_power_blue: power_blue {
-                       label = "wtr-m2133hp:blue:power";
+                       label = "blue:power";
                        gpios = <&tlmm 43 GPIO_ACTIVE_HIGH>;
                };
 
                router_white {
-                       label = "wtr-m2133hp:white:router";
+                       label = "white:router";
                        gpios = <&tlmm 28 GPIO_ACTIVE_HIGH>;
                };
 
                router_orange {
-                       label = "wtr-m2133hp:orange:router";
+                       label = "orange:router";
                        gpios = <&tlmm 46 GPIO_ACTIVE_HIGH>;
                };
 
                internet_white {
-                       label = "wtr-m2133hp:white:internet";
+                       label = "white:internet";
                        gpios = <&tlmm 27 GPIO_ACTIVE_HIGH>;
                };
 
                internet_orange {
-                       label = "wtr-m2133hp:orange:internet";
+                       label = "orange:internet";
                        gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
                };
 
                wireless_white {
-                       label = "wtr-m2133hp:white:wireless";
+                       label = "white:wireless";
                        gpios = <&tlmm 24 GPIO_ACTIVE_HIGH>;
                };
 
                wireless_orange {
-                       label = "wtr-m2133hp:orange:wireless";
+                       label = "orange:wireless";
                        gpios = <&tlmm 44 GPIO_ACTIVE_HIGH>;
                };
        };
index 1bcf5e80bf3bded159b4b2e8901c7c5550b835ed..79f4c04edf048975c4a4b60d7ddf54b9b196d25a 100644 (file)
                compatible = "gpio-leds";
 
                status: rss4 {
-                       label = "wpj428:green:rss4";
+                       label = "green:rss4";
                        gpios = <&tlmm 5 GPIO_ACTIVE_HIGH>;
                };
 
                rss3 {
-                       label = "wpj428:green:rss3";
+                       label = "green:rss3";
                        gpios = <&tlmm 4 GPIO_ACTIVE_HIGH>;
                };
        };
index 00faa9840dcea783e631abf0009c19894726536b..a3cecddd6eee6b4018f9d2066b3aafef6fbd934e 100644 (file)
                compatible = "gpio-leds";
 
                wifi_green {
-                       label = "ap-303:green:wifi";
+                       label = "green:wifi";
                        gpios = <&tlmm 39 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy0tpt";
                };
 
                wifi_amber {
-                       label = "ap-303:amber:wifi";
+                       label = "amber:wifi";
                        gpios = <&tlmm 40 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy1tpt";
                };
 
                led_system_red: system_red {
-                       label = "ap-303:red:system";
+                       label = "red:system";
                        gpios = <&tlmm 46 GPIO_ACTIVE_HIGH>;
                };
 
                led_system_green: system_green {
-                       label = "ap-303:green:system";
+                       label = "green:system";
                        gpios = <&tlmm 47 GPIO_ACTIVE_HIGH>;
                };
        };
index c48bfb636a3bb3de456fb7a954630cfd243651e3..707ed18e3b972ae129244d2ca520f52282757fd1 100644 (file)
                compatible = "gpio-leds";
 
                wifi_green {
-                       label = "ap-303h:green:wifi";
+                       label = "green:wifi";
                        gpios = <&tlmm 27 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy0tpt";
                };
 
                wifi_amber {
-                       label = "ap-303h:amber:wifi";
+                       label = "amber:wifi";
                        gpios = <&tlmm 28 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy1tpt";
                };
 
                pse {
-                       label = "ap-303h:green:pse";
+                       label = "green:pse";
                        gpios = <&tlmm 42 GPIO_ACTIVE_HIGH>;
                };
 
                led_system_red: system_red {
-                       label = "ap-303h:red:system";
+                       label = "red:system";
                        gpios = <&tlmm 25 GPIO_ACTIVE_HIGH>;
                };
 
                led_system_green: system_green {
-                       label = "ap-303h:green:system";
+                       label = "green:system";
                        gpios = <&tlmm 24 GPIO_ACTIVE_HIGH>;
                };
 
                led_system_amber: system_amber {
-                       label = "ap-303h:amber:system";
+                       label = "amber:system";
                        gpios = <&tlmm 26 GPIO_ACTIVE_HIGH>;
                };
        };
index c743ac4b4d63d51e93eb4575ec6540da6430b531..1d4e50292e685b5cde228f672a59da8a2ca3fb00 100644 (file)
                compatible = "gpio-leds";
 
                led_system_red: system_red {
-                       label = "ap-365:red:system";
+                       label = "red:system";
                        gpios = <&tlmm 46 GPIO_ACTIVE_LOW>;
                };
 
                led_system_green: system_green {
-                       label = "ap-365:green:system";
+                       label = "green:system";
                        gpios = <&tlmm 61 GPIO_ACTIVE_LOW>;
                };
 
                system_amber {
-                       label = "ap-365:amber:system";
+                       label = "amber:system";
                        gpios = <&tlmm 49 GPIO_ACTIVE_LOW>;
                };
        };
index b32eb29f8ca4222bb3d21b9646ab7c89ce64f11e..a735d8e3aca5002c6b0450a74f8e2e3bc9d478a1 100644 (file)
                compatible = "gpio-leds";
 
                power: power {
-                       label = "gl-b1300:green:power";
+                       label = "green:power";
                        gpios = <&tlmm 4 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
                };
 
                mesh {
-                       label = "gl-b1300:green:mesh";
+                       label = "green:mesh";
                        gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
                };
 
                wlan {
-                       label = "gl-b1300:green:wlan";
+                       label = "green:wlan";
                        gpios = <&tlmm 2 GPIO_ACTIVE_HIGH>;
                };
        };
index b18e2515a3f7c03eab7ec5c756459caacfa5a160..fa859b73a35ba37856e0a72665133699af40c88b 100644 (file)
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "gl-s1300:green:power";
+                       label = "green:power";
                        gpios = <&tlmm 57 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
                };
 
                mesh {
-                       label = "gl-s1300:green:mesh";
+                       label = "green:mesh";
                        gpios = <&tlmm 59 GPIO_ACTIVE_HIGH>;
                };
 
                wlan {
-                       label = "gl-s1300:green:wlan";
+                       label = "green:wlan";
                        gpios = <&tlmm 60 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy0tpt";
                };
index 71057c75776bdc1d6cf77f318045a4fe9974cbad..36a01e50535ce1070418f98002d617c2d44df1e4 100644 (file)
                compatible = "gpio-leds";
 
                power_orange: power {
-                       label = "mr33:orange:power";
+                       label = "orange:power";
                        gpios = <&tlmm 49 GPIO_ACTIVE_LOW>;
                        panic-indicator;
                };
 
                /* RGB led */
                status_red: chan0 {
-                       chan-name = "mr33:red:status";
+                       chan-name = "red:status";
                        led-cur = /bits/ 8 <0x20>;
                        max-cur = /bits/ 8 <0x60>;
                };
 
                status_green: chan1 {
-                       chan-name = "mr33:green:status";
+                       chan-name = "green:status";
                        led-cur = /bits/ 8 <0x20>;
                        max-cur = /bits/ 8 <0x60>;
                };
 
                chan2 {
-                       chan-name = "mr33:blue:status";
+                       chan-name = "blue:status";
                        led-cur = /bits/ 8 <0x20>;
                        max-cur = /bits/ 8 <0x60>;
                };
 
                chan3 {
-                       chan-name = "mr33:white:status";
+                       chan-name = "white:status";
                        led-cur = /bits/ 8 <0x20>;
                        max-cur = /bits/ 8 <0x60>;
                };