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>;
73 reg = <0x140000 0x7e40000>;
75 compatible = "fixed-partitions";
86 reg = <0x400000 0x7a40000>;
98 compatible = "mediatek,mt76";
99 reg = <0x0000 0 0 0 0>;
100 mediatek,mtd-eeprom = <&factory 0x8000>;
101 ieee80211-freq-limit = <5000000 6000000>;
112 compatible = "mediatek,mt76";
113 reg = <0x0000 0 0 0 0>;
114 mediatek,mtd-eeprom = <&factory 0x0000>;
115 ieee80211-freq-limit = <2400000 2500000>;
125 nvmem-cells = <&macaddr_factory_e000>;
126 nvmem-cell-names = "mac-address";
132 phy-handle = <ðphy4>;
134 nvmem-cells = <&macaddr_factory_e006>;
135 nvmem-cell-names = "mac-address";
139 ethphy4: ethernet-phy@4 {
170 groups = "uart3", "uart2";
176 compatible = "nvmem-cells";
177 #address-cells = <1>;
180 macaddr_factory_e000: macaddr@e000 {
184 macaddr_factory_e006: macaddr@e006 {