1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/leds/common.h>
5 #include "ar9344_dlink_dir-8x5.dtsi"
8 model = "D-LINK DIR-825 C1";
9 compatible = "dlink,dir-825-c1", "qca,ar9344";
12 led-boot = &led_power_orange;
13 led-failsafe = &led_power_orange;
14 led-running = &led_power_blue;
15 led-upgrade = &led_power_orange;
19 compatible = "gpio-leds";
21 pinctrl-names = "default";
22 pinctrl-0 = <&enable_gpio_11>;
24 led_power_blue: power_blue {
25 function = LED_FUNCTION_POWER;
26 color = <LED_COLOR_ID_BLUE>;
27 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
31 function = LED_FUNCTION_USB;
32 color = <LED_COLOR_ID_BLUE>;
33 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
34 linux,default-trigger = "usbport";
35 trigger-sources = <&hub_port>;
39 function = LED_FUNCTION_WAN;
40 color = <LED_COLOR_ID_BLUE>;
41 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
45 label = "blue:wlan2g";
46 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
47 linux,default-trigger = "phy0tpt";
51 function = LED_FUNCTION_WPS;
52 color = <LED_COLOR_ID_BLUE>;
53 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
56 led_power_orange: power_orange {
57 function = LED_FUNCTION_POWER;
58 color = <LED_COLOR_ID_ORANGE>;
59 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
63 function = LED_FUNCTION_WAN;
64 color = <LED_COLOR_ID_ORANGE>;
65 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
70 compatible = "gpio-leds";
73 label = "blue:wlan5g";
74 gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
75 linux,default-trigger = "phy1tpt";
81 enable_gpio_11: pinmux_enable_gpio_11 {
82 pinctrl-single,bits = <0x8 0x0 0xff000000>;