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,wnpr2600g", "mediatek,mt7621-soc";
10 model = "I-O DATA WNPR2600G";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-leds";
23 label = "wnpr2600g:green:power";
24 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
29 label = "wnpr2600g:green:notification";
30 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
34 label = "wnpr2600g:green:wlan2g";
35 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
36 linux,default-trigger = "phy0radio";
40 label = "wnpr2600g:green:wlan5g";
41 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
42 linux,default-trigger = "phy1radio";
47 compatible = "gpio-keys";
51 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
53 linux,input-type = <EV_SW>;
58 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_RESTART>;
64 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
65 linux,code = <KEY_WPS_BUTTON>;
74 compatible = "jedec,spi-nor";
76 spi-max-frequency = <40000000>;
79 compatible = "fixed-partitions";
85 reg = <0x000000 0x030000>;
91 reg = <0x030000 0x010000>;
95 factory: partition@40000 {
97 reg = <0x040000 0x010000>;
102 compatible = "denx,uimage";
104 reg = <0x050000 0xda0000>;
108 label = "manufacture";
109 reg = <0xdf0000 0x190000>;
115 reg = <0xf80000 0x080000>;
123 mtd-mac-address = <&factory 0x4>;
157 groups = "uart2", "uart3", "jtag", "wdt";
168 compatible = "mediatek,mt76";
169 reg = <0x0000 0 0 0 0>;
170 mediatek,mtd-eeprom = <&factory 0x0>;
171 ieee80211-freq-limit = <2400000 2500000>;
177 compatible = "mediatek,mt76";
178 reg = <0x0000 0 0 0 0>;
179 mediatek,mtd-eeprom = <&factory 0x8000>;
180 ieee80211-freq-limit = <5000000 6000000>;