1 #include "qcom-ipq8064-v1.0.dtsi"
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/soc/qcom,tcsr.h>
7 model = "Netgear Nighthawk X4 R7500";
8 compatible = "netgear,r7500", "qcom,ipq8064";
11 reg = <0x42000000 0xe000000>;
12 device_type = "memory";
20 reg = <0x41200000 0x300000>;
26 serial0 = &gsbi4_serial;
29 led-boot = &power_white;
30 led-failsafe = &power_amber;
31 led-running = &power_white;
32 led-upgrade = &power_amber;
36 bootargs = "rootfstype=squashfs noinitrd";
40 compatible = "gpio-keys";
41 pinctrl-0 = <&button_pins>;
42 pinctrl-names = "default";
46 gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_RFKILL>;
52 gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_RESTART>;
58 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_WPS_BUTTON>;
64 compatible = "gpio-leds";
65 pinctrl-0 = <&led_pins>;
66 pinctrl-names = "default";
69 label = "r7500:white:usb1";
70 gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
74 label = "r7500:white:usb2";
75 gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
78 power_amber: power_amber {
79 label = "r7500:amber:power";
80 gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
84 label = "r7500:white:wan";
85 gpios = <&qcom_pinmux 22 GPIO_ACTIVE_HIGH>;
89 label = "r7500:amber:wan";
90 gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>;
94 label = "r7500:white:wps";
95 gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>;
99 label = "r7500:white:esata";
100 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>;
103 power_white: power_white {
104 label = "r7500:white:power";
105 gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
106 default-state = "keep";
110 label = "r7500:white:wifi";
111 gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>;
117 button_pins: button_pins {
119 pins = "gpio6", "gpio54", "gpio65";
121 drive-strength = <2>;
128 pins = "gpio7", "gpio8", "gpio9", "gpio22", "gpio23",
129 "gpio24","gpio26", "gpio53", "gpio64";
131 drive-strength = <2>;
138 qcom,mode = <GSBI_PROT_I2C_UART>;
144 * The i2c device on gsbi4 should not be enabled.
145 * On ipq806x designs gsbi4 i2c is meant for exclusive
146 * RPM usage. Turning this on in kernel manifests as
147 * i2c failure for the RPM.
160 clocks = <&gcc USB30_1_MASTER_CLK>;
165 clocks = <&gcc USB30_0_MASTER_CLK>;
181 pinctrl-0 = <&nand_pins>;
182 pinctrl-names = "default";
186 compatible = "qcom,nandcs";
188 nand-ecc-strength = <4>;
189 nand-bus-width = <8>;
190 nand-ecc-step-size = <512>;
193 compatible = "fixed-partitions";
194 #address-cells = <1>;
199 reg = <0x0000000 0x0c80000>;
205 reg = <0x0c80000 0x0500000>;
211 reg = <0x1180000 0x0080000>;
217 reg = <0x1200000 0x0140000>;
223 reg = <0x1340000 0x0400000>;
228 reg = <0x1740000 0x1600000>;
233 reg = <0x2d40000 0x0c00000>;
239 reg = <0x3940000 0x46c0000>;
249 pinctrl-0 = <&mdio0_pins>;
250 pinctrl-names = "default";
252 phy0: ethernet-phy@0 {
254 qca,ar8327-initvals = <
255 0x00004 0x7600000 /* PAD0_MODE */
256 0x00008 0x1000000 /* PAD5_MODE */
257 0x0000c 0x80 /* PAD6_MODE */
258 0x000e4 0x6a545 /* MAC_POWER_SEL */
259 0x000e0 0xc74164de /* SGMII_CTRL */
260 0x0007c 0x4e /* PORT0_STATUS */
261 0x00094 0x4e /* PORT6_STATUS */
265 phy4: ethernet-phy@4 {
275 pinctrl-0 = <&rgmii2_pins>;
276 pinctrl-names = "default";
278 mtd-mac-address = <&art 6>;
291 mtd-mac-address = <&art 0>;
300 qcom,usb-ctrl-select = <TCSR_USB_SELECT_USB3_DUAL>;
301 compatible = "qcom,tcsr";