From: Robert Senderek Date: Wed, 19 Feb 2025 22:24:11 +0000 (+0100) Subject: lantiq: Improve support for LED's fritz736x X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=refs%2Fpull%2F18038%2Fhead;p=thirdparty%2Fopenwrt.git lantiq: Improve support for LED's fritz736x add support for fon / internet LED solves: https://github.com/openwrt/openwrt/issues/17787 This LED is marked Internet or Fon depend on version Tested on fritz7362sl Signed-off-by: Robert Senderek Link: https://github.com/openwrt/openwrt/pull/18038 Signed-off-by: Hauke Mehrtens --- diff --git a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz736x.dtsi b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz736x.dtsi index cc0c97da89c..95340c1983b 100644 --- a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz736x.dtsi +++ b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_avm_fritz736x.dtsi @@ -55,6 +55,12 @@ default-state = "keep"; }; + fon { + function = "fon" + color = ; + gpios = <&gpio 38 GPIO_ACTIVE_LOW>; + }; + led_power_red: power_red { function = LED_FUNCTION_POWER; color = ; @@ -62,7 +68,8 @@ }; led_info_green: info_green { - label = "green:info"; + function = "info" + color = ; gpios = <&gpio 47 GPIO_ACTIVE_LOW>; }; @@ -73,12 +80,14 @@ }; info_red { - label = "red:info"; + function = "info" + color = ; }; dect { - label = "green:dect"; + function = "dect" + color = ; gpios = <&gpio 35 GPIO_ACTIVE_LOW>; }; };