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>
7 #include <dt-bindings/leds/common.h>
10 compatible = "linksys,re7000", "mediatek,mt7621-soc";
11 model = "Linksys RE7000";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
21 compatible = "gpio-leds";
24 label = "orange:wifi";
25 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
26 linux,default-trigger = "phy0tpt";
30 function = LED_FUNCTION_WPS;
31 color = <LED_COLOR_ID_ORANGE>;
32 gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
36 function = LED_FUNCTION_POWER;
37 color = <LED_COLOR_ID_GREEN>;
38 gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
43 compatible = "gpio-keys";
47 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_WPS_BUTTON>;
53 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_RESTART>;
63 compatible = "jedec,spi-nor";
65 spi-max-frequency = <10000000>;
68 compatible = "fixed-partitions";
80 reg = <0x30000 0x1000>;
85 reg = <0x32000 0xe000>;
91 reg = <0x40000 0x10000>;
95 compatible = "fixed-layout";
99 eeprom_factory_0: eeprom@0 {
103 eeprom_factory_8000: eeprom@8000 {
104 reg = <0x8000 0x4da8>;
107 macaddr_factory_2e: macaddr@2e {
114 compatible = "denx,uimage";
116 reg = <0x50000 0xfb0000>;
124 groups = "i2c", "uart2", "rgmii2";
135 reg = <0x0000 0 0 0 0>;
136 nvmem-cells = <&eeprom_factory_0>;
137 nvmem-cell-names = "eeprom";
138 ieee80211-freq-limit = <2400000 2500000>;
144 reg = <0x0000 0 0 0 0>;
145 nvmem-cells = <&eeprom_factory_8000>;
146 nvmem-cell-names = "eeprom";
147 ieee80211-freq-limit = <5000000 6000000>;
152 nvmem-cells = <&macaddr_factory_2e>;
153 nvmem-cell-names = "mac-address";
157 pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;