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 device_type = "memory";
19 reg = <0x0 0x2000000>;
23 compatible = "gpio-keys-polled";
30 linux,code = <KEY_RESTART>;
31 gpios = <&ath9k 7 GPIO_ACTIVE_LOW>;
32 debounce-interval = <60>;
37 compatible = "gpio-leds";
39 label = "netgear:green:power";
40 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
44 label = "netgear:green:lan1";
45 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
49 label = "netgear:green:lan2";
50 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
54 label = "netgear:green:wan";
55 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
59 label = "netgear:green:wlan";
60 gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
61 default-state = "off";
62 linux,default-trigger = "phy0tpt";
74 compatible = "jedec,spi-nor";
76 spi-max-frequency = <25000000>;
79 compatible = "fixed-partitions";
90 reg = <0x40000 0x10000>;
95 reg = <0x50000 0x3a0000>;
100 reg = <0x3f0000 0x10000>;
111 phy-handle = <&phy4>;
113 mtd-mac-address = <&uboot 0x1fc00>;
114 mtd-mac-address-increment = <(-1)>;
120 mtd-mac-address = <&uboot 0x1fc00>;
121 mtd-mac-address-increment = <1>;
127 phy4: ethernet-phy@4 {
136 ath9k: wifi@168c,002b {
137 compatible = "pci168c,002b";
138 reg = <0x0000 0 0 0 0>;