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>
7 #include <dt-bindings/leds/common.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 function = LED_FUNCTION_POWER;
25 color = <LED_COLOR_ID_GREEN>;
26 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
31 label = "green:notification";
32 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
36 label = "green:wlan2g";
37 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
38 linux,default-trigger = "phy0radio";
42 label = "green:wlan5g";
43 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
44 linux,default-trigger = "phy1radio";
49 compatible = "gpio-keys";
53 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
55 linux,input-type = <EV_SW>;
60 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
61 linux,code = <KEY_RESTART>;
66 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
67 linux,code = <KEY_WPS_BUTTON>;
76 compatible = "jedec,spi-nor";
78 spi-max-frequency = <40000000>;
81 compatible = "fixed-partitions";
87 reg = <0x000000 0x030000>;
93 reg = <0x030000 0x010000>;
99 reg = <0x040000 0x010000>;
103 compatible = "fixed-layout";
104 #address-cells = <1>;
107 eeprom_factory_0: eeprom@0 {
111 eeprom_factory_8000: eeprom@8000 {
112 reg = <0x8000 0x4da8>;
115 macaddr_factory_4: macaddr@4 {
122 compatible = "denx,uimage";
124 reg = <0x050000 0xda0000>;
128 label = "manufacture";
129 reg = <0xdf0000 0x190000>;
135 reg = <0xf80000 0x080000>;
143 nvmem-cells = <&macaddr_factory_4>;
144 nvmem-cell-names = "mac-address";
150 phy-handle = <ðphy0>;
152 nvmem-cells = <&macaddr_factory_4>;
153 nvmem-cell-names = "mac-address";
157 /delete-property/ interrupts;
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>;