4299de318bf19ce9e2b1d22998d6a3a909315773
[openwrt/openwrt.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 "mt7621_xiaomi_router-ac2100.dtsi"
4
5 / {
6 compatible = "xiaomi,redmi-router-ac2100", "mediatek,mt7621-soc";
7 model = "Xiaomi Redmi Router AC2100";
8
9 aliases {
10 led-boot = &led_status_amber;
11 led-failsafe = &led_status_amber;
12 led-running = &led_status_white;
13 led-upgrade = &led_status_white;
14 label-mac-device = &gmac0;
15 };
16
17 leds {
18 compatible = "gpio-leds";
19
20 led_status_amber: status_amber {
21 label = "amber:status";
22 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
23 };
24
25 led_status_white: status_white {
26 label = "white:status";
27 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
28 };
29
30 wan_amber {
31 label = "amber:wan";
32 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
33 };
34
35 wan_white {
36 label = "white:wan";
37 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
38 };
39 };
40 };