ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / ar9344_openmesh_mr600-v2.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include <dt-bindings/leds/common.h>
4
5 #include "ar9344_openmesh_mr600.dtsi"
6
7 / {
8 compatible = "openmesh,mr600-v2", "qca,ar9344";
9 model = "OpenMesh MR600 v2";
10
11 aliases {
12 led-boot = &led_power_blue;
13 led-failsafe = &led_power_blue;
14 led-running = &led_power_blue;
15 led-upgrade = &led_power_blue;
16 };
17
18 leds {
19 compatible = "gpio-leds";
20
21 wifi5g_red {
22 label = "red:wifi5g";
23 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
24 };
25
26 wps_blue {
27 function = LED_FUNCTION_WPS;
28 color = <LED_COLOR_ID_BLUE>;
29 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
30 };
31
32 led_power_blue: power_blue {
33 function = LED_FUNCTION_POWER;
34 color = <LED_COLOR_ID_BLUE>;
35 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
36 default-state = "on";
37 };
38
39 wifi2g_green {
40 label = "green:wifi2g";
41 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
42 linux,default-trigger = "phy1tpt";
43 };
44
45 wifi2g_yellow {
46 label = "yellow:wifi2g";
47 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
48 };
49
50 wifi2g_red {
51 label = "red:wifi2g";
52 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
53 };
54
55 wifi5g_green {
56 label = "green:wifi5g";
57 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
58 linux,default-trigger = "phy0tpt";
59 };
60
61 wifi5g_yellow {
62 label = "yellow:wifi5g";
63 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
64 };
65 };
66
67 watchdog {
68 compatible = "linux,wdt-gpio";
69 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
70 hw_algo = "toggle";
71 /* hw_margin_ms is actually 300s but driver limits it to 60s */
72 hw_margin_ms = <60000>;
73 always-running;
74 };
75 };