1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 compatible = "netgear,wnr612-v2", "qca,ar7240";
11 model = "Netgear WNR612 V2";
14 led-status = &led_power;
18 compatible = "gpio-keys-polled";
25 linux,code = <KEY_RESTART>;
26 gpios = <&ath9k 7 GPIO_ACTIVE_LOW>;
27 debounce-interval = <60>;
32 compatible = "gpio-leds";
34 label = "netgear:green:power";
35 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
39 label = "netgear:green:lan1";
40 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
44 label = "netgear:green:lan2";
45 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
49 label = "netgear:green:wan";
50 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
54 label = "netgear:green:wlan";
55 gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
56 default-state = "off";
57 linux,default-trigger = "phy0tpt";
69 compatible = "jedec,spi-nor";
71 spi-max-frequency = <25000000>;
74 compatible = "fixed-partitions";
85 reg = <0x40000 0x10000>;
90 reg = <0x50000 0x3a0000>;
95 reg = <0x3f0000 0x10000>;
106 mtd-mac-address = <&uboot 0x1fc00>;
107 mtd-mac-address-increment = <(-1)>;
113 mtd-mac-address = <&uboot 0x1fc00>;
114 mtd-mac-address-increment = <1>;
120 ath9k: wifi@168c,002b {
121 compatible = "pci168c,002b";
122 reg = <0x0000 0 0 0 0>;