1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/leds/common.h>
5 #include "mt7628an_xiaomi_mi-router-4.dtsi"
8 compatible = "xiaomi,mi-router-4a-100m", "mediatek,mt7628an-soc";
9 model = "Xiaomi Mi Router 4A (100M Edition)";
12 led-boot = &led_power_yellow;
13 led-failsafe = &led_power_yellow;
14 led-running = &led_power_blue;
15 led-upgrade = &led_power_yellow;
16 label-mac-device = ðernet;
20 compatible = "gpio-leds";
22 led_power_blue: power_blue {
23 function = LED_FUNCTION_POWER;
24 color = <LED_COLOR_ID_BLUE>;
25 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
28 led_power_yellow: power_yellow {
29 function = LED_FUNCTION_POWER;
30 color = <LED_COLOR_ID_YELLOW>;
31 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
35 function = LED_FUNCTION_WAN;
36 color = <LED_COLOR_ID_BLUE>;
37 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
46 reg = <0x60000 0x100000>;
52 reg = <0x160000 0xea0000>;
53 compatible = "denx,uimage";
63 compatible = "mediatek,mt76";
64 reg = <0x0000 0 0 0 0>;
65 nvmem-cells = <&eeprom_factory_8000>;
66 nvmem-cell-names = "eeprom";
67 ieee80211-freq-limit = <5000000 6000000>;
72 nvmem-cells = <&macaddr_factory_4 (-1)>;
73 nvmem-cell-names = "mac-address";
77 mediatek,portmap = <0x3e>;
78 mediatek,portdisable = <0x2a>;