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,wndr3800", "qca,ar7161";
11 model = "Netgear WNDR3800";
14 device_type = "memory";
15 reg = <0x0 0x8000000>;
19 compatible = "fixed-clock";
21 clock-output-names = "ref";
22 clock-frequency = <40000000>;
26 compatible = "reset-leds";
29 label = "netgear:green:usb";
35 compatible = "gpio-leds";
38 label = "netgear:orange:wps";
39 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
40 default-state = "off";
44 label = "netgear:green:power";
45 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
46 default-state = "off";
50 label = "netgear:orange:power";
51 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
52 default-state = "off";
56 label = "netgear:green:wps";
57 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
58 default-state = "off";
62 label = "netgear:green:wan";
63 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
64 default-state = "off";
69 compatible = "gpio-keys-polled";
72 poll-interval = <100>;
76 linux,code = <KEY_WPS_BUTTON>;
77 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
82 linux,code = <KEY_RESTART>;
83 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
89 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
94 compatible = "realtek,rtl8366s";
95 gpio-sda = <&gpio 5 GPIO_ACTIVE_HIGH>;
96 gpio-sck = <&gpio 7 GPIO_ACTIVE_HIGH>;
103 phy4: ethernet-phy@4 {
136 #address-cells = <1>;
138 compatible = "mx25l12805d";
140 spi-max-frequency = <25000000>;
143 compatible = "fixed-partitions";
144 #address-cells = <1>;
149 reg = <0x000000 0x050000>;
154 label = "u-boot-env";
155 reg = <0x050000 0x020000>;
160 reg = <0x70000 0xf80000>;
165 reg = <0xff0000 0x010000>;
175 pll-data = <0x11110000 0x00001099 0x00991099>;
186 pll-data = <0x11110000 0x00001099 0x00991099>;
191 phy-handle = <&phy4>;