1 #include "qcom-ipq8064-v2.0-smb208.dtsi"
3 #include <dt-bindings/input/input.h>
6 model = "Netgear Nighthawk X4 R7500v2";
7 compatible = "netgear,r7500v2", "qcom,ipq8064";
10 reg = <0x42000000 0x1e000000>;
11 device_type = "memory";
16 reg = <0x5fe00000 0x200000>;
25 led-failsafe = &power;
31 bootargs = "rootfstype=squashfs noinitrd";
35 compatible = "gpio-keys";
36 pinctrl-0 = <&button_pins>;
37 pinctrl-names = "default";
41 gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_RFKILL>;
43 debounce-interval = <60>;
49 gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_RESTART>;
51 debounce-interval = <60>;
57 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_WPS_BUTTON>;
59 debounce-interval = <60>;
65 compatible = "gpio-leds";
66 pinctrl-0 = <&led_pins>;
67 pinctrl-names = "default";
71 gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
76 gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
80 label = "amber:status";
81 gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
85 label = "white:internet";
86 gpios = <&qcom_pinmux 22 GPIO_ACTIVE_HIGH>;
91 gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>;
96 gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>;
100 label = "white:esata";
101 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>;
105 label = "white:power";
106 gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
107 default-state = "keep";
111 label = "white:wifi";
112 gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>;
122 button_pins: button_pins {
124 pins = "gpio6", "gpio54", "gpio65";
126 drive-strength = <2>;
133 pins = "gpio7", "gpio8", "gpio9", "gpio22", "gpio23",
134 "gpio24","gpio26", "gpio53", "gpio64";
136 drive-strength = <2>;
141 usb0_pwr_en_pins: usb0_pwr_en_pins {
145 drive-strength = <12>;
151 usb1_pwr_en_pins: usb1_pwr_en_pins {
153 pins = "gpio16", "gpio68";
155 drive-strength = <12>;
181 pinctrl-0 = <&usb0_pwr_en_pins>;
182 pinctrl-names = "default";
196 pinctrl-0 = <&usb1_pwr_en_pins>;
197 pinctrl-names = "default";
202 reset-gpio = <&qcom_pinmux 3 GPIO_ACTIVE_LOW>;
203 pinctrl-0 = <&pcie0_pins>;
204 pinctrl-names = "default";
207 reg = <0x00000000 0 0 0 0>;
208 #address-cells = <3>;
213 compatible = "pci168c,0040";
214 reg = <0x00010000 0 0 0 0>;
216 nvmem-cells = <&macaddr_art_6>, <&precal_art_1000>;
217 nvmem-cell-names = "mac-address", "pre-calibration";
218 mac-address-increment = <(1)>;
225 reset-gpio = <&qcom_pinmux 48 GPIO_ACTIVE_LOW>;
226 pinctrl-0 = <&pcie1_pins>;
227 pinctrl-names = "default";
228 max-link-speed = <1>;
231 reg = <0x00000000 0 0 0 0>;
232 #address-cells = <3>;
237 compatible = "pci168c,0040";
238 reg = <0x00010000 0 0 0 0>;
240 nvmem-cells = <&macaddr_art_6>, <&precal_art_5000>;
241 nvmem-cell-names = "mac-address", "pre-calibration";
242 mac-address-increment = <(2)>;
252 compatible = "qcom,nandcs";
254 nand-ecc-strength = <4>;
255 nand-bus-width = <8>;
256 nand-ecc-step-size = <512>;
259 qcom,boot-partitions = <0x0 0x1180000>;
262 compatible = "fixed-partitions";
263 #address-cells = <1>;
268 reg = <0x0000000 0x0c80000>;
274 reg = <0x0c80000 0x0500000>;
280 reg = <0x1180000 0x0080000>;
286 reg = <0x1200000 0x0140000>;
288 compatible = "nvmem-cells";
289 #address-cells = <1>;
292 macaddr_art_0: macaddr@0 {
296 macaddr_art_6: macaddr@6 {
300 precal_art_1000: precal@1000 {
301 reg = <0x1000 0x2f20>;
304 precal_art_5000: precal@5000 {
305 reg = <0x5000 0x2f20>;
309 artbak: art@1340000 {
311 reg = <0x1340000 0x0140000>;
317 reg = <0x1480000 0x0400000>;
322 reg = <0x1880000 0x6080000>;
327 reg = <0x7900000 0x0700000>;
337 pinctrl-0 = <&mdio0_pins>;
338 pinctrl-names = "default";
341 compatible = "qca,qca8337";
342 #address-cells = <1>;
347 #address-cells = <1>;
355 tx-internal-delay-ps = <1000>;
356 rx-internal-delay-ps = <1000>;
367 phy-mode = "internal";
368 phy-handle = <&phy_port1>;
374 phy-mode = "internal";
375 phy-handle = <&phy_port2>;
381 phy-mode = "internal";
382 phy-handle = <&phy_port3>;
388 phy-mode = "internal";
389 phy-handle = <&phy_port4>;
395 phy-mode = "internal";
396 phy-handle = <&phy_port5>;
404 qca,sgmii-enable-pll;
414 #address-cells = <1>;
445 pinctrl-0 = <&rgmii2_pins>;
446 pinctrl-names = "default";
448 nvmem-cells = <&macaddr_art_6>;
449 nvmem-cell-names = "mac-address";
462 nvmem-cells = <&macaddr_art_0>;
463 nvmem-cell-names = "mac-address";