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>;
40 // size changed against to the common dtsi
41 reg = <0x180000 0xe70000>;
46 reg = <0xff0000 0x10000>;
52 mediatek,mtd-eeprom = <&factory 0x0000>;
53 ieee80211-freq-limit = <2400000 2500000>;
57 mediatek,mtd-eeprom = <&factory 0x8000>;
58 ieee80211-freq-limit = <5000000 6000000>;
76 nvmem-cells = <&macaddr_factory_e006>;
77 nvmem-cell-names = "mac-address";