3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "netis,wf2881", "mediatek,mt7621-soc";
9 model = "NETIS WF2881";
13 led-failsafe = &led_wps;
14 led-running = &led_wps;
15 led-upgrade = &led_wps;
16 label-mac-device = &gmac0;
20 compatible = "gpio-leds";
23 function = LED_FUNCTION_USB;
24 color = <LED_COLOR_ID_GREEN>;
25 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
26 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
27 linux,default-trigger = "usbport";
31 function = LED_FUNCTION_WPS;
32 color = <LED_COLOR_ID_GREEN>;
33 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
38 compatible = "gpio-keys";
42 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RESTART>;
52 compatible = "fixed-partitions";
64 reg = <0x80000 0x80000>;
70 reg = <0x100000 0x40000>;
74 compatible = "fixed-layout";
78 eeprom_factory_0: eeprom@0 {
82 eeprom_factory_8000: eeprom@8000 {
86 macaddr_factory_e000: macaddr@e000 {
90 macaddr_factory_e006: macaddr@e006 {
98 reg = <0x140000 0x7e40000>;
100 compatible = "fixed-partitions";
101 #address-cells = <1>;
106 reg = <0x0 0x400000>;
111 reg = <0x400000 0x7a40000>;
123 compatible = "mediatek,mt76";
124 reg = <0x0000 0 0 0 0>;
125 nvmem-cells = <&eeprom_factory_8000>;
126 nvmem-cell-names = "eeprom";
127 ieee80211-freq-limit = <5000000 6000000>;
138 compatible = "mediatek,mt76";
139 reg = <0x0000 0 0 0 0>;
140 nvmem-cells = <&eeprom_factory_0>;
141 nvmem-cell-names = "eeprom";
142 ieee80211-freq-limit = <2400000 2500000>;
152 nvmem-cells = <&macaddr_factory_e000>;
153 nvmem-cell-names = "mac-address";
159 phy-handle = <ðphy4>;
161 nvmem-cells = <&macaddr_factory_e006>;
162 nvmem-cell-names = "mac-address";
166 ethphy4: ethernet-phy@4 {
197 groups = "uart3", "uart2";