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";
19 reg = <0x41200000 0x300000>;
24 reg = <0x5fe00000 0x200000>;
30 serial0 = &gsbi4_serial;
34 led-failsafe = &power;
40 bootargs = "rootfstype=squashfs noinitrd";
44 compatible = "gpio-keys";
45 pinctrl-0 = <&button_pins>;
46 pinctrl-names = "default";
50 gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RFKILL>;
56 gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_RESTART>;
62 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
63 linux,code = <KEY_WPS_BUTTON>;
68 compatible = "gpio-leds";
69 pinctrl-0 = <&led_pins>;
70 pinctrl-names = "default";
73 label = "r7500v2:amber:usb1";
74 gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
78 label = "r7500v2:amber:usb3";
79 gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
83 label = "r7500v2:amber:status";
84 gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
88 label = "r7500v2:white:internet";
89 gpios = <&qcom_pinmux 22 GPIO_ACTIVE_HIGH>;
93 label = "r7500v2:white:wan";
94 gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>;
98 label = "r7500v2:white:wps";
99 gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>;
103 label = "r7500v2:white:esata";
104 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>;
108 label = "r7500v2:white:power";
109 gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
110 default-state = "keep";
114 label = "r7500v2:white:wifi";
115 gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>;
125 button_pins: button_pins {
127 pins = "gpio6", "gpio54", "gpio65";
129 drive-strength = <2>;
136 pins = "gpio7", "gpio8", "gpio9", "gpio22", "gpio23",
137 "gpio24","gpio26", "gpio53", "gpio64";
139 drive-strength = <2>;
144 usb0_pwr_en_pins: usb0_pwr_en_pins {
148 drive-strength = <12>;
154 usb1_pwr_en_pins: usb1_pwr_en_pins {
156 pins = "gpio16", "gpio68";
158 drive-strength = <12>;
166 qcom,mode = <GSBI_PROT_I2C_UART>;
172 * The i2c device on gsbi4 should not be enabled.
173 * On ipq806x designs gsbi4 i2c is meant for exclusive
174 * RPM usage. Turning this on in kernel manifests as
175 * i2c failure for the RPM.
190 pinctrl-0 = <&usb0_pwr_en_pins>;
191 pinctrl-names = "default";
197 pinctrl-0 = <&usb1_pwr_en_pins>;
198 pinctrl-names = "default";
203 reset-gpio = <&qcom_pinmux 3 GPIO_ACTIVE_LOW>;
204 pinctrl-0 = <&pcie0_pins>;
205 pinctrl-names = "default";
210 reset-gpio = <&qcom_pinmux 48 GPIO_ACTIVE_LOW>;
211 pinctrl-0 = <&pcie1_pins>;
212 pinctrl-names = "default";
219 pinctrl-0 = <&nand_pins>;
220 pinctrl-names = "default";
224 compatible = "qcom,nandcs";
226 nand-ecc-strength = <4>;
227 nand-bus-width = <8>;
228 nand-ecc-step-size = <512>;
231 compatible = "fixed-partitions";
232 #address-cells = <1>;
237 reg = <0x0000000 0x0c80000>;
243 reg = <0x0c80000 0x0500000>;
249 reg = <0x1180000 0x0080000>;
255 reg = <0x1200000 0x0140000>;
259 artbak: art@1340000 {
261 reg = <0x1340000 0x0140000>;
267 reg = <0x1480000 0x0400000>;
272 reg = <0x1880000 0x6080000>;
277 reg = <0x7900000 0x0700000>;
287 pinctrl-0 = <&mdio0_pins>;
288 pinctrl-names = "default";
290 phy0: ethernet-phy@0 {
292 qca,ar8327-initvals = <
293 0x00004 0x7600000 /* PAD0_MODE */
294 0x00008 0x1000000 /* PAD5_MODE */
295 0x0000c 0x80 /* PAD6_MODE */
296 0x000e4 0xaa545 /* MAC_POWER_SEL */
297 0x000e0 0xc74164de /* SGMII_CTRL */
298 0x0007c 0x4e /* PORT0_STATUS */
299 0x00094 0x4e /* PORT6_STATUS */
303 phy4: ethernet-phy@4 {
313 pinctrl-0 = <&rgmii2_pins>;
314 pinctrl-names = "default";
316 mtd-mac-address = <&art 6>;
329 mtd-mac-address = <&art 0>;