1 #include "qcom-ipq8064-v2.0-smb208.dtsi"
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
7 model = "Netgear Nighthawk X4 R7500v2";
8 compatible = "netgear,r7500v2", "qcom,ipq8064";
11 reg = <0x42000000 0x1e000000>;
12 device_type = "memory";
17 reg = <0x5fe00000 0x200000>;
26 led-failsafe = &power;
32 bootargs = "rootfstype=squashfs noinitrd";
36 compatible = "gpio-keys";
37 pinctrl-0 = <&button_pins>;
38 pinctrl-names = "default";
42 gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RFKILL>;
44 debounce-interval = <60>;
50 gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
52 debounce-interval = <60>;
58 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_WPS_BUTTON>;
60 debounce-interval = <60>;
66 compatible = "gpio-leds";
67 pinctrl-0 = <&led_pins>;
68 pinctrl-names = "default";
72 gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
77 gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
81 function = LED_FUNCTION_STATUS;
82 color = <LED_COLOR_ID_AMBER>;
83 gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
87 label = "white:internet";
88 gpios = <&qcom_pinmux 22 GPIO_ACTIVE_HIGH>;
92 function = LED_FUNCTION_WAN;
93 color = <LED_COLOR_ID_WHITE>;
94 gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>;
98 function = LED_FUNCTION_WPS;
99 color = <LED_COLOR_ID_WHITE>;
100 gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>;
104 label = "white:esata";
105 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>;
109 function = LED_FUNCTION_POWER;
110 color = <LED_COLOR_ID_WHITE>;
111 gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
112 default-state = "keep";
116 label = "white:wifi";
117 gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>;
127 button_pins: button_pins {
129 pins = "gpio6", "gpio54", "gpio65";
131 drive-strength = <2>;
138 pins = "gpio7", "gpio8", "gpio9", "gpio22", "gpio23",
139 "gpio24","gpio26", "gpio53", "gpio64";
141 drive-strength = <2>;
146 usb0_pwr_en_pins: usb0_pwr_en_pins {
150 drive-strength = <12>;
156 usb1_pwr_en_pins: usb1_pwr_en_pins {
158 pins = "gpio16", "gpio68";
160 drive-strength = <12>;
186 pinctrl-0 = <&usb0_pwr_en_pins>;
187 pinctrl-names = "default";
201 pinctrl-0 = <&usb1_pwr_en_pins>;
202 pinctrl-names = "default";
207 reset-gpios = <&qcom_pinmux 3 GPIO_ACTIVE_LOW>;
208 pinctrl-0 = <&pcie0_pins>;
209 pinctrl-names = "default";
212 reg = <0x00000000 0 0 0 0>;
213 #address-cells = <3>;
218 compatible = "pci168c,0040";
219 reg = <0x00010000 0 0 0 0>;
221 nvmem-cells = <&macaddr_art_6 1>, <&precal_art_1000>;
222 nvmem-cell-names = "mac-address", "pre-calibration";
229 reset-gpios = <&qcom_pinmux 48 GPIO_ACTIVE_LOW>;
230 pinctrl-0 = <&pcie1_pins>;
231 pinctrl-names = "default";
232 max-link-speed = <1>;
235 reg = <0x00000000 0 0 0 0>;
236 #address-cells = <3>;
241 compatible = "pci168c,0040";
242 reg = <0x00010000 0 0 0 0>;
244 nvmem-cells = <&macaddr_art_6 2>, <&precal_art_5000>;
245 nvmem-cell-names = "mac-address", "pre-calibration";
255 compatible = "qcom,nandcs";
257 nand-ecc-strength = <4>;
258 nand-bus-width = <8>;
259 nand-ecc-step-size = <512>;
262 qcom,boot-partitions = <0x0 0x1180000>;
265 compatible = "fixed-partitions";
266 #address-cells = <1>;
271 reg = <0x0000000 0x0c80000>;
277 reg = <0x0c80000 0x0500000>;
283 reg = <0x1180000 0x0080000>;
289 reg = <0x1200000 0x0140000>;
293 compatible = "fixed-layout";
294 #address-cells = <1>;
297 macaddr_art_0: macaddr@0 {
301 macaddr_art_6: macaddr@6 {
302 compatible = "mac-base";
304 #nvmem-cell-cells = <1>;
307 precal_art_1000: precal@1000 {
308 reg = <0x1000 0x2f20>;
311 precal_art_5000: precal@5000 {
312 reg = <0x5000 0x2f20>;
317 artbak: art@1340000 {
319 reg = <0x1340000 0x0140000>;
325 reg = <0x1480000 0x0400000>;
330 reg = <0x1880000 0x6080000>;
335 reg = <0x7900000 0x0700000>;
345 pinctrl-0 = <&mdio0_pins>;
346 pinctrl-names = "default";
349 compatible = "qca,qca8337";
350 #address-cells = <1>;
355 #address-cells = <1>;
363 tx-internal-delay-ps = <1000>;
364 rx-internal-delay-ps = <1000>;
375 phy-mode = "internal";
376 phy-handle = <&phy_port1>;
382 phy-mode = "internal";
383 phy-handle = <&phy_port2>;
389 phy-mode = "internal";
390 phy-handle = <&phy_port3>;
396 phy-mode = "internal";
397 phy-handle = <&phy_port4>;
403 phy-mode = "internal";
404 phy-handle = <&phy_port5>;
412 qca,sgmii-enable-pll;
422 #address-cells = <1>;
453 pinctrl-0 = <&rgmii2_pins>;
454 pinctrl-names = "default";
456 nvmem-cells = <&macaddr_art_6 0>;
457 nvmem-cell-names = "mac-address";
470 nvmem-cells = <&macaddr_art_0>;
471 nvmem-cell-names = "mac-address";