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 = "green:power";
24 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
29 label = "green:notification";
30 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
34 label = "green:wlan2g";
35 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
36 linux,default-trigger = "phy0radio";
40 label = "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>;
101 compatible = "fixed-layout";
102 #address-cells = <1>;
105 eeprom_factory_0: eeprom@0 {
109 eeprom_factory_8000: eeprom@8000 {
110 reg = <0x8000 0x4da8>;
113 macaddr_factory_4: macaddr@4 {
120 compatible = "denx,uimage";
122 reg = <0x050000 0xda0000>;
126 label = "manufacture";
127 reg = <0xdf0000 0x190000>;
133 reg = <0xf80000 0x080000>;
141 nvmem-cells = <&macaddr_factory_4>;
142 nvmem-cell-names = "mac-address";
148 phy-handle = <ðphy0>;
150 nvmem-cells = <&macaddr_factory_4>;
151 nvmem-cell-names = "mac-address";
155 ethphy0: ethernet-phy@0 {
186 groups = "uart2", "uart3", "jtag", "wdt";
197 compatible = "mediatek,mt76";
198 reg = <0x0000 0 0 0 0>;
199 nvmem-cells = <&eeprom_factory_0>;
200 nvmem-cell-names = "eeprom";
201 ieee80211-freq-limit = <2400000 2500000>;
207 compatible = "mediatek,mt76";
208 reg = <0x0000 0 0 0 0>;
209 nvmem-cells = <&eeprom_factory_8000>;
210 nvmem-cell-names = "eeprom";
211 ieee80211-freq-limit = <5000000 6000000>;