1 // SPDX-License-Identifier: GPL-2.0-only or MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "netgear,wac104", "mediatek,mt7621-soc";
10 model = "Netgear WAC104";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
17 label-mac-device = &gmac0;
21 compatible = "gpio-keys";
25 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
26 linux,code = <KEY_WPS_BUTTON>;
31 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_RFKILL>;
37 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_RESTART>;
43 compatible = "gpio-leds";
47 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
51 label = "green:power";
52 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
57 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
58 linux,default-trigger = "phy0tpt";
64 nvmem-cells = <&macaddr_factory_4>;
65 nvmem-cell-names = "mac-address";
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";
144 phy-handle = <ðphy0>;
146 nvmem-cells = <&macaddr_factory_4>;
147 nvmem-cell-names = "mac-address";
151 ethphy0: ethernet-phy@0 {
180 compatible = "nvmem-cells";
181 #address-cells = <1>;
184 macaddr_factory_4: macaddr@4 {