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 0xe000000>;
11 device_type = "memory";
19 reg = <0x41200000 0x300000>;
30 bootargs = "rootfstype=squashfs noinitrd";
31 linux,stdout-path = "serial0:115200n8";
36 i2c4_pins: i2c4_pinmux {
37 pins = "gpio12", "gpio13";
42 nand_pins: nand_pins {
44 pins = "gpio34", "gpio35", "gpio36",
45 "gpio37", "gpio38", "gpio39",
46 "gpio40", "gpio41", "gpio42",
47 "gpio43", "gpio44", "gpio45",
50 drive-strength = <10>;
58 pins = "gpio40", "gpio41", "gpio42",
59 "gpio43", "gpio44", "gpio45",
65 mdio0_pins: mdio0_pins {
67 pins = "gpio0", "gpio1";
74 rgmii2_pins: rgmii2_pins {
76 pins = "gpio27", "gpio28", "gpio29", "gpio30", "gpio31", "gpio32",
77 "gpio51", "gpio52", "gpio59", "gpio60", "gpio61", "gpio62" ;
86 qcom,mode = <GSBI_PROT_I2C_UART>;
92 * The i2c device on gsbi4 should not be enabled.
93 * On ipq806x designs gsbi4 i2c is meant for exclusive
94 * RPM usage. Turning this on in kernel manifests as
95 * i2c failure for the RPM.
107 phy@100f8800 { /* USB3 port 1 HS phy */
111 phy@100f8830 { /* USB3 port 1 SS phy */
115 phy@110f8800 { /* USB3 port 0 HS phy */
119 phy@110f8830 { /* USB3 port 0 SS phy */
131 pcie0: pci@1b500000 {
133 reset-gpio = <&qcom_pinmux 3 GPIO_ACTIVE_LOW>;
134 pinctrl-0 = <&pcie0_pins>;
135 pinctrl-names = "default";
138 pcie1: pci@1b700000 {
140 reset-gpio = <&qcom_pinmux 48 GPIO_ACTIVE_LOW>;
141 pinctrl-0 = <&pcie1_pins>;
142 pinctrl-names = "default";
148 pinctrl-0 = <&nand_pins>;
149 pinctrl-names = "default";
151 nand-ecc-strength = <4>;
152 nand-bus-width = <8>;
154 #address-cells = <1>;
159 reg = <0x0000000 0x0c80000>;
165 reg = <0x0c80000 0x0500000>;
171 reg = <0x1180000 0x0080000>;
177 reg = <0x1200000 0x0140000>;
181 artbak: art@1340000 {
183 reg = <0x1340000 0x0140000>;
189 reg = <0x1480000 0x0200000>;
194 reg = <0x1680000 0x1E00000>;
199 reg = <0x3480000 0x4480000>;
205 reg = <0x7900000 0x0700000>;
211 reg = <0x1480000 0x2000000>;
217 compatible = "virtual,mdio-gpio";
218 #address-cells = <1>;
220 gpios = <&qcom_pinmux 1 0 &qcom_pinmux 0 0>;
221 pinctrl-0 = <&mdio0_pins>;
222 pinctrl-names = "default";
224 phy0: ethernet-phy@0 {
225 device_type = "ethernet-phy";
227 qca,ar8327-initvals = <
228 0x00004 0x7600000 /* PAD0_MODE */
229 0x00008 0x1000000 /* PAD5_MODE */
230 0x0000c 0x80 /* PAD6_MODE */
231 0x000e4 0xaa545 /* MAC_POWER_SEL */
232 0x000e0 0xc74164de /* SGMII_CTRL */
233 0x0007c 0x4e /* PORT0_STATUS */
234 0x00094 0x4e /* PORT6_STATUS */
238 phy4: ethernet-phy@4 {
239 device_type = "ethernet-phy";
244 gmac1: ethernet@37200000 {
249 pinctrl-0 = <&rgmii2_pins>;
250 pinctrl-names = "default";
252 mtd-mac-address = <&art 6>;
260 gmac2: ethernet@37400000 {
265 mtd-mac-address = <&art 0>;
275 compatible = "gpio-keys";
279 gpios = <&qcom_pinmux 6 1>;
280 linux,code = <KEY_WLAN>;
285 gpios = <&qcom_pinmux 54 1>;
286 linux,code = <KEY_RESTART>;
291 gpios = <&qcom_pinmux 65 1>;
292 linux,code = <KEY_WPS_BUTTON>;
297 compatible = "gpio-leds";
300 label = "r7500v2:amber:usb1";
301 gpios = <&qcom_pinmux 7 0>;
305 label = "r7500v2:amber:usb3";
306 gpios = <&qcom_pinmux 8 0>;
310 label = "r7500v2:amber:status";
311 gpios = <&qcom_pinmux 9 0>;
315 label = "r7500v2:white:internet";
316 gpios = <&qcom_pinmux 22 0>;
320 label = "r7500v2:white:wan";
321 gpios = <&qcom_pinmux 23 0>;
325 label = "r7500v2:white:wps";
326 gpios = <&qcom_pinmux 24 0>;
330 label = "r7500v2:white:esata";
331 gpios = <&qcom_pinmux 26 0>;
335 label = "r7500v2:white:power";
336 gpios = <&qcom_pinmux 53 0>;
337 default-state = "on";
341 label = "r7500v2:white:rfkill";
342 gpios = <&qcom_pinmux 64 0>;