1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7621_xiaomi_mi-router-4a-common.dtsi"
6 compatible = "xiaomi,mi-router-4a-gigabit-v2", "mediatek,mt7621-soc";
7 model = "Xiaomi Mi Router 4A Gigabit Edition v2";
10 label-mac-device = &wan;
14 compatible = "gpio-leds";
16 led_status_blue: status_blue {
17 label = "blue:status";
18 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
21 led_status_yellow: status_yellow {
22 label = "yellow:status";
23 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
28 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
33 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
38 /* override EEPROM size to 0x4da8 for MT7613 */
39 &eeprom_factory_8000 {
40 reg = <0x8000 0x4da8>;
45 // size changed against to the common dtsi
46 reg = <0x180000 0xe70000>;
51 reg = <0xff0000 0x10000>;
57 nvmem-cells = <&eeprom_factory_0>;
58 nvmem-cell-names = "eeprom";
59 ieee80211-freq-limit = <2400000 2500000>;
63 nvmem-cells = <&eeprom_factory_8000>;
64 nvmem-cell-names = "eeprom";
65 ieee80211-freq-limit = <5000000 6000000>;
83 nvmem-cells = <&macaddr_factory_e006>;
84 nvmem-cell-names = "mac-address";