1 // SPDX-License-Identifier: GPL-2.0 or MIT
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
10 compatible = "netgear,wac104", "mediatek,mt7621-soc";
11 model = "Netgear WAC104";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
18 label-mac-device = &gmac0;
22 compatible = "gpio-keys";
26 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
27 linux,code = <KEY_WPS_BUTTON>;
32 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_RFKILL>;
38 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
44 compatible = "gpio-leds";
47 label = "wac104:green:wps";
48 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
52 label = "wac104:green:power";
53 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
57 label = "wac104:green:wifi";
58 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
59 linux,default-trigger = "phy0tpt";
65 mtd-mac-address = <&factory 0x4>;
72 compatible = "fixed-partitions";
84 reg = <0x100000 0x100000>;
90 reg = <0x200000 0x400000>;
95 reg = <0x600000 0x1c00000>;
98 factory: partition@2e00000 {
100 reg = <0x2e00000 0x100000>;
106 reg = <0x4200000 0x3c00000>;
118 compatible = "mediatek,mt76";
120 mediatek,mtd-eeprom = <&factory 0x8000>;
121 ieee80211-freq-limit = <5000000 6000000>;
127 compatible = "mediatek,mt76";
129 mediatek,mtd-eeprom = <&factory 0x0>;
130 ieee80211-freq-limit = <2400000 2500000>;
136 groups = "uart3", "jtag", "wdt";