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 {
110 compatible = "nvmem-cells";
112 reg = <0x100000 0x80000>;
113 #address-cells = <1>;
117 eeprom_factory_0: eeprom@0 {
124 reg = <0x180000 0x3800000>;
126 compatible = "fixed-partitions";
127 #address-cells = <1>;
132 reg = <0x0 0x400000>;
137 reg = <0x400000 0x3400000>;
142 label = "firmware_backup";
143 reg = <0x3980000 0x3800000>;
149 reg = <0x7180000 0x200000>;
155 reg = <0x7380000 0x600000>;
161 reg = <0x7980000 0x020000>;
167 reg = <0x79A0000 0x40000>;
179 compatible = "mediatek,mt76";
180 reg = <0x0000 0 0 0 0>;
181 nvmem-cells = <&eeprom_factory_0>;
182 nvmem-cell-names = "eeprom";