ramips: Unielec u7621-01: remove invalid led status
authorDavid Bentham <db260179@gmail.com>
Sun, 24 Dec 2023 13:49:50 +0000 (13:49 +0000)
committerChristian Lamparter <chunkeey@gmail.com>
Sat, 2 Mar 2024 13:08:08 +0000 (14:08 +0100)
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 <db260179@gmail.com>
target/linux/ramips/dts/mt7621_unielec_u7621-01.dtsi

index b78faf975eca165c3614e9b16217fcc246e05418..b193aed1034dac3b999a1bfb2b6f87dfbfd3572c 100644 (file)
@@ -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>;
                        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 {