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>;
47 gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_RESTART>;
53 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_WPS_BUTTON>;
59 compatible = "gpio-leds";
60 pinctrl-0 = <&led_pins>;
61 pinctrl-names = "default";
65 gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
70 gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
74 label = "amber:status";
75 gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
79 label = "white:internet";
80 gpios = <&qcom_pinmux 22 GPIO_ACTIVE_HIGH>;
85 gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>;
90 gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>;
94 label = "white:esata";
95 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>;
99 label = "white:power";
100 gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
101 default-state = "keep";
105 label = "white:wifi";
106 gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>;
116 button_pins: button_pins {
118 pins = "gpio6", "gpio54", "gpio65";
120 drive-strength = <2>;
127 pins = "gpio7", "gpio8", "gpio9", "gpio22", "gpio23",
128 "gpio24","gpio26", "gpio53", "gpio64";
130 drive-strength = <2>;
135 usb0_pwr_en_pins: usb0_pwr_en_pins {
139 drive-strength = <12>;
145 usb1_pwr_en_pins: usb1_pwr_en_pins {
147 pins = "gpio16", "gpio68";
149 drive-strength = <12>;
167 pinctrl-0 = <&usb0_pwr_en_pins>;
168 pinctrl-names = "default";
174 pinctrl-0 = <&usb1_pwr_en_pins>;
175 pinctrl-names = "default";
180 reset-gpio = <&qcom_pinmux 3 GPIO_ACTIVE_LOW>;
181 pinctrl-0 = <&pcie0_pins>;
182 pinctrl-names = "default";
187 reset-gpio = <&qcom_pinmux 48 GPIO_ACTIVE_LOW>;
188 pinctrl-0 = <&pcie1_pins>;
189 pinctrl-names = "default";
190 max-link-speed = <1>;
196 pinctrl-0 = <&nand_pins>;
197 pinctrl-names = "default";
201 compatible = "qcom,nandcs";
203 nand-ecc-strength = <4>;
204 nand-bus-width = <8>;
205 nand-ecc-step-size = <512>;
208 compatible = "fixed-partitions";
209 #address-cells = <1>;
214 reg = <0x0000000 0x0c80000>;
220 reg = <0x0c80000 0x0500000>;
226 reg = <0x1180000 0x0080000>;
232 reg = <0x1200000 0x0140000>;
236 artbak: art@1340000 {
238 reg = <0x1340000 0x0140000>;
244 reg = <0x1480000 0x0400000>;
249 reg = <0x1880000 0x6080000>;
254 reg = <0x7900000 0x0700000>;
264 pinctrl-0 = <&mdio0_pins>;
265 pinctrl-names = "default";
267 phy0: ethernet-phy@0 {
269 qca,ar8327-initvals = <
270 0x00004 0x7600000 /* PAD0_MODE */
271 0x00008 0x1000000 /* PAD5_MODE */
272 0x0000c 0x80 /* PAD6_MODE */
273 0x000e4 0xaa545 /* MAC_POWER_SEL */
274 0x000e0 0xc74164de /* SGMII_CTRL */
275 0x0007c 0x4e /* PORT0_STATUS */
276 0x00094 0x4e /* PORT6_STATUS */
280 phy4: ethernet-phy@4 {
290 pinctrl-0 = <&rgmii2_pins>;
291 pinctrl-names = "default";
293 mtd-mac-address = <&art 6>;
306 mtd-mac-address = <&art 0>;