Просмотр исходного кода

ramips: Unielec u7621-01: remove invalid led status

The original commit had an invalid setting of the
led status for this device.

There is no gpio pin connected to that led so lets
remove these from the u7621-01 dtsi file.

Signed-off-by: David Bentham <[email protected]>
David Bentham 2 лет назад
Родитель
Сommit
f5b2b08190
1 измененных файлов с 0 добавлено и 17 удалено
  1. 0 17
      target/linux/ramips/dts/mt7621_unielec_u7621-01.dtsi

+ 0 - 17
target/linux/ramips/dts/mt7621_unielec_u7621-01.dtsi

@@ -9,13 +9,6 @@
 / {
 	compatible = "unielec,u7621-01", "mediatek,mt7621-soc";
 
-	aliases {
-		led-boot = &led_status;
-		led-failsafe = &led_status;
-		led-running = &led_status;
-		led-upgrade = &led_status;
-	};
-
 	gpio-export {
 		compatible = "gpio-export";
 		#size-cells = <0>;
@@ -36,16 +29,6 @@
 			linux,code = <KEY_RESTART>;
 		};
 	};
-
-	leds {
-		compatible = "gpio-leds";
-
-		led_status: status {
-			function = LED_FUNCTION_STATUS;
-			color = <LED_COLOR_ID_GREEN>;
-			gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
-		};
-	};
 };
 
 &pcie {