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 = "linksys,re7000", "mediatek,mt7621-soc";
10 model = "Linksys RE7000";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-leds";
23 label = "orange:wifi";
24 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
25 linux,default-trigger = "phy0tpt";
30 gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
34 label = "green:power";
35 gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
40 compatible = "gpio-keys";
44 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_WPS_BUTTON>;
50 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
60 compatible = "jedec,spi-nor";
62 spi-max-frequency = <10000000>;
65 compatible = "fixed-partitions";
77 reg = <0x30000 0x1000>;
82 reg = <0x32000 0xe000>;
86 factory: partition@40000 {
87 compatible = "nvmem-cells";
89 reg = <0x40000 0x10000>;
94 eeprom_factory_0: eeprom@0 {
98 eeprom_factory_8000: eeprom@8000 {
99 reg = <0x8000 0x4da8>;
102 macaddr_factory_2e: macaddr@2e {
108 compatible = "denx,uimage";
110 reg = <0x50000 0xfb0000>;
118 groups = "i2c", "uart2", "rgmii2";
129 reg = <0x0000 0 0 0 0>;
130 nvmem-cells = <&eeprom_factory_0>;
131 nvmem-cell-names = "eeprom";
132 ieee80211-freq-limit = <2400000 2500000>;
138 reg = <0x0000 0 0 0 0>;
139 nvmem-cells = <&eeprom_factory_8000>;
140 nvmem-cell-names = "eeprom";
141 ieee80211-freq-limit = <5000000 6000000>;
146 nvmem-cells = <&macaddr_factory_2e>;
147 nvmem-cell-names = "mac-address";
151 pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;