1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7621_xiaomi_router-ac2100.dtsi"
6 compatible = "xiaomi,mi-router-ac2100", "mediatek,mt7621-soc";
7 model = "Xiaomi Mi Router AC2100";
10 led-boot = &led_status_yellow;
11 led-failsafe = &led_status_yellow;
12 led-running = &led_status_blue;
13 led-upgrade = &led_status_blue;
14 label-mac-device = &gmac0;
18 compatible = "gpio-leds";
21 label = "mi-router-ac2100:yellow:wan";
22 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
26 label = "mi-router-ac2100:blue:wan";
27 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
30 led_status_yellow: status_yellow {
31 label = "mi-router-ac2100:yellow:status";
32 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
35 led_status_blue: status_blue {
36 label = "mi-router-ac2100:blue:status";
37 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;