3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "netis,wf2881", "mediatek,mt7621-soc";
8 model = "NETIS WF2881";
12 led-failsafe = &led_wps;
13 led-running = &led_wps;
14 led-upgrade = &led_wps;
15 label-mac-device = &gmac0;
19 compatible = "gpio-leds";
23 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
24 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
25 linux,default-trigger = "usbport";
30 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
35 compatible = "gpio-keys";
39 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
49 compatible = "fixed-partitions";
61 reg = <0x80000 0x80000>;
65 factory: partition@100000 {
67 reg = <0x100000 0x40000>;
71 compatible = "fixed-layout";
75 eeprom_factory_0: eeprom@0 {
79 eeprom_factory_8000: eeprom@8000 {
83 macaddr_factory_e000: macaddr@e000 {
87 macaddr_factory_e006: macaddr@e006 {
95 reg = <0x140000 0x7e40000>;
97 compatible = "fixed-partitions";
103 reg = <0x0 0x400000>;
108 reg = <0x400000 0x7a40000>;
120 compatible = "mediatek,mt76";
121 reg = <0x0000 0 0 0 0>;
122 nvmem-cells = <&eeprom_factory_8000>;
123 nvmem-cell-names = "eeprom";
124 ieee80211-freq-limit = <5000000 6000000>;
135 compatible = "mediatek,mt76";
136 reg = <0x0000 0 0 0 0>;
137 nvmem-cells = <&eeprom_factory_0>;
138 nvmem-cell-names = "eeprom";
139 ieee80211-freq-limit = <2400000 2500000>;
149 nvmem-cells = <&macaddr_factory_e000>;
150 nvmem-cell-names = "mac-address";
156 phy-handle = <ðphy4>;
158 nvmem-cells = <&macaddr_factory_e006>;
159 nvmem-cell-names = "mac-address";
163 ethphy4: ethernet-phy@4 {
194 groups = "uart3", "uart2";