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 bootargs = "console=ttyS0,57600";
26 compatible = "gpio-keys";
30 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_WPS_BUTTON>;
36 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RFKILL>;
42 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RESTART>;
48 compatible = "gpio-leds";
51 label = "wac104:green:wps";
52 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
56 label = "wac104:green:power";
57 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
61 label = "wac104:green:wifi";
62 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
63 linux,default-trigger = "phy0tpt";
69 mtd-mac-address = <&factory 0x4>;
76 compatible = "fixed-partitions";
88 reg = <0x100000 0x100000>;
94 reg = <0x200000 0x400000>;
99 reg = <0x600000 0x1c00000>;
102 factory: partition@2e00000 {
104 reg = <0x2e00000 0x100000>;
110 reg = <0x4200000 0x3c00000>;
122 compatible = "mediatek,mt76";
124 mediatek,mtd-eeprom = <&factory 0x8000>;
125 ieee80211-freq-limit = <5000000 6000000>;
131 compatible = "mediatek,mt76";
133 mediatek,mtd-eeprom = <&factory 0x0>;
134 ieee80211-freq-limit = <2400000 2500000>;
140 groups = "uart3", "jtag", "wdt";