2020-07-03 12:06:27 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
|
|
|
|
#include "mt7621_xiaomi_router-ac2100.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "xiaomi,mi-router-ac2100", "mediatek,mt7621-soc";
|
|
|
|
model = "Xiaomi Mi Router AC2100";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
led-boot = &led_status_yellow;
|
|
|
|
led-failsafe = &led_status_yellow;
|
|
|
|
led-running = &led_status_blue;
|
|
|
|
led-upgrade = &led_status_blue;
|
2020-07-18 01:02:11 +08:00
|
|
|
label-mac-device = ðernet;
|
2020-07-03 12:06:27 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
|
|
wan_yellow {
|
2021-06-14 18:30:08 +08:00
|
|
|
label = "yellow:wan";
|
2020-07-03 12:06:27 +08:00
|
|
|
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
|
|
|
wan_blue {
|
2021-06-14 18:30:08 +08:00
|
|
|
label = "blue:wan";
|
2020-07-03 12:06:27 +08:00
|
|
|
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
|
|
|
led_status_yellow: status_yellow {
|
2021-06-14 18:30:08 +08:00
|
|
|
label = "yellow:status";
|
2020-07-03 12:06:27 +08:00
|
|
|
gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
|
|
|
led_status_blue: status_blue {
|
2021-06-14 18:30:08 +08:00
|
|
|
label = "blue:status";
|
2020-07-03 12:06:27 +08:00
|
|
|
gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|