1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
10 compatible = "iodata,wnpr2600g", "mediatek,mt7621-soc";
11 model = "I-O DATA WNPR2600G";
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 = "wnpr2600g:green:power";
25 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
30 label = "wnpr2600g:green:notification";
31 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
35 label = "wnpr2600g:green:wlan2g";
36 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
37 linux,default-trigger = "phy0radio";
41 label = "wnpr2600g:green:wlan5g";
42 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
43 linux,default-trigger = "phy1radio";
48 compatible = "gpio-keys";
52 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
54 linux,input-type = <EV_SW>;
59 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
60 linux,code = <KEY_RESTART>;
65 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
66 linux,code = <KEY_WPS_BUTTON>;
75 compatible = "jedec,spi-nor";
77 spi-max-frequency = <40000000>;
80 compatible = "fixed-partitions";
86 reg = <0x000000 0x030000>;
92 reg = <0x030000 0x010000>;
96 factory: partition@40000 {
98 reg = <0x040000 0x010000>;
103 compatible = "denx,uimage";
105 reg = <0x050000 0xda0000>;
109 label = "manufacture";
110 reg = <0xdf0000 0x190000>;
116 reg = <0xf80000 0x080000>;
124 mtd-mac-address = <&factory 0x4>;
158 groups = "uart2", "uart3", "jtag", "wdt";
169 compatible = "mediatek,mt76";
170 reg = <0x0000 0 0 0 0>;
171 mediatek,mtd-eeprom = <&factory 0x0>;
172 ieee80211-freq-limit = <2400000 2500000>;
178 compatible = "mediatek,mt76";
179 reg = <0x0000 0 0 0 0>;
180 mediatek,mtd-eeprom = <&factory 0x8000>;
181 ieee80211-freq-limit = <5000000 6000000>;