1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7621_xiaomi_nand_128m.dtsi"
6 compatible = "xiaomi,mi-router-4", "mediatek,mt7621-soc";
7 model = "Xiaomi Mi Router 4";
10 led-boot = &led_status_yellow;
11 led-failsafe = &led_status_red;
12 led-running = &led_status_blue;
13 led-upgrade = &led_status_yellow;
14 label-mac-device = &gmac0;
18 compatible = "gpio-leds";
20 led_status_red: status_red {
22 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
25 led_status_blue: status_blue {
26 label = "blue:status";
27 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
30 led_status_yellow: status_yellow {
31 label = "yellow:status";
32 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
40 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_WPS_BUTTON>;
51 compatible = "pci14c3,7603";
52 reg = <0x0000 0 0 0 0>;
53 nvmem-cells = <&eeprom_factory_0>;
54 nvmem-cell-names = "eeprom";
55 ieee80211-freq-limit = <2400000 2500000>;
61 compatible = "pci14c3,7662";
62 reg = <0x0000 0 0 0 0>;
63 nvmem-cells = <&eeprom_factory_8000>;
64 nvmem-cell-names = "eeprom";
65 ieee80211-freq-limit = <5000000 6000000>;
70 nvmem-cells = <&macaddr_factory_e000>;
71 nvmem-cell-names = "mac-address";
77 phy-handle = <ðphy4>;
79 nvmem-cells = <&macaddr_factory_e006>;
80 nvmem-cell-names = "mac-address";
84 ethphy4: ethernet-phy@4 {
105 groups = "jtag", "uart2", "uart3", "wdt";