1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/leds/common.h>
5 #include "ar9344_openmesh_mr600.dtsi"
8 compatible = "openmesh,mr600-v2", "qca,ar9344";
9 model = "OpenMesh MR600 v2";
12 led-boot = &led_power_blue;
13 led-failsafe = &led_power_blue;
14 led-running = &led_power_blue;
15 led-upgrade = &led_power_blue;
19 compatible = "gpio-leds";
23 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
27 function = LED_FUNCTION_WPS;
28 color = <LED_COLOR_ID_BLUE>;
29 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
32 led_power_blue: power_blue {
33 function = LED_FUNCTION_POWER;
34 color = <LED_COLOR_ID_BLUE>;
35 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
40 label = "green:wifi2g";
41 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
42 linux,default-trigger = "phy1tpt";
46 label = "yellow:wifi2g";
47 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
52 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
56 label = "green:wifi5g";
57 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
58 linux,default-trigger = "phy0tpt";
62 label = "yellow:wifi5g";
63 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
68 compatible = "linux,wdt-gpio";
69 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
71 /* hw_margin_ms is actually 300s but driver limits it to 60s */
72 hw_margin_ms = <60000>;