From: David Bentham Date: Sun, 24 Dec 2023 13:49:50 +0000 (+0000) Subject: ramips: Unielec u7621-01: remove invalid led status X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f5b2b08190f250aaee2f6ceffc366db99b2a6166;p=openwrt%2Fstaging%2Fnbd.git 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 --- diff --git a/target/linux/ramips/dts/mt7621_unielec_u7621-01.dtsi b/target/linux/ramips/dts/mt7621_unielec_u7621-01.dtsi index b78faf975e..b193aed103 100644 --- a/target/linux/ramips/dts/mt7621_unielec_u7621-01.dtsi +++ b/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 = ; }; }; - - leds { - compatible = "gpio-leds"; - - led_status: status { - function = LED_FUNCTION_STATUS; - color = ; - gpios = <&gpio 10 GPIO_ACTIVE_LOW>; - }; - }; }; &pcie {