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,wnr1000-v2", "qca,ar7240";
10 model = "Netgear WNR1000 v2";
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-polled";
30 linux,code = <KEY_WPS_BUTTON>;
31 gpios = <&ath9k 6 GPIO_ACTIVE_LOW>;
32 debounce-interval = <60>;
37 linux,code = <KEY_RESTART>;
38 gpios = <&ath9k 7 GPIO_ACTIVE_LOW>;
39 debounce-interval = <60>;
44 linux,code = <KEY_RFKILL>;
45 gpios = <&ath9k 8 GPIO_ACTIVE_LOW>;
46 debounce-interval = <60>;
51 compatible = "gpio-leds";
53 pinctrl-names = "default";
54 pinctrl-0 = <&jtag_disable_pins &switch_led_disable_pins &clks_disable_pins>;
56 led_power_green: power_green {
57 label = "green:power";
58 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
61 led_power_amber: power_amber {
62 label = "amber:power";
63 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
64 default-state = "keep";
69 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
74 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
79 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
84 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
89 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
94 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
99 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
103 label = "amber:lan3";
104 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
108 label = "green:lan4";
109 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
113 label = "amber:lan4";
114 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
119 compatible = "gpio-leds";
123 gpios = <&ath9k 5 GPIO_ACTIVE_LOW>;
128 gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
129 linux,default-trigger = "phy0tpt";
138 compatible = "jedec,spi-nor";
140 spi-max-frequency = <25000000>;
143 compatible = "fixed-partitions";
144 #address-cells = <1>;
154 label = "u-boot-env";
155 reg = <0x40000 0x10000>;
160 reg = <0x50000 0x3a0000>;
161 compatible = "netgear,uimage";
164 art: partition@3f0000 {
166 reg = <0x3f0000 0x10000>;
174 mtd-mac-address = <&art 0x0>;
180 mtd-mac-address = <&art 0x6>;
187 compatible = "pci168c,002b";
188 reg = <0x0000 0 0 0 0>;
189 mtd-mac-address = <&art 0x0>;
190 mtd-mac-address-increment = <1>;