1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7628an_xiaomi_mi-router-4.dtsi"
6 compatible = "xiaomi,mi-router-4a-100m-intl", "mediatek,mt7628an-soc";
7 model = "Xiaomi Mi Router 4A (100M International Edition)";
10 led-boot = &led_power_yellow;
11 led-failsafe = &led_power_yellow;
12 led-running = &led_power_blue;
13 led-upgrade = &led_power_yellow;
14 label-mac-device = ðernet;
18 compatible = "gpio-leds";
20 led_power_blue: power_blue {
22 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
25 led_power_yellow: power_yellow {
26 label = "yellow:power";
27 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
32 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
41 reg = <0x60000 0x200000>;
47 reg = <0x260000 0xda0000>;
48 compatible = "denx,uimage";
58 compatible = "mediatek,mt76";
59 reg = <0x0000 0 0 0 0>;
60 mediatek,mtd-eeprom = <&factory 0x8000>;
61 ieee80211-freq-limit = <5000000 6000000>;
66 nvmem-cells = <&macaddr_factory_4>;
67 nvmem-cell-names = "mac-address";
68 mac-address-increment = <(-1)>;
72 mediatek,portmap = <0x3e>;
73 mediatek,portdisable = <0x2a>;
77 compatible = "nvmem-cells";
81 macaddr_factory_4: macaddr@4 {