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,wnr2000-v3", "qca,ar7241";
10 model = "Netgear WNR2000 v3";
13 bootargs = "console=ttyS0,115200n8";
17 led-boot = &led_power_amber;
18 led-failsafe = &led_power_amber;
19 led-running = &led_power_green;
20 led-upgrade = &led_power_amber;
21 label-mac-device = ð1;
25 compatible = "gpio-keys";
29 linux,code = <KEY_WPS_BUTTON>;
30 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
35 compatible = "gpio-keys-polled";
40 linux,code = <KEY_RESTART>;
41 gpios = <&ath9k 8 GPIO_ACTIVE_LOW>;
42 debounce-interval = <60>;
47 linux,code = <KEY_RFKILL>;
48 gpios = <&ath9k 9 GPIO_ACTIVE_LOW>;
49 debounce-interval = <60>;
54 compatible = "gpio-leds";
56 pinctrl-names = "default";
57 pinctrl-0 = <&jtag_disable_pins &switch_led_disable_pins &clks_disable_pins>;
61 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
66 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
71 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
76 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
81 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
86 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
91 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
96 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
100 label = "green:lan4";
101 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
105 label = "amber:lan4";
106 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
111 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
116 compatible = "gpio-leds";
118 led_power_green: power_green {
119 label = "green:power";
120 gpios = <&ath9k 3 GPIO_ACTIVE_LOW>;
123 led_power_amber: power_amber {
124 label = "amber:power";
125 gpios = <&ath9k 2 GPIO_ACTIVE_LOW>;
126 default-state = "keep";
131 gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
132 linux,default-trigger = "phy0tpt";
141 compatible = "jedec,spi-nor";
143 spi-max-frequency = <25000000>;
146 compatible = "fixed-partitions";
147 #address-cells = <1>;
157 label = "u-boot-env";
158 reg = <0x40000 0x10000>;
163 reg = <0x50000 0x3a0000>;
164 compatible = "netgear,uimage";
167 art: partition@3f0000 {
169 reg = <0x3f0000 0x10000>;
179 mtd-mac-address = <&art 0x0>;
183 compatible = "qca,ar7241-eth", "syscon", "simple-mfd";
185 mtd-mac-address = <&art 0x6>;
192 compatible = "pci168c,002e";
193 reg = <0x0000 0 0 0 0>;
194 mtd-mac-address = <&art 0x0>;
195 mtd-mac-address-increment = <1>;