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 {
85 reg = <0x200000 0x200000>;
90 reg = <0x400000 0x400000>;
95 reg = <0x800000 0x2e00000>;
100 reg = <0x3600000 0x100000>;
105 label = "firmware_2";
106 reg = <0x3700000 0x3200000>;
111 reg = <0x6900000 0x100000>;
117 reg = <0x6a00000 0x100000>;
122 reg = <0x6b00000 0x100000>;
128 reg = <0x6c00000 0x1380000>;
135 nvmem-cells = <&macaddr_factory_1e000>;
136 nvmem-cell-names = "mac-address";
142 phy-handle = <ðphy0>;
144 nvmem-cells = <&macaddr_factory_1e006>;
145 nvmem-cell-names = "mac-address";
149 ethphy0: ethernet-phy@0 {
184 compatible = "mediatek,mt76";
185 reg = <0x0000 0 0 0 0>;
187 mediatek,mtd-eeprom = <&factory 0x0>;
188 ieee80211-freq-limit = <2400000 2500000>;
194 compatible = "mediatek,mt76";
195 reg = <0x0000 0 0 0 0>;
197 mediatek,mtd-eeprom = <&factory 0x8000>;
198 ieee80211-freq-limit = <5000000 6000000>;
204 groups = "uart2", "uart3", "wdt";
214 compatible = "nvmem-cells";
215 #address-cells = <1>;
218 macaddr_factory_1e000: macaddr@1e000 {
222 macaddr_factory_1e006: macaddr@1e006 {