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";
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 {
66 compatible = "nvmem-cells";
68 reg = <0x40000 0x10000>;
73 eeprom_factory_0: eeprom@0 {
77 eeprom_factory_8000: eeprom@8000 {
78 reg = <0x8000 0x4da8>;
81 macaddr_factory_e000: macaddr@e000 {
87 compatible = "denx,uimage";
89 reg = <0x50000 0xfb0000>;
101 compatible = "mediatek,mt76";
102 reg = <0x0000 0 0 0 0>;
103 nvmem-cells = <&eeprom_factory_0>;
104 nvmem-cell-names = "eeprom";
105 ieee80211-freq-limit = <2400000 2500000>;
111 compatible = "mediatek,mt76";
112 reg = <0x0000 0 0 0 0>;
113 nvmem-cells = <&eeprom_factory_8000>;
114 nvmem-cell-names = "eeprom";
115 ieee80211-freq-limit = <5000000 6000000>;
120 nvmem-cells = <&macaddr_factory_e000>;
121 nvmem-cell-names = "mac-address";
127 phy-handle = <ðphy4>;
129 nvmem-cells = <&macaddr_factory_e000>;
130 nvmem-cell-names = "mac-address";
131 mac-address-increment = <1>;
135 ethphy4: ethernet-phy@4 {
166 groups = "i2c", "wdt";