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 <robert.senderek@10g.pl> Link: https://github.com/openwrt/openwrt/pull/18038 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
parent
3b7d72bc2e
commit
5a3b9d88f1
1 changed files with 12 additions and 3 deletions
|
@ -55,6 +55,12 @@
|
||||||
default-state = "keep";
|
default-state = "keep";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fon {
|
||||||
|
function = "fon"
|
||||||
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
|
gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
|
||||||
|
};
|
||||||
|
|
||||||
led_power_red: power_red {
|
led_power_red: power_red {
|
||||||
function = LED_FUNCTION_POWER;
|
function = LED_FUNCTION_POWER;
|
||||||
color = <LED_COLOR_ID_RED>;
|
color = <LED_COLOR_ID_RED>;
|
||||||
|
@ -62,7 +68,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
led_info_green: info_green {
|
led_info_green: info_green {
|
||||||
label = "green:info";
|
function = "info"
|
||||||
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -73,12 +80,14 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
info_red {
|
info_red {
|
||||||
label = "red:info";
|
function = "info"
|
||||||
|
color = <LED_COLOR_ID_RED
|
||||||
gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
dect {
|
dect {
|
||||||
label = "green:dect";
|
function = "dect"
|
||||||
|
color = <LED_COLOR_ID_GREEN>;
|
||||||
gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue