ceaeec750c8c509c6b176542df5f819ff4fffe3f
[openwrt/staging/hauke.git] / target / linux / ramips / dts / mt7621_xiaomi_redmi-router-ac2100.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include "mt7621_xiaomi_router-ac2100.dtsi"
5
6 / {
7 compatible = "xiaomi,redmi-router-ac2100", "mediatek,mt7621-soc";
8 model = "Xiaomi Redmi Router AC2100";
9
10 aliases {
11 led-boot = &led_status_amber;
12 led-failsafe = &led_status_amber;
13 led-running = &led_status_white;
14 led-upgrade = &led_status_white;
15 label-mac-device = &gmac0;
16 };
17
18 leds {
19 compatible = "gpio-leds";
20
21 led_status_amber: status_amber {
22 label = "redmi-router-ac2100:amber:status";
23 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
24 };
25
26 led_status_white: status_white {
27 label = "redmi-router-ac2100:white:status";
28 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
29 };
30
31 wan_amber {
32 label = "redmi-router-ac2100:amber:wan";
33 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
34 };
35
36 wan_white {
37 label = "redmi-router-ac2100:white:wan";
38 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
39 };
40 };
41 };