1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "mercusys,mr70x-v1", "mediatek,mt7621-soc";
10 model = "Mercusys MR70X v1";
13 led-boot = &led_power_green;
14 led-failsafe = &led_power_orange;
15 led-running = &led_power_green;
16 led-upgrade = &led_power_orange;
17 label-mac-device = &gmac0;
21 bootargs = "console=ttyS0,115200";
25 compatible = "gpio-keys";
29 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RESTART>;
35 compatible = "gpio-leds";
37 led_power_green: power-green {
38 label = "green:power";
39 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
42 led_power_orange: power-orange {
43 label = "orange:power";
44 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
53 compatible = "jedec,spi-nor";
55 spi-max-frequency = <25000000>;
58 compatible = "fixed-partitions";
64 reg = <0x000000 0x040000>;
69 compatible = "denx,uimage";
71 reg = <0x040000 0xf60000>;
74 config: partition@fa0000 {
76 reg = <0xfa0000 0x010000>;
82 reg = <0xfb0000 0x040000>;
86 radio: partition@ff0000 {
88 reg = <0xff0000 0x010000>;
101 compatible = "mediatek,mt76";
102 reg = <0x0000 0 0 0 0>;
103 mediatek,mtd-eeprom = <&radio 0x0>;
104 nvmem-cells = <&macaddr_config_8>;
105 nvmem-cell-names = "mac-address";
106 mediatek,disable-radar-background;
111 nvmem-cells = <&macaddr_config_8>;
112 nvmem-cell-names = "mac-address";
118 phy-handle = <ðphy0>;
120 nvmem-cells = <&macaddr_config_8>;
121 nvmem-cell-names = "mac-address";
122 mac-address-increment = <1>;
126 ethphy0: ethernet-phy@0 {
152 groups = "i2c", "uart3";
158 compatible = "nvmem-cells";
159 #address-cells = <1>;
162 macaddr_config_8: macaddr@8 {