1 #include "qcom-ipq8064-v2.0.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>;
173 pinctrl-0 = <&usb0_pwr_en_pins>;
174 pinctrl-names = "default";
180 pinctrl-0 = <&usb1_pwr_en_pins>;
181 pinctrl-names = "default";
186 reset-gpio = <&qcom_pinmux 3 GPIO_ACTIVE_LOW>;
187 pinctrl-0 = <&pcie0_pins>;
188 pinctrl-names = "default";
193 reset-gpio = <&qcom_pinmux 48 GPIO_ACTIVE_LOW>;
194 pinctrl-0 = <&pcie1_pins>;
195 pinctrl-names = "default";
196 max-link-speed = <1>;
202 pinctrl-0 = <&nand_pins>;
203 pinctrl-names = "default";
207 compatible = "qcom,nandcs";
209 nand-ecc-strength = <4>;
210 nand-bus-width = <8>;
211 nand-ecc-step-size = <512>;
214 qcom,boot_pages_size = <0x1180000>;
217 compatible = "fixed-partitions";
218 #address-cells = <1>;
223 reg = <0x0000000 0x0c80000>;
229 reg = <0x0c80000 0x0500000>;
235 reg = <0x1180000 0x0080000>;
241 reg = <0x1200000 0x0140000>;
245 artbak: art@1340000 {
247 reg = <0x1340000 0x0140000>;
253 reg = <0x1480000 0x0400000>;
258 reg = <0x1880000 0x6080000>;
263 reg = <0x7900000 0x0700000>;
273 pinctrl-0 = <&mdio0_pins>;
274 pinctrl-names = "default";
276 phy0: ethernet-phy@0 {
278 qca,ar8327-initvals = <
279 0x00004 0x7600000 /* PAD0_MODE */
280 0x00008 0x1000000 /* PAD5_MODE */
281 0x0000c 0x80 /* PAD6_MODE */
282 0x000e4 0xaa545 /* MAC_POWER_SEL */
283 0x000e0 0xc74164de /* SGMII_CTRL */
284 0x0007c 0x4e /* PORT0_STATUS */
285 0x00094 0x4e /* PORT6_STATUS */
289 phy4: ethernet-phy@4 {
299 pinctrl-0 = <&rgmii2_pins>;
300 pinctrl-names = "default";
302 mtd-mac-address = <&art 6>;
315 mtd-mac-address = <&art 0>;