1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7628an_xiaomi_mi-router-4.dtsi"
6 compatible = "xiaomi,mi-ra75", "mediatek,mt7628an-soc";
7 model = "Xiaomi Mi AC1200 WLAN Range Extender RA75";
9 led-boot = &led_system_amber;
10 led-failsafe = &led_system_amber;
11 led-running = &led_system_blue;
12 led-upgrade = &led_system_amber;
13 label-mac-device = &wmac;
17 compatible = "gpio-leds";
19 led_system_blue: system_blue {
20 label = "blue:system";
21 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
23 led_system_amber: system_amber {
24 label = "amber:system";
25 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
27 led_signal_blue: signal_blue {
28 label = "blue:signal";
29 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
31 led_signal_amber: signal_amber {
32 label = "amber:signal";
33 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
35 led_signal_red: signal_red {
37 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
42 compatible = "gpio-keys";
46 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_RESTART>;
51 gpios = <&gpio 67 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_WPS_BUTTON>;
60 groups = "gpio", "refclk", "wdt", "wled_an", "uart1";
68 reg = <0x60000 0x100000>;
74 reg = <0x160000 0xea0000>;
75 compatible = "denx,uimage";
85 compatible = "mediatek,mt76";
86 reg = <0x0000 0 0 0 0>;
87 nvmem-cells = <&eeprom_factory_8000>;
88 nvmem-cell-names = "eeprom";
89 ieee80211-freq-limit = <5000000 6000000>;
94 nvmem-cells = <&macaddr_factory_28>;
95 nvmem-cell-names = "mac-address";
99 nvmem-cells = <&eeprom_factory_0>;
100 nvmem-cell-names = "eeprom";
104 mediatek,portmap = <0x3e>;
105 mediatek,portdisable = <0x2a>;