ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7621_xiaomi_redmi-router-ac2100.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include <dt-bindings/leds/common.h>
4
5 #include "mt7621_xiaomi_router-ac2100.dtsi"
6
7 / {
8 compatible = "xiaomi,redmi-router-ac2100", "mediatek,mt7621-soc";
9 model = "Xiaomi Redmi Router AC2100";
10
11 aliases {
12 led-boot = &led_status_amber;
13 led-failsafe = &led_status_amber;
14 led-running = &led_status_white;
15 led-upgrade = &led_status_white;
16 label-mac-device = &gmac0;
17 };
18
19 leds {
20 compatible = "gpio-leds";
21
22 led_status_amber: status_amber {
23 function = LED_FUNCTION_STATUS;
24 color = <LED_COLOR_ID_AMBER>;
25 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
26 };
27
28 led_status_white: status_white {
29 function = LED_FUNCTION_STATUS;
30 color = <LED_COLOR_ID_WHITE>;
31 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
32 };
33
34 wan_amber {
35 function = LED_FUNCTION_WAN;
36 color = <LED_COLOR_ID_AMBER>;
37 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
38 };
39
40 wan_white {
41 function = LED_FUNCTION_WAN;
42 color = <LED_COLOR_ID_WHITE>;
43 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
44 };
45 };
46 };