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 = "iodata,wn-dx1200gr", "mediatek,mt7621-soc";
10 model = "I-O DATA WN-DX1200GR";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
17 label-mac-device = &gmac1;
21 compatible = "gpio-leds";
25 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
29 label = "green:power";
30 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
35 compatible = "gpio-keys";
39 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
45 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
47 linux,input-type = <EV_SW>;
52 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_WPS_BUTTON>;
62 mediatek,bmt-remap-range =
63 <0x0000000 0x0800000>,
64 <0x3600000 0x4980000>;
67 compatible = "fixed-partitions";
79 reg = <0x100000 0x100000>;
83 factory: partition@200000 {
84 compatible = "nvmem-cells";
86 reg = <0x200000 0x200000>;
90 eeprom_factory_0: eeprom@0 {
94 eeprom_factory_8000: eeprom@8000 {
95 reg = <0x8000 0x4da8>;
98 macaddr_factory_1e000: macaddr@1e000 {
102 macaddr_factory_1e006: macaddr@1e006 {
109 reg = <0x400000 0x400000>;
114 reg = <0x800000 0x2e00000>;
119 reg = <0x3600000 0x100000>;
124 label = "firmware_2";
125 reg = <0x3700000 0x3200000>;
130 reg = <0x6900000 0x100000>;
136 reg = <0x6a00000 0x100000>;
141 reg = <0x6b00000 0x100000>;
147 reg = <0x6c00000 0x1380000>;
154 nvmem-cells = <&macaddr_factory_1e000>;
155 nvmem-cell-names = "mac-address";
161 phy-handle = <ðphy0>;
163 nvmem-cells = <&macaddr_factory_1e006>;
164 nvmem-cell-names = "mac-address";
168 ethphy0: ethernet-phy@0 {
203 compatible = "mediatek,mt76";
204 reg = <0x0000 0 0 0 0>;
205 ieee80211-freq-limit = <2400000 2500000>;
207 nvmem-cells = <&eeprom_factory_0>;
208 nvmem-cell-names = "eeprom";
214 compatible = "mediatek,mt76";
215 reg = <0x0000 0 0 0 0>;
216 ieee80211-freq-limit = <5000000 6000000>;
218 nvmem-cells = <&eeprom_factory_8000>;
219 nvmem-cell-names = "eeprom";
225 groups = "uart2", "uart3", "wdt";