From 7630c052c46925015403564068abdc4b8ca89388 Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Wed, 7 Feb 2024 14:48:43 +0100 Subject: [PATCH] ramips: drop redundant label with new LED color/function format Drop redundant label with new LED color/function format declared. This was needed previously when the new format wasn't supported by leds.sh functions script. Now that is supported this property can be removed in favor of the new format. Signed-off-by: Christian Marangi --- target/linux/ramips/dts/mt7620a_dlink_dir-806a-b1.dts | 2 -- target/linux/ramips/dts/mt7620a_edimax_br-6208ac-v2.dts | 6 ------ target/linux/ramips/dts/mt7620a_wevo_air-duo.dts | 1 - target/linux/ramips/dts/mt7620n_snr_cpe-w4n-mt.dts | 3 --- .../ramips/dts/mt7620n_zyxel_keenetic-lite-iii-a.dts | 2 -- target/linux/ramips/dts/mt7621_alfa-network_ax1800rm.dts | 6 ------ target/linux/ramips/dts/mt7621_arcadyan_we420223-99.dts | 8 -------- target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts | 2 -- target/linux/ramips/dts/mt7621_asus_rt-ax54.dts | 1 - target/linux/ramips/dts/mt7621_elecom_wrc-2533ghbk.dtsi | 4 ---- target/linux/ramips/dts/mt7621_h3c_tx180x.dtsi | 2 -- target/linux/ramips/dts/mt7621_haier-sim_wr1800k.dtsi | 3 --- target/linux/ramips/dts/mt7621_iodata_wn-deax1800gr.dts | 6 ------ target/linux/ramips/dts/mt7621_iptime_a3002mesh.dts | 1 - target/linux/ramips/dts/mt7621_iptime_a3004t.dts | 1 - target/linux/ramips/dts/mt7621_iptime_t5004.dts | 1 - target/linux/ramips/dts/mt7621_snr_snr-cpe-me2-lite.dts | 2 -- target/linux/ramips/dts/mt7621_snr_snr-cpe-me2-sfp.dts | 3 --- target/linux/ramips/dts/mt7621_tplink_archer-x6-v3.dtsi | 1 - target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts | 1 - target/linux/ramips/dts/mt7621_tplink_eap613-v1.dts | 1 - target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts | 1 - target/linux/ramips/dts/mt7621_tplink_er605-v2.dts | 3 --- target/linux/ramips/dts/mt7621_tplink_ex220-v1.dts | 1 - target/linux/ramips/dts/mt7621_xiaomi_mi-router-3-pro.dts | 7 ------- target/linux/ramips/dts/mt7621_xiaomi_mi-router-3g.dts | 6 ------ 26 files changed, 75 deletions(-) diff --git a/target/linux/ramips/dts/mt7620a_dlink_dir-806a-b1.dts b/target/linux/ramips/dts/mt7620a_dlink_dir-806a-b1.dts index 52739f5114..3880051a8a 100644 --- a/target/linux/ramips/dts/mt7620a_dlink_dir-806a-b1.dts +++ b/target/linux/ramips/dts/mt7620a_dlink_dir-806a-b1.dts @@ -31,14 +31,12 @@ compatible = "gpio-leds"; wifi_led: 2.4g { - label = "green:wlan"; color = ; function = LED_FUNCTION_WLAN; gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; // #72 }; wps_led: wps { - label = "green:wps"; color = ; function = LED_FUNCTION_WPS; gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; // #39 diff --git a/target/linux/ramips/dts/mt7620a_edimax_br-6208ac-v2.dts b/target/linux/ramips/dts/mt7620a_edimax_br-6208ac-v2.dts index 34b62a025a..717609f6a7 100644 --- a/target/linux/ramips/dts/mt7620a_edimax_br-6208ac-v2.dts +++ b/target/linux/ramips/dts/mt7620a_edimax_br-6208ac-v2.dts @@ -37,7 +37,6 @@ compatible = "gpio-leds"; led_power: power { - label = "green:power"; color = ; function = LED_FUNCTION_POWER; gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; @@ -45,14 +44,12 @@ // RALINK_REG_PIO3924DATA 39-24 led_internet: internet { - label = "green:internet"; color = ; gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; }; // RALINK_REG_PIO7140DATA 44-40 led_wlan_2_4ghz: wlan_2_4ghz { - label = "green:wlan2g"; color = ; function = LED_FUNCTION_WLAN; gpios = <&gpio2 4 GPIO_ACTIVE_LOW>; @@ -61,7 +58,6 @@ // RALINK_REG_PIO7140DATA 43-40 led_wlan_5ghz: wlan_5ghz { - label = "green:wlan5g"; color = ; function = LED_FUNCTION_WLAN; gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; @@ -70,7 +66,6 @@ // RALINK_REG_PIO7140DATA 42-40 led_firmware: firmware { - label = "green:firmware"; color = ; gpios = <&gpio2 2 GPIO_ACTIVE_LOW>; // default-state = "keep"; @@ -78,7 +73,6 @@ // RALINK_REG_PIO7140DATA 41-40 led_vpn: vpn { - label = "green:vpn"; color = ; gpios = <&gpio2 1 GPIO_ACTIVE_LOW>; }; diff --git a/target/linux/ramips/dts/mt7620a_wevo_air-duo.dts b/target/linux/ramips/dts/mt7620a_wevo_air-duo.dts index 05e61fe614..90bafdabdb 100644 --- a/target/linux/ramips/dts/mt7620a_wevo_air-duo.dts +++ b/target/linux/ramips/dts/mt7620a_wevo_air-duo.dts @@ -22,7 +22,6 @@ compatible = "gpio-leds"; led_status: led-0 { - label = "blue:status"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; diff --git a/target/linux/ramips/dts/mt7620n_snr_cpe-w4n-mt.dts b/target/linux/ramips/dts/mt7620n_snr_cpe-w4n-mt.dts index 25af8d5330..b960162a09 100644 --- a/target/linux/ramips/dts/mt7620n_snr_cpe-w4n-mt.dts +++ b/target/linux/ramips/dts/mt7620n_snr_cpe-w4n-mt.dts @@ -21,7 +21,6 @@ compatible = "gpio-leds"; led_sys: sys { - label = "green:sys"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; // GPIO#38 @@ -29,14 +28,12 @@ }; led_wps: wps { - label = "green:wps"; color = ; function = LED_FUNCTION_WPS; gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; // GPIO#39 }; wlan { - label = "green:wlan"; color = ; function = LED_FUNCTION_WLAN; gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; // GPIO#72 diff --git a/target/linux/ramips/dts/mt7620n_zyxel_keenetic-lite-iii-a.dts b/target/linux/ramips/dts/mt7620n_zyxel_keenetic-lite-iii-a.dts index 2241b27673..64630816dc 100644 --- a/target/linux/ramips/dts/mt7620n_zyxel_keenetic-lite-iii-a.dts +++ b/target/linux/ramips/dts/mt7620n_zyxel_keenetic-lite-iii-a.dts @@ -55,14 +55,12 @@ compatible = "gpio-leds"; led_wan: wan { - label = "green:wan"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; // #GPIO38 }; wifi { - label = "green:wifi"; color = ; function = LED_FUNCTION_WLAN; gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>; // #GPIO72 diff --git a/target/linux/ramips/dts/mt7621_alfa-network_ax1800rm.dts b/target/linux/ramips/dts/mt7621_alfa-network_ax1800rm.dts index e07cddefc5..85fda96ce5 100644 --- a/target/linux/ramips/dts/mt7621_alfa-network_ax1800rm.dts +++ b/target/linux/ramips/dts/mt7621_alfa-network_ax1800rm.dts @@ -42,42 +42,36 @@ compatible = "gpio-leds"; lan1 { - label = "green:lan1"; color = ; function = LED_FUNCTION_LAN; gpios = <&gpio 3 GPIO_ACTIVE_HIGH>; }; lan2 { - label = "green:lan2"; color = ; function = LED_FUNCTION_LAN; gpios = <&gpio 4 GPIO_ACTIVE_LOW>; }; lan3 { - label = "green:lan3"; color = ; function = LED_FUNCTION_LAN; gpios = <&gpio 14 GPIO_ACTIVE_LOW>; }; led_power: power { - label = "green:power"; color = ; function = LED_FUNCTION_POWER; gpios = <&gpio 7 GPIO_ACTIVE_LOW>; }; wan_green { - label = "green:wan"; color = ; function = LED_FUNCTION_WAN; gpios = <&gpio 15 GPIO_ACTIVE_LOW>; }; led_wan_red: wan_red { - label = "red:wan"; color = ; function = LED_FUNCTION_WAN; gpios = <&gpio 16 GPIO_ACTIVE_LOW>; diff --git a/target/linux/ramips/dts/mt7621_arcadyan_we420223-99.dts b/target/linux/ramips/dts/mt7621_arcadyan_we420223-99.dts index fbf276c320..7e181bd12c 100644 --- a/target/linux/ramips/dts/mt7621_arcadyan_we420223-99.dts +++ b/target/linux/ramips/dts/mt7621_arcadyan_we420223-99.dts @@ -42,7 +42,6 @@ compatible = "gpio-leds"; led_power_green: power_green { - label = "green:power"; gpios = <&gpio 42 GPIO_ACTIVE_LOW>; color = ; function = LED_FUNCTION_POWER; @@ -50,48 +49,41 @@ }; led_power_red: power_red { - label = "red:power"; gpios = <&gpio 4 GPIO_ACTIVE_LOW>; color = ; function = LED_FUNCTION_FAULT; }; led_wifi_blue: wifi_blue { - label = "blue:wifi"; gpios = <&gpio 41 GPIO_ACTIVE_LOW>; color = ; function = LED_FUNCTION_WLAN; }; led_wifi_green: wifi_green { - label = "green:wifi"; gpios = <&gpio 43 GPIO_ACTIVE_LOW>; color = ; function = LED_FUNCTION_WLAN; }; led_wps_red: wps_red { - label = "red:wps"; gpios = <&gpio 45 GPIO_ACTIVE_LOW>; color = ; function = LED_FUNCTION_WPS; }; led_wps_green: wps_green { - label = "green:wps"; gpios = <&gpio 46 GPIO_ACTIVE_LOW>; color = ; function = LED_FUNCTION_WPS; }; led_followme_r: followme_red { - label = "red:followme"; gpios = <&gpio 47 GPIO_ACTIVE_LOW>; color = ; }; led_followme_g: followme_green { - label = "green:followme"; gpios = <&gpio 48 GPIO_ACTIVE_LOW>; color = ; }; diff --git a/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts b/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts index c7d0e1e748..efb761540c 100644 --- a/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts +++ b/target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts @@ -27,14 +27,12 @@ compatible = "gpio-leds"; led_power: power { - label = "blue:power"; color = ; function = LED_FUNCTION_POWER; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; }; led_usb { - label = "blue:usb"; color = ; function = LED_FUNCTION_USB; gpios = <&gpio 14 GPIO_ACTIVE_LOW>; diff --git a/target/linux/ramips/dts/mt7621_asus_rt-ax54.dts b/target/linux/ramips/dts/mt7621_asus_rt-ax54.dts index 94825f9de3..04d0d82704 100644 --- a/target/linux/ramips/dts/mt7621_asus_rt-ax54.dts +++ b/target/linux/ramips/dts/mt7621_asus_rt-ax54.dts @@ -27,7 +27,6 @@ compatible = "gpio-leds"; led_power: power { - label = "blue:power"; color = ; function = LED_FUNCTION_POWER; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; diff --git a/target/linux/ramips/dts/mt7621_elecom_wrc-2533ghbk.dtsi b/target/linux/ramips/dts/mt7621_elecom_wrc-2533ghbk.dtsi index 618b07e798..4d3a6f0244 100644 --- a/target/linux/ramips/dts/mt7621_elecom_wrc-2533ghbk.dtsi +++ b/target/linux/ramips/dts/mt7621_elecom_wrc-2533ghbk.dtsi @@ -18,21 +18,18 @@ compatible = "gpio-leds"; wps { - label = "red:wps"; gpios = <&gpio 7 GPIO_ACTIVE_HIGH>; color = ; function = LED_FUNCTION_WPS; }; led_power: power { - label = "white:power"; gpios = <&gpio 12 GPIO_ACTIVE_HIGH>; color = ; function = LED_FUNCTION_POWER; }; wlan2g { - label = "white:wlan2g"; gpios = <&gpio 14 GPIO_ACTIVE_HIGH>; color = ; function = LED_FUNCTION_WLAN; @@ -41,7 +38,6 @@ }; wlan5g { - label = "white:wlan5g"; gpios = <&gpio 15 GPIO_ACTIVE_HIGH>; color = ; function = LED_FUNCTION_WLAN; diff --git a/target/linux/ramips/dts/mt7621_h3c_tx180x.dtsi b/target/linux/ramips/dts/mt7621_h3c_tx180x.dtsi index 59b49fbefc..5639f7176b 100644 --- a/target/linux/ramips/dts/mt7621_h3c_tx180x.dtsi +++ b/target/linux/ramips/dts/mt7621_h3c_tx180x.dtsi @@ -39,14 +39,12 @@ compatible = "gpio-leds"; led_status_amber: led-0 { - label = "amber:status"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 15 GPIO_ACTIVE_LOW>; }; led_status_green: led-1 { - label = "green:status"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 16 GPIO_ACTIVE_LOW>; diff --git a/target/linux/ramips/dts/mt7621_haier-sim_wr1800k.dtsi b/target/linux/ramips/dts/mt7621_haier-sim_wr1800k.dtsi index 6549abaec9..99b589ecfe 100644 --- a/target/linux/ramips/dts/mt7621_haier-sim_wr1800k.dtsi +++ b/target/linux/ramips/dts/mt7621_haier-sim_wr1800k.dtsi @@ -40,21 +40,18 @@ compatible = "gpio-leds"; led_status_blue: led-0 { - label = "blue:status"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 6 GPIO_ACTIVE_LOW>; }; led_status_green: led-1 { - label = "green:status"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 8 GPIO_ACTIVE_LOW>; }; led_status_red: led-2 { - label = "red:status"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 7 GPIO_ACTIVE_LOW>; diff --git a/target/linux/ramips/dts/mt7621_iodata_wn-deax1800gr.dts b/target/linux/ramips/dts/mt7621_iodata_wn-deax1800gr.dts index c21f456a74..4543f45a9f 100644 --- a/target/linux/ramips/dts/mt7621_iodata_wn-deax1800gr.dts +++ b/target/linux/ramips/dts/mt7621_iodata_wn-deax1800gr.dts @@ -25,28 +25,24 @@ compatible = "gpio-leds"; led_status_green: led-0 { - label = "green:status"; gpios = <&gpio 3 GPIO_ACTIVE_HIGH>; color = ; function = LED_FUNCTION_STATUS; }; led_status_red: led-1 { - label = "red:status"; gpios = <&gpio 7 GPIO_ACTIVE_HIGH>; color = ; function = LED_FUNCTION_STATUS; }; led-2 { - label = "green:wps_wifi"; gpios = <&gpio 13 GPIO_ACTIVE_HIGH>; color = ; function = LED_FUNCTION_WPS; }; led-3 { - label = "green:power"; gpios = <&gpio 14 GPIO_ACTIVE_HIGH>; color = ; function = LED_FUNCTION_POWER; @@ -54,14 +50,12 @@ }; led-4 { - label = "green:router"; gpios = <&gpio 15 GPIO_ACTIVE_HIGH>; color = ; function = LED_FUNCTION_INDICATOR; }; led-5 { - label = "green:internet"; gpios = <&gpio 16 GPIO_ACTIVE_HIGH>; color = ; function = LED_FUNCTION_WAN; diff --git a/target/linux/ramips/dts/mt7621_iptime_a3002mesh.dts b/target/linux/ramips/dts/mt7621_iptime_a3002mesh.dts index 05346a10d4..286c4dda49 100644 --- a/target/linux/ramips/dts/mt7621_iptime_a3002mesh.dts +++ b/target/linux/ramips/dts/mt7621_iptime_a3002mesh.dts @@ -21,7 +21,6 @@ compatible = "gpio-leds"; led_cpu: led-0 { - label = "amber:cpu"; color = ; function = LED_FUNCTION_CPU; gpios = <&gpio 18 GPIO_ACTIVE_LOW>; diff --git a/target/linux/ramips/dts/mt7621_iptime_a3004t.dts b/target/linux/ramips/dts/mt7621_iptime_a3004t.dts index 2394a343c2..f33b484350 100644 --- a/target/linux/ramips/dts/mt7621_iptime_a3004t.dts +++ b/target/linux/ramips/dts/mt7621_iptime_a3004t.dts @@ -21,7 +21,6 @@ compatible = "gpio-leds"; led_cpu: led-0 { - label = "amber:cpu"; color = ; function = LED_FUNCTION_CPU; gpios = <&gpio 18 GPIO_ACTIVE_LOW>; diff --git a/target/linux/ramips/dts/mt7621_iptime_t5004.dts b/target/linux/ramips/dts/mt7621_iptime_t5004.dts index ee82ffbd85..bba039a63c 100644 --- a/target/linux/ramips/dts/mt7621_iptime_t5004.dts +++ b/target/linux/ramips/dts/mt7621_iptime_t5004.dts @@ -21,7 +21,6 @@ compatible = "gpio-leds"; led_cpu: led-0 { - label = "blue:cpu"; color = ; function = LED_FUNCTION_CPU; gpios = <&gpio 18 GPIO_ACTIVE_LOW>; diff --git a/target/linux/ramips/dts/mt7621_snr_snr-cpe-me2-lite.dts b/target/linux/ramips/dts/mt7621_snr_snr-cpe-me2-lite.dts index 51425b9a15..5cdf05fae6 100644 --- a/target/linux/ramips/dts/mt7621_snr_snr-cpe-me2-lite.dts +++ b/target/linux/ramips/dts/mt7621_snr_snr-cpe-me2-lite.dts @@ -13,14 +13,12 @@ compatible = "gpio-leds"; led_sys: led-0 { - label = "green:sys"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 15 GPIO_ACTIVE_HIGH>; }; led_vpn: led-1 { - label = "green:vpn"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 14 GPIO_ACTIVE_LOW>; diff --git a/target/linux/ramips/dts/mt7621_snr_snr-cpe-me2-sfp.dts b/target/linux/ramips/dts/mt7621_snr_snr-cpe-me2-sfp.dts index 65f33f615b..7728ded22b 100644 --- a/target/linux/ramips/dts/mt7621_snr_snr-cpe-me2-sfp.dts +++ b/target/linux/ramips/dts/mt7621_snr_snr-cpe-me2-sfp.dts @@ -20,21 +20,18 @@ compatible = "gpio-leds"; led_sys: sys { - label = "green:sys"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 15 GPIO_ACTIVE_LOW>; }; vpn { - label = "green:vpn"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 16 GPIO_ACTIVE_LOW>; }; usb { - label = "green:usb"; color = ; function = LED_FUNCTION_USB; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; diff --git a/target/linux/ramips/dts/mt7621_tplink_archer-x6-v3.dtsi b/target/linux/ramips/dts/mt7621_tplink_archer-x6-v3.dtsi index d3db8cd602..3f792ec2a5 100644 --- a/target/linux/ramips/dts/mt7621_tplink_archer-x6-v3.dtsi +++ b/target/linux/ramips/dts/mt7621_tplink_archer-x6-v3.dtsi @@ -41,7 +41,6 @@ compatible = "gpio-leds"; led_power: led-power { - label = "green:power"; color = ; function = LED_FUNCTION_POWER; gpios = <&gpio 4 GPIO_ACTIVE_LOW>; diff --git a/target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts b/target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts index a91a18efc7..4528cfe1be 100644 --- a/target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts +++ b/target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts @@ -22,7 +22,6 @@ compatible = "gpio-leds"; led_status: status { - label = "white:status"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 12 GPIO_ACTIVE_LOW>; diff --git a/target/linux/ramips/dts/mt7621_tplink_eap613-v1.dts b/target/linux/ramips/dts/mt7621_tplink_eap613-v1.dts index 6c66401580..ab8a3227bb 100644 --- a/target/linux/ramips/dts/mt7621_tplink_eap613-v1.dts +++ b/target/linux/ramips/dts/mt7621_tplink_eap613-v1.dts @@ -26,7 +26,6 @@ compatible = "gpio-leds"; led_status: status { - label = "blue:status"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 7 GPIO_ACTIVE_HIGH>; diff --git a/target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts b/target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts index b856488539..8109ec86b5 100644 --- a/target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts +++ b/target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts @@ -26,7 +26,6 @@ compatible = "gpio-leds"; led_status: status { - label = "white:status"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 12 GPIO_ACTIVE_LOW>; diff --git a/target/linux/ramips/dts/mt7621_tplink_er605-v2.dts b/target/linux/ramips/dts/mt7621_tplink_er605-v2.dts index 04935e3e99..ce2fcce75e 100644 --- a/target/linux/ramips/dts/mt7621_tplink_er605-v2.dts +++ b/target/linux/ramips/dts/mt7621_tplink_er605-v2.dts @@ -29,14 +29,12 @@ compatible = "gpio-leds"; led_usb: usb { - label = "green:usb"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 11 GPIO_ACTIVE_HIGH>; }; led_power: power { - label = "green:power"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 12 GPIO_ACTIVE_LOW>; @@ -44,7 +42,6 @@ }; led_system: system { - label = "green:system"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 7 GPIO_ACTIVE_HIGH>; diff --git a/target/linux/ramips/dts/mt7621_tplink_ex220-v1.dts b/target/linux/ramips/dts/mt7621_tplink_ex220-v1.dts index ffefd07d85..2266b850ed 100644 --- a/target/linux/ramips/dts/mt7621_tplink_ex220-v1.dts +++ b/target/linux/ramips/dts/mt7621_tplink_ex220-v1.dts @@ -82,7 +82,6 @@ }; led_power: led-power { - label = "green:power"; // to be removed once #13837 is merged color = ; function = LED_FUNCTION_POWER; gpios = <&gpio 18 GPIO_ACTIVE_LOW>; diff --git a/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3-pro.dts b/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3-pro.dts index a403cd3e14..c655150aae 100644 --- a/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3-pro.dts +++ b/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3-pro.dts @@ -26,28 +26,24 @@ compatible = "gpio-leds"; led_status_red: led-0 { - label = "red:status"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 6 GPIO_ACTIVE_LOW>; }; led_status_blue: led-1 { - label = "blue:status"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 8 GPIO_ACTIVE_LOW>; }; led_status_yellow: led-2 { - label = "yellow:status"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 10 GPIO_ACTIVE_LOW>; }; led-3 { - label = "amber:wan"; color = ; function = LED_FUNCTION_WAN; gpios = <&gpio 14 GPIO_ACTIVE_LOW>; @@ -55,7 +51,6 @@ }; led-4 { - label = "amber:lan3"; color = ; function = LED_FUNCTION_LAN; function-enumerator = <3>; @@ -64,7 +59,6 @@ }; led-5 { - label = "amber:lan2"; color = ; function = LED_FUNCTION_LAN; function-enumerator = <2>; @@ -73,7 +67,6 @@ }; led-6 { - label = "amber:lan1"; color = ; function = LED_FUNCTION_LAN; function-enumerator = <1>; diff --git a/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3g.dts b/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3g.dts index bd8400c898..ad9c18f8ff 100644 --- a/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3g.dts +++ b/target/linux/ramips/dts/mt7621_xiaomi_mi-router-3g.dts @@ -17,28 +17,24 @@ compatible = "gpio-leds"; led_status_red: led-0 { - label = "red:status"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 6 GPIO_ACTIVE_LOW>; }; led_status_blue: led-1 { - label = "blue:status"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 8 GPIO_ACTIVE_LOW>; }; led_status_yellow: led-2 { - label = "yellow:status"; color = ; function = LED_FUNCTION_STATUS; gpios = <&gpio 10 GPIO_ACTIVE_LOW>; }; led-3 { - label = "amber:wan"; color = ; function = LED_FUNCTION_WAN; gpios = <&gpio 13 GPIO_ACTIVE_LOW>; @@ -46,7 +42,6 @@ }; led-4 { - label = "amber:lan1"; color = ; function = LED_FUNCTION_LAN; function-enumerator = <1>; @@ -55,7 +50,6 @@ }; led-5 { - label = "amber:lan2"; color = ; function = LED_FUNCTION_LAN; function-enumerator = <2>; -- 2.30.2