1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "netgear,eax12", "mediatek,mt7621-soc";
10 model = "Netgear EAX12";
13 led-boot = &led_power_green;
14 led-failsafe = &led_power_red;
15 led-running = &led_power_green;
16 led-upgrade = &led_power_red;
20 bootargs = "console=ttyS0,115200";
24 compatible = "gpio-keys";
28 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_RESTART>;
34 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_WPS_BUTTON>;
40 compatible = "gpio-leds";
42 led_power_green: power_green {
43 label = "green:power";
44 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
47 led_power_red: power_red {
49 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
53 label = "green:client";
54 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
59 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
63 label = "green:router";
64 gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
69 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
74 gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
79 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
84 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
93 compatible = "fixed-partitions";
105 reg = <0x80000 0x80000>;
109 factory: partition@100000 {
111 reg = <0x100000 0x80000>;
117 reg = <0x180000 0x3800000>;
119 compatible = "fixed-partitions";
120 #address-cells = <1>;
125 reg = <0x0 0x400000>;
130 reg = <0x400000 0x3400000>;
135 label = "firmware_backup";
136 reg = <0x3980000 0x3800000>;
142 reg = <0x7180000 0x200000>;
148 reg = <0x7380000 0x600000>;
154 reg = <0x7980000 0x020000>;
160 reg = <0x79A0000 0x40000>;
172 compatible = "mediatek,mt76";
173 reg = <0x0000 0 0 0 0>;
174 mediatek,mtd-eeprom = <&factory 0x0>;