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 bootargs = "console=ttyS0,57600";
25 compatible = "gpio-leds";
28 label = "wnpr2600g:green:power";
29 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
34 label = "wnpr2600g:green:notification";
35 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
39 label = "wnpr2600g:green:wlan2g";
40 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
41 linux,default-trigger = "phy0radio";
45 label = "wnpr2600g:green:wlan5g";
46 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
47 linux,default-trigger = "phy1radio";
52 compatible = "gpio-keys";
56 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
58 linux,input-type = <EV_SW>;
63 gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
64 linux,code = <KEY_RESTART>;
69 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
70 linux,code = <KEY_WPS_BUTTON>;
79 compatible = "jedec,spi-nor";
81 spi-max-frequency = <40000000>;
84 compatible = "fixed-partitions";
90 reg = <0x000000 0x030000>;
96 reg = <0x030000 0x010000>;
100 factory: partition@40000 {
102 reg = <0x040000 0x010000>;
107 compatible = "denx,uimage";
109 reg = <0x050000 0xda0000>;
113 label = "manufacture";
114 reg = <0xdf0000 0x190000>;
120 reg = <0xf80000 0x080000>;
128 mtd-mac-address = <&factory 0x4>;
129 mediatek,portmap = "wllll";
133 state_default: pinctrl0 {
135 ralink,group = "uart2", "uart3", "jtag", "wdt";
136 ralink,function = "gpio";
147 compatible = "mediatek,mt76";
148 reg = <0x0000 0 0 0 0>;
149 mediatek,mtd-eeprom = <&factory 0x0>;
150 ieee80211-freq-limit = <2400000 2500000>;
156 compatible = "mediatek,mt76";
157 reg = <0x0000 0 0 0 0>;
158 mediatek,mtd-eeprom = <&factory 0x8000>;
159 ieee80211-freq-limit = <5000000 6000000>;