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 = "rostelecom,rt-fe-1a", "mediatek,mt7621-soc";
11 model = "Rostelecom RT-FE-1A";
14 label-mac-device = &gmac0;
16 led-boot = &led_status_green;
17 led-failsafe = &led_status_green;
18 led-running = &led_status_green;
19 led-upgrade = &led_status_green;
23 compatible = "gpio-leds";
26 color = <LED_COLOR_ID_BLUE>;
27 function = LED_FUNCTION_WLAN;
28 function-enumerator = <50>;
29 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
30 linux,default-trigger = "phy1tpt";
34 color = <LED_COLOR_ID_BLUE>;
35 function = LED_FUNCTION_WLAN;
36 function-enumerator = <24>;
37 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
38 linux,default-trigger = "phy0tpt";
41 led_status_green: led-2 {
42 color = <LED_COLOR_ID_GREEN>;
43 function = LED_FUNCTION_STATUS;
44 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
49 compatible = "gpio-keys";
53 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
54 linux,code = <KEY_WPS_BUTTON>;
59 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
60 linux,code = <KEY_RESTART>;
65 compatible = "mtd-concat";
66 devices = <&ubiconcat0 &ubiconcat1 &ubiconcat2 \
70 compatible = "fixed-partitions";
76 reg = <0x0 0x5420000>;
86 compatible = "sercomm,sc-partitions", "fixed-partitions";
93 sercomm,scpart-id = <0>;
98 label = "dynamic partition map";
99 reg = <0x100000 0x100000>;
100 sercomm,scpart-id = <1>;
106 reg = <0x200000 0x100000>;
107 sercomm,scpart-id = <2>;
111 compatible = "fixed-layout";
112 #address-cells = <1>;
115 eeprom_2g: eeprom@0 {
119 eeprom_5g: eeprom@8000 {
120 reg = <0x8000 0x4da8>;
123 macaddr_label: macaddr@21000 {
124 compatible = "mac-base";
126 #nvmem-cell-cells = <1>;
133 reg = <0x300000 0x100000>;
134 sercomm,scpart-id = <3>;
139 reg = <0x400000 0x600000>;
140 sercomm,scpart-id = <4>;
145 reg = <0xa00000 0x600000>;
146 sercomm,scpart-id = <5>;
150 ubiconcat0: partition@1000000 {
151 label = "File System 1";
152 reg = <0x1000000 0x1800000>;
153 sercomm,scpart-id = <6>;
157 label = "File System 2";
158 reg = <0x2800000 0x1800000>;
159 sercomm,scpart-id = <7>;
163 ubiconcat1: partition@4000000 {
164 label = "Configuration/log";
165 reg = <0x4000000 0x800000>;
166 sercomm,scpart-id = <8>;
169 ubiconcat2: partition@4800000 {
170 label = "application tmp buffer (Ftool)";
171 reg = <0x4800000 0xc00000>;
172 sercomm,scpart-id = <9>;
175 ubiconcat3: partition@5400000 {
176 label = "free space (in stock firmware)";
177 reg = <0x5400000 0x2820000>;
178 sercomm,scpart-id = <10>;
189 compatible = "mediatek,mt76";
190 reg = <0x0000 0 0 0 0>;
191 ieee80211-freq-limit = <5000000 6000000>;
193 nvmem-cells = <&eeprom_5g>, <&macaddr_label 3>;
194 nvmem-cell-names = "eeprom", "mac-address";
204 compatible = "mediatek,mt76";
205 reg = <0x0000 0 0 0 0>;
206 ieee80211-freq-limit = <2400000 2500000>;
208 nvmem-cells = <&eeprom_2g>, <&macaddr_label 2>;
209 nvmem-cell-names = "eeprom", "mac-address";
218 nvmem-cells = <&macaddr_label 0>;
219 nvmem-cell-names = "mac-address";
225 phy-handle = <ðphy0>;
227 nvmem-cells = <&macaddr_label 11>;
228 nvmem-cell-names = "mac-address";
232 ethphy0: ethernet-phy@0 {
263 groups = "jtag", "uart2", "uart3", "wdt";