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 = ðernet;
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>;
38 compatible = "gpio-keys";
42 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RESTART>;
47 gpios = <&gpio 67 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_WPS_BUTTON>;
57 reg = <0x60000 0x100000>;
63 reg = <0x160000 0xea0000>;
64 compatible = "denx,uimage";
74 compatible = "mediatek,mt76";
75 reg = <0x0000 0 0 0 0>;
76 mediatek,mtd-eeprom = <&factory 0x8000>;
77 ieee80211-freq-limit = <5000000 6000000>;
82 nvmem-cells = <&macaddr_factory_28>;
83 nvmem-cell-names = "mac-address";
87 ralink,mtd-eeprom = <&factory 0x0>;
92 mediatek,portmap = <0x3e>;
93 mediatek,portdisable = <0x2a>;
105 compatible = "nvmem-cells";
106 #address-cells = <1>;
109 macaddr_factory_4: macaddr@4 {
113 macaddr_factory_28: macaddr@28 {
116 macaddr_factory_8004: macaddr@8004 {