Browse Source

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 <[email protected]>
Christian Marangi 1 year ago
parent
commit
7630c052c4
26 changed files with 0 additions and 75 deletions
  1. 0 2
      target/linux/ramips/dts/mt7620a_dlink_dir-806a-b1.dts
  2. 0 6
      target/linux/ramips/dts/mt7620a_edimax_br-6208ac-v2.dts
  3. 0 1
      target/linux/ramips/dts/mt7620a_wevo_air-duo.dts
  4. 0 3
      target/linux/ramips/dts/mt7620n_snr_cpe-w4n-mt.dts
  5. 0 2
      target/linux/ramips/dts/mt7620n_zyxel_keenetic-lite-iii-a.dts
  6. 0 6
      target/linux/ramips/dts/mt7621_alfa-network_ax1800rm.dts
  7. 0 8
      target/linux/ramips/dts/mt7621_arcadyan_we420223-99.dts
  8. 0 2
      target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts
  9. 0 1
      target/linux/ramips/dts/mt7621_asus_rt-ax54.dts
  10. 0 4
      target/linux/ramips/dts/mt7621_elecom_wrc-2533ghbk.dtsi
  11. 0 2
      target/linux/ramips/dts/mt7621_h3c_tx180x.dtsi
  12. 0 3
      target/linux/ramips/dts/mt7621_haier-sim_wr1800k.dtsi
  13. 0 6
      target/linux/ramips/dts/mt7621_iodata_wn-deax1800gr.dts
  14. 0 1
      target/linux/ramips/dts/mt7621_iptime_a3002mesh.dts
  15. 0 1
      target/linux/ramips/dts/mt7621_iptime_a3004t.dts
  16. 0 1
      target/linux/ramips/dts/mt7621_iptime_t5004.dts
  17. 0 2
      target/linux/ramips/dts/mt7621_snr_snr-cpe-me2-lite.dts
  18. 0 3
      target/linux/ramips/dts/mt7621_snr_snr-cpe-me2-sfp.dts
  19. 0 1
      target/linux/ramips/dts/mt7621_tplink_archer-x6-v3.dtsi
  20. 0 1
      target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts
  21. 0 1
      target/linux/ramips/dts/mt7621_tplink_eap613-v1.dts
  22. 0 1
      target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts
  23. 0 3
      target/linux/ramips/dts/mt7621_tplink_er605-v2.dts
  24. 0 1
      target/linux/ramips/dts/mt7621_tplink_ex220-v1.dts
  25. 0 7
      target/linux/ramips/dts/mt7621_xiaomi_mi-router-3-pro.dts
  26. 0 6
      target/linux/ramips/dts/mt7621_xiaomi_mi-router-3g.dts

+ 0 - 2
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 = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_WLAN;
 			gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;	// #72
 		};
 
 		wps_led: wps {
-			label = "green:wps";
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_WPS;
 			gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;	// #39

+ 0 - 6
target/linux/ramips/dts/mt7620a_edimax_br-6208ac-v2.dts

@@ -37,7 +37,6 @@
 		compatible = "gpio-leds";
 
 		led_power: power {
-			label = "green:power";
 			color = <LED_COLOR_ID_GREEN>;
 			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 = <LED_COLOR_ID_GREEN>;
 			gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
 		};
 
 		// RALINK_REG_PIO7140DATA 44-40
 		led_wlan_2_4ghz: wlan_2_4ghz {
-			label = "green:wlan2g";
 			color = <LED_COLOR_ID_GREEN>;
 			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 = <LED_COLOR_ID_GREEN>;
 			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 = <LED_COLOR_ID_GREEN>;
 			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 = <LED_COLOR_ID_GREEN>;
 			gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
 		};

+ 0 - 1
target/linux/ramips/dts/mt7620a_wevo_air-duo.dts

@@ -22,7 +22,6 @@
 		compatible = "gpio-leds";
 
 		led_status: led-0 {
-			label = "blue:status";
 			color = <LED_COLOR_ID_BLUE>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;

+ 0 - 3
target/linux/ramips/dts/mt7620n_snr_cpe-w4n-mt.dts

@@ -21,7 +21,6 @@
 		compatible = "gpio-leds";
 
 		led_sys: sys {
-			label = "green:sys";
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; // GPIO#38
@@ -29,14 +28,12 @@
 		};
 
 		led_wps: wps {
-			label = "green:wps";
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_WPS;
 			gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; // GPIO#39
 		};
 
 		wlan {
-			label = "green:wlan";
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_WLAN;
 			gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; // GPIO#72

+ 0 - 2
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 = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; // #GPIO38
 		};
 
 		wifi {
-			label = "green:wifi";
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_WLAN;
 			gpios = <&gpio3 0 GPIO_ACTIVE_HIGH>; // #GPIO72

+ 0 - 6
target/linux/ramips/dts/mt7621_alfa-network_ax1800rm.dts

@@ -42,42 +42,36 @@
 		compatible = "gpio-leds";
 
 		lan1 {
-			label = "green:lan1";
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_LAN;
 			gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
 		};
 
 		lan2 {
-			label = "green:lan2";
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_LAN;
 			gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
 		};
 
 		lan3 {
-			label = "green:lan3";
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_LAN;
 			gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
 		};
 
 		led_power: power {
-			label = "green:power";
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_POWER;
 			gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
 		};
 
 		wan_green {
-			label = "green:wan";
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_WAN;
 			gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
 		};
 
 		led_wan_red: wan_red {
-			label = "red:wan";
 			color = <LED_COLOR_ID_RED>;
 			function = LED_FUNCTION_WAN;
 			gpios = <&gpio 16 GPIO_ACTIVE_LOW>;

+ 0 - 8
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 = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_POWER;
@@ -50,48 +49,41 @@
 		};
 
 		led_power_red: power_red {
-			label = "red:power";
 			gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
 			color = <LED_COLOR_ID_RED>;
 			function = LED_FUNCTION_FAULT;
 		};
 
 		led_wifi_blue: wifi_blue {
-			label = "blue:wifi";
 			gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
 			color = <LED_COLOR_ID_BLUE>;
 			function = LED_FUNCTION_WLAN;
 		};
 
 		led_wifi_green: wifi_green {
-			label = "green:wifi";
 			gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_WLAN;
 		};
 
 		led_wps_red: wps_red {
-			label = "red:wps";
 			gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
 			color = <LED_COLOR_ID_RED>;
 			function = LED_FUNCTION_WPS;
 		};
 
 		led_wps_green: wps_green {
-			label = "green:wps";
 			gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_WPS;
 		};
 
 		led_followme_r: followme_red {
-			label = "red:followme";
 			gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
 			color = <LED_COLOR_ID_RED>;
 		};
 
 		led_followme_g: followme_green {
-			label = "green:followme";
 			gpios = <&gpio 48 GPIO_ACTIVE_LOW>;
 			color = <LED_COLOR_ID_GREEN>;
 		};

+ 0 - 2
target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts

@@ -27,14 +27,12 @@
 		compatible = "gpio-leds";
 
 		led_power: power {
-			label = "blue:power";
 			color = <LED_COLOR_ID_BLUE>;
 			function = LED_FUNCTION_POWER;
 			gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
 		};
 
 		led_usb {
-			label = "blue:usb";
 			color = <LED_COLOR_ID_BLUE>;
 			function = LED_FUNCTION_USB;
 			gpios = <&gpio 14 GPIO_ACTIVE_LOW>;

+ 0 - 1
target/linux/ramips/dts/mt7621_asus_rt-ax54.dts

@@ -27,7 +27,6 @@
 		compatible = "gpio-leds";
 
 		led_power: power {
-			label = "blue:power";
 			color = <LED_COLOR_ID_BLUE>;
 			function = LED_FUNCTION_POWER;
 			gpios = <&gpio 13 GPIO_ACTIVE_LOW>;

+ 0 - 4
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 = <LED_COLOR_ID_RED>;
 			function = LED_FUNCTION_WPS;
 		};
 
 		led_power: power {
-			label = "white:power";
 			gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
 			color = <LED_COLOR_ID_WHITE>;
 			function = LED_FUNCTION_POWER;
 		};
 
 		wlan2g {
-			label = "white:wlan2g";
 			gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
 			color = <LED_COLOR_ID_WHITE>;
 			function = LED_FUNCTION_WLAN;
@@ -41,7 +38,6 @@
 		};
 
 		wlan5g {
-			label = "white:wlan5g";
 			gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
 			color = <LED_COLOR_ID_WHITE>;
 			function = LED_FUNCTION_WLAN;

+ 0 - 2
target/linux/ramips/dts/mt7621_h3c_tx180x.dtsi

@@ -39,14 +39,12 @@
 		compatible = "gpio-leds";
 
 		led_status_amber: led-0 {
-			label = "amber:status";
 			color = <LED_COLOR_ID_AMBER>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
 		};
 
 		led_status_green: led-1 {
-			label = "green:status";
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&gpio 16 GPIO_ACTIVE_LOW>;

+ 0 - 3
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 = <LED_COLOR_ID_BLUE>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
 		};
 
 		led_status_green: led-1 {
-			label = "green:status";
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
 		};
 
 		led_status_red: led-2 {
-			label = "red:status";
 			color = <LED_COLOR_ID_RED>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&gpio 7 GPIO_ACTIVE_LOW>;

+ 0 - 6
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 = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_STATUS;
 		};
 
 		led_status_red: led-1 {
-			label = "red:status";
 			gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
 			color = <LED_COLOR_ID_RED>;
 			function = LED_FUNCTION_STATUS;
 		};
 
 		led-2 {
-			label = "green:wps_wifi";
 			gpios = <&gpio 13 GPIO_ACTIVE_HIGH>;
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_WPS;
 		};
 
 		led-3 {
-			label = "green:power";
 			gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_POWER;
@@ -54,14 +50,12 @@
 		};
 
 		led-4 {
-			label = "green:router";
 			gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_INDICATOR;
 		};
 
 		led-5 {
-			label = "green:internet";
 			gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_WAN;

+ 0 - 1
target/linux/ramips/dts/mt7621_iptime_a3002mesh.dts

@@ -21,7 +21,6 @@
 		compatible = "gpio-leds";
 
 		led_cpu: led-0 {
-			label = "amber:cpu";
 			color = <LED_COLOR_ID_AMBER>;
 			function = LED_FUNCTION_CPU;
 			gpios = <&gpio 18 GPIO_ACTIVE_LOW>;

+ 0 - 1
target/linux/ramips/dts/mt7621_iptime_a3004t.dts

@@ -21,7 +21,6 @@
 		compatible = "gpio-leds";
 
 		led_cpu: led-0 {
-			label = "amber:cpu";
 			color = <LED_COLOR_ID_AMBER>;
 			function = LED_FUNCTION_CPU;
 			gpios = <&gpio 18 GPIO_ACTIVE_LOW>;

+ 0 - 1
target/linux/ramips/dts/mt7621_iptime_t5004.dts

@@ -21,7 +21,6 @@
 		compatible = "gpio-leds";
 
 		led_cpu: led-0 {
-			label = "blue:cpu";
 			color = <LED_COLOR_ID_BLUE>;
 			function = LED_FUNCTION_CPU;
 			gpios = <&gpio 18 GPIO_ACTIVE_LOW>;

+ 0 - 2
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 = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
 		};
 
 		led_vpn: led-1 {
-			label = "green:vpn";
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&gpio 14 GPIO_ACTIVE_LOW>;

+ 0 - 3
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 = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
 		};
 
 		vpn {
-			label = "green:vpn";
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
 		};
 
 		usb {
-			label = "green:usb";
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_USB;
 			gpios = <&gpio 13 GPIO_ACTIVE_LOW>;

+ 0 - 1
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 = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_POWER;
 			gpios = <&gpio 4 GPIO_ACTIVE_LOW>;

+ 0 - 1
target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts

@@ -22,7 +22,6 @@
 		compatible = "gpio-leds";
 
 		led_status: status {
-			label = "white:status";
 			color = <LED_COLOR_ID_WHITE>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&gpio 12 GPIO_ACTIVE_LOW>;

+ 0 - 1
target/linux/ramips/dts/mt7621_tplink_eap613-v1.dts

@@ -26,7 +26,6 @@
 		compatible = "gpio-leds";
 
 		led_status: status {
-			label = "blue:status";
 			color = <LED_COLOR_ID_BLUE>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;

+ 0 - 1
target/linux/ramips/dts/mt7621_tplink_eap615-wall-v1.dts

@@ -26,7 +26,6 @@
 		compatible = "gpio-leds";
 
 		led_status: status {
-			label = "white:status";
 			color = <LED_COLOR_ID_WHITE>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&gpio 12 GPIO_ACTIVE_LOW>;

+ 0 - 3
target/linux/ramips/dts/mt7621_tplink_er605-v2.dts

@@ -29,14 +29,12 @@
 		compatible = "gpio-leds";
 
 		led_usb: usb {
-			label = "green:usb";
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
 		};
 
 		led_power: power {
-			label = "green:power";
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
@@ -44,7 +42,6 @@
 		};
 
 		led_system: system {
-			label = "green:system";
 			color = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;

+ 0 - 1
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 = <LED_COLOR_ID_GREEN>;
 			function = LED_FUNCTION_POWER;
 			gpios = <&gpio 18 GPIO_ACTIVE_LOW>;

+ 0 - 7
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 = <LED_COLOR_ID_RED>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
 		};
 
 		led_status_blue: led-1 {
-			label = "blue:status";
 			color = <LED_COLOR_ID_BLUE>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
 		};
 
 		led_status_yellow: led-2 {
-			label = "yellow:status";
 			color = <LED_COLOR_ID_YELLOW>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
 		};
 
 		led-3 {
-			label = "amber:wan";
 			color = <LED_COLOR_ID_AMBER>;
 			function = LED_FUNCTION_WAN;
 			gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
@@ -55,7 +51,6 @@
 		};
 
 		led-4 {
-			label = "amber:lan3";
 			color = <LED_COLOR_ID_AMBER>;
 			function = LED_FUNCTION_LAN;
 			function-enumerator = <3>;
@@ -64,7 +59,6 @@
 		};
 
 		led-5 {
-			label = "amber:lan2";
 			color = <LED_COLOR_ID_AMBER>;
 			function = LED_FUNCTION_LAN;
 			function-enumerator = <2>;
@@ -73,7 +67,6 @@
 		};
 
 		led-6 {
-			label = "amber:lan1";
 			color = <LED_COLOR_ID_AMBER>;
 			function = LED_FUNCTION_LAN;
 			function-enumerator = <1>;

+ 0 - 6
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 = <LED_COLOR_ID_RED>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
 		};
 
 		led_status_blue: led-1 {
-			label = "blue:status";
 			color = <LED_COLOR_ID_BLUE>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
 		};
 
 		led_status_yellow: led-2 {
-			label = "yellow:status";
 			color = <LED_COLOR_ID_YELLOW>;
 			function = LED_FUNCTION_STATUS;
 			gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
 		};
 
 		led-3 {
-			label = "amber:wan";
 			color = <LED_COLOR_ID_AMBER>;
 			function = LED_FUNCTION_WAN;
 			gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
@@ -46,7 +42,6 @@
 		};
 
 		led-4 {
-			label = "amber:lan1";
 			color = <LED_COLOR_ID_AMBER>;
 			function = LED_FUNCTION_LAN;
 			function-enumerator = <1>;
@@ -55,7 +50,6 @@
 		};
 
 		led-5 {
-			label = "amber:lan2";
 			color = <LED_COLOR_ID_AMBER>;
 			function = LED_FUNCTION_LAN;
 			function-enumerator = <2>;