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";
15 led-failsafe = &power;
21 compatible = "gpio-keys-polled";
26 linux,code = <KEY_RESTART>;
27 gpios = <&ath9k 7 GPIO_ACTIVE_LOW>;
28 debounce-interval = <60>;
33 compatible = "gpio-leds";
35 label = "netgear:green:power";
36 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
40 label = "netgear:green:lan1";
41 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
45 label = "netgear:green:lan2";
46 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
50 label = "netgear:green:wan";
51 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
55 label = "netgear:green:wlan";
56 gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
57 default-state = "off";
58 linux,default-trigger = "phy0tpt";
68 compatible = "jedec,spi-nor";
70 spi-max-frequency = <25000000>;
73 compatible = "fixed-partitions";
84 reg = <0x40000 0x10000>;
89 reg = <0x50000 0x3a0000>;
94 reg = <0x3f0000 0x10000>;
105 mtd-mac-address = <&uboot 0x1fc00>;
106 mtd-mac-address-increment = <(-1)>;
112 mtd-mac-address = <&uboot 0x1fc00>;
113 mtd-mac-address-increment = <1>;
120 compatible = "pci168c,002b";
121 reg = <0x0000 0 0 0 0>;