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