ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / ar9344_dlink_dir-825-c1.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include <dt-bindings/leds/common.h>
4
5 #include "ar9344_dlink_dir-8x5.dtsi"
6
7 / {
8 model = "D-LINK DIR-825 C1";
9 compatible = "dlink,dir-825-c1", "qca,ar9344";
10
11 aliases {
12 led-boot = &led_power_orange;
13 led-failsafe = &led_power_orange;
14 led-running = &led_power_blue;
15 led-upgrade = &led_power_orange;
16 };
17
18 leds {
19 compatible = "gpio-leds";
20
21 pinctrl-names = "default";
22 pinctrl-0 = <&enable_gpio_11>;
23
24 led_power_blue: power_blue {
25 function = LED_FUNCTION_POWER;
26 color = <LED_COLOR_ID_BLUE>;
27 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
28 };
29
30 usb {
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>;
36 };
37
38 wan_blue {
39 function = LED_FUNCTION_WAN;
40 color = <LED_COLOR_ID_BLUE>;
41 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
42 };
43
44 wlan2g {
45 label = "blue:wlan2g";
46 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
47 linux,default-trigger = "phy0tpt";
48 };
49
50 wps {
51 function = LED_FUNCTION_WPS;
52 color = <LED_COLOR_ID_BLUE>;
53 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
54 };
55
56 led_power_orange: power_orange {
57 function = LED_FUNCTION_POWER;
58 color = <LED_COLOR_ID_ORANGE>;
59 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
60 };
61
62 wan_orange {
63 function = LED_FUNCTION_WAN;
64 color = <LED_COLOR_ID_ORANGE>;
65 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
66 };
67 };
68
69 leds-ath9k {
70 compatible = "gpio-leds";
71
72 wlan5g {
73 label = "blue:wlan5g";
74 gpios = <&ath9k 0 GPIO_ACTIVE_LOW>;
75 linux,default-trigger = "phy1tpt";
76 };
77 };
78 };
79
80 &pinmux {
81 enable_gpio_11: pinmux_enable_gpio_11 {
82 pinctrl-single,bits = <0x8 0x0 0xff000000>;
83 };
84 };