1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/leds/common.h>
5 #include "qca9556_avm_fritz-repeater.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
10 compatible = "avm,fritz450e", "qca,qca9556";
11 model = "AVM FRITZ!WLAN Repeater 450E";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
21 compatible = "gpio-leds";
24 function = LED_FUNCTION_POWER;
25 color = <LED_COLOR_ID_GREEN>;
26 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
30 function = LED_FUNCTION_WLAN;
31 color = <LED_COLOR_ID_GREEN>;
32 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
33 linux,default-trigger = "phy0tpt";
37 function = LED_FUNCTION_LAN;
38 color = <LED_COLOR_ID_GREEN>;
39 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
43 label = "green:rssi2";
44 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
48 label = "green:rssi3";
49 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
53 label = "green:rssi4";
54 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
61 * Wondered why rssi0 and rssi1 are missing?
63 * AVM seems to have run low on usable GPIO pins, so
64 * instead of adding a shift register like they did for
65 * the 1750E they figured out "Why not use the LEDs on
68 * EVA configures the PHY in a way it does not display
69 * the link-state using it's LEDs. When we reset the PHY
70 * using the reset-mechanism of the PHY subsystem, this
73 * We avoid this by keeping the reset line high.
77 gpios = <11 GPIO_ACTIVE_HIGH>;
79 line-name = "phy-reset";