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 = "totolink,a7000r", "mediatek,mt7621-soc";
10 model = "TOTOLINK A7000R";
14 led-failsafe = &led_sys;
15 led-running = &led_sys;
16 led-upgrade = &led_sys;
20 compatible = "gpio-leds";
23 label = "a7000r:blue:sys";
24 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
29 compatible = "gpio-keys";
33 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
34 debounce-interval = <60>;
35 linux,code = <KEY_RESTART>;
44 compatible = "jedec,spi-nor";
46 spi-max-frequency = <40000000>;
49 compatible = "fixed-partitions";
61 reg = <0x30000 0x10000>;
65 factory: partition@40000 {
67 reg = <0x40000 0x10000>;
72 compatible = "denx,uimage";
74 reg = <0x50000 0xfb0000>;
86 compatible = "mediatek,mt76";
87 reg = <0x0000 0 0 0 0>;
88 mediatek,mtd-eeprom = <&factory 0x0000>;
89 ieee80211-freq-limit = <2400000 2500000>;
95 compatible = "mediatek,mt76";
96 reg = <0x0000 0 0 0 0>;
97 mediatek,mtd-eeprom = <&factory 0x8000>;
98 ieee80211-freq-limit = <5000000 6000000>;
103 mtd-mac-address = <&factory 0xe000>;
131 mtd-mac-address = <&factory 0xe000>;
132 mtd-mac-address-increment = <1>;
139 groups = "i2c", "wdt";