1 #include "qcom-ipq8064-v1.0.dtsi"
3 #include <dt-bindings/input/input.h>
6 model = "Netgear Nighthawk X4 R7500";
7 compatible = "netgear,r7500", "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 {
135 pcie1: pci@1b700000 {
142 pinctrl-0 = <&nand_pins>;
143 pinctrl-names = "default";
145 nand-ecc-strength = <4>;
146 nand-bus-width = <8>;
148 #address-cells = <1>;
153 reg = <0x0000000 0x0c80000>;
159 reg = <0x0c80000 0x0500000>;
165 reg = <0x1180000 0x0080000>;
171 reg = <0x1200000 0x0140000>;
177 reg = <0x1340000 0x0200000>;
182 reg = <0x1540000 0x1800000>;
187 reg = <0x2d40000 0x0c00000>;
193 reg = <0x3940000 0x46c0000>;
199 reg = <0x1340000 0x1a00000>;
205 compatible = "virtual,mdio-gpio";
206 #address-cells = <1>;
208 gpios = <&qcom_pinmux 1 0 &qcom_pinmux 0 0>;
209 pinctrl-0 = <&mdio0_pins>;
210 pinctrl-names = "default";
212 phy0: ethernet-phy@0 {
213 device_type = "ethernet-phy";
215 qca,ar8327-initvals = <
216 0x00004 0x7600000 /* PAD0_MODE */
217 0x00008 0x1000000 /* PAD5_MODE */
218 0x0000c 0x80 /* PAD6_MODE */
219 0x000e4 0x6a545 /* MAC_POWER_SEL */
220 0x000e0 0xc74164de /* SGMII_CTRL */
221 0x0007c 0x4e /* PORT0_STATUS */
222 0x00094 0x4e /* PORT6_STATUS */
226 phy4: ethernet-phy@4 {
227 device_type = "ethernet-phy";
232 gmac1: ethernet@37200000 {
237 pinctrl-0 = <&rgmii2_pins>;
238 pinctrl-names = "default";
240 mtd-mac-address = <&art 6>;
248 gmac2: ethernet@37400000 {
253 mtd-mac-address = <&art 0>;
263 compatible = "gpio-keys";
267 gpios = <&qcom_pinmux 6 1>;
268 linux,code = <KEY_WLAN>;
273 gpios = <&qcom_pinmux 54 1>;
274 linux,code = <KEY_RESTART>;
279 gpios = <&qcom_pinmux 65 1>;
280 linux,code = <KEY_WPS_BUTTON>;
285 compatible = "gpio-leds";
288 label = "r7500:amber:usb1";
289 gpios = <&qcom_pinmux 7 0>;
293 label = "r7500:amber:usb3";
294 gpios = <&qcom_pinmux 8 0>;
298 label = "r7500:amber:status";
299 gpios = <&qcom_pinmux 9 0>;
303 label = "r7500:white:internet";
304 gpios = <&qcom_pinmux 22 0>;
308 label = "r7500:white:wan";
309 gpios = <&qcom_pinmux 23 0>;
313 label = "r7500:white:wps";
314 gpios = <&qcom_pinmux 24 0>;
318 label = "r7500:white:esata";
319 gpios = <&qcom_pinmux 26 0>;
323 label = "r7500:white:power";
324 gpios = <&qcom_pinmux 53 0>;
325 default-state = "on";
329 label = "r7500:white:rfkill";
330 gpios = <&qcom_pinmux 64 0>;
334 label = "r7500:white:wifi5g";
335 gpios = <&qcom_pinmux 67 0>;