1 #include "qcom-ipq8064-v1.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>;
35 bootargs = "rootfstype=squashfs noinitrd";
36 linux,stdout-path = "serial0:115200n8";
41 i2c4_pins: i2c4_pinmux {
42 pins = "gpio12", "gpio13";
47 nand_pins: nand_pins {
49 pins = "gpio34", "gpio35", "gpio36",
50 "gpio37", "gpio38", "gpio39",
51 "gpio40", "gpio41", "gpio42",
52 "gpio43", "gpio44", "gpio45",
55 drive-strength = <10>;
63 pins = "gpio40", "gpio41", "gpio42",
64 "gpio43", "gpio44", "gpio45",
70 mdio0_pins: mdio0_pins {
72 pins = "gpio0", "gpio1";
79 rgmii2_pins: rgmii2_pins {
81 pins = "gpio27", "gpio28", "gpio29", "gpio30", "gpio31", "gpio32",
82 "gpio51", "gpio52", "gpio59", "gpio60", "gpio61", "gpio62" ;
91 qcom,mode = <GSBI_PROT_I2C_UART>;
97 * The i2c device on gsbi4 should not be enabled.
98 * On ipq806x designs gsbi4 i2c is meant for exclusive
99 * RPM usage. Turning this on in kernel manifests as
100 * i2c failure for the RPM.
112 phy@100f8800 { /* USB3 port 1 HS phy */
116 phy@100f8830 { /* USB3 port 1 SS phy */
120 phy@110f8800 { /* USB3 port 0 HS phy */
124 phy@110f8830 { /* USB3 port 0 SS phy */
136 pcie0: pci@1b500000 {
138 reset-gpio = <&qcom_pinmux 3 GPIO_ACTIVE_LOW>;
139 pinctrl-0 = <&pcie0_pins>;
140 pinctrl-names = "default";
143 pcie1: pci@1b700000 {
145 reset-gpio = <&qcom_pinmux 48 GPIO_ACTIVE_LOW>;
146 pinctrl-0 = <&pcie1_pins>;
147 pinctrl-names = "default";
153 pinctrl-0 = <&nand_pins>;
154 pinctrl-names = "default";
156 nand-ecc-strength = <4>;
157 nand-bus-width = <8>;
159 #address-cells = <1>;
164 reg = <0x0000000 0x0c80000>;
170 reg = <0x0c80000 0x0500000>;
176 reg = <0x1180000 0x0080000>;
182 reg = <0x1200000 0x0140000>;
186 artbak: art@1340000 {
188 reg = <0x1340000 0x0140000>;
194 reg = <0x1480000 0x0200000>;
199 reg = <0x1680000 0x1E00000>;
204 reg = <0x3480000 0x4480000>;
210 reg = <0x7900000 0x0700000>;
216 reg = <0x1480000 0x2000000>;
222 compatible = "virtual,mdio-gpio";
223 #address-cells = <1>;
225 gpios = <&qcom_pinmux 1 0 &qcom_pinmux 0 0>;
226 pinctrl-0 = <&mdio0_pins>;
227 pinctrl-names = "default";
229 phy0: ethernet-phy@0 {
230 device_type = "ethernet-phy";
232 qca,ar8327-initvals = <
233 0x00004 0x7600000 /* PAD0_MODE */
234 0x00008 0x1000000 /* PAD5_MODE */
235 0x0000c 0x80 /* PAD6_MODE */
236 0x000e4 0xaa545 /* MAC_POWER_SEL */
237 0x000e0 0xc74164de /* SGMII_CTRL */
238 0x0007c 0x4e /* PORT0_STATUS */
239 0x00094 0x4e /* PORT6_STATUS */
243 phy4: ethernet-phy@4 {
244 device_type = "ethernet-phy";
249 gmac1: ethernet@37200000 {
254 pinctrl-0 = <&rgmii2_pins>;
255 pinctrl-names = "default";
257 mtd-mac-address = <&art 6>;
265 gmac2: ethernet@37400000 {
270 mtd-mac-address = <&art 0>;
280 compatible = "gpio-keys";
284 gpios = <&qcom_pinmux 6 1>;
285 linux,code = <KEY_WLAN>;
290 gpios = <&qcom_pinmux 54 1>;
291 linux,code = <KEY_RESTART>;
296 gpios = <&qcom_pinmux 65 1>;
297 linux,code = <KEY_WPS_BUTTON>;
302 compatible = "gpio-leds";
305 label = "r7500v2:amber:usb1";
306 gpios = <&qcom_pinmux 7 0>;
310 label = "r7500v2:amber:usb3";
311 gpios = <&qcom_pinmux 8 0>;
315 label = "r7500v2:amber:status";
316 gpios = <&qcom_pinmux 9 0>;
320 label = "r7500v2:white:internet";
321 gpios = <&qcom_pinmux 22 0>;
325 label = "r7500v2:white:wan";
326 gpios = <&qcom_pinmux 23 0>;
330 label = "r7500v2:white:wps";
331 gpios = <&qcom_pinmux 24 0>;
335 label = "r7500v2:white:esata";
336 gpios = <&qcom_pinmux 26 0>;
340 label = "r7500v2:white:power";
341 gpios = <&qcom_pinmux 53 0>;
342 default-state = "on";
346 label = "r7500v2:white:rfkill";
347 gpios = <&qcom_pinmux 64 0>;