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>;
28 led-boot = &power_white;
29 led-failsafe = &power_amber;
30 led-running = &power_white;
31 led-upgrade = &power_amber;
35 bootargs = "rootfstype=squashfs noinitrd";
39 compatible = "gpio-keys";
40 pinctrl-0 = <&button_pins>;
41 pinctrl-names = "default";
45 gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RFKILL>;
51 gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_RESTART>;
57 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_WPS_BUTTON>;
63 compatible = "gpio-leds";
64 pinctrl-0 = <&led_pins>;
65 pinctrl-names = "default";
68 label = "r7500:white:usb1";
69 gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
73 label = "r7500:white:usb2";
74 gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
77 power_amber: power_amber {
78 label = "r7500:amber:power";
79 gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
83 label = "r7500:white:wan";
84 gpios = <&qcom_pinmux 22 GPIO_ACTIVE_HIGH>;
88 label = "r7500:amber:wan";
89 gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>;
93 label = "r7500:white:wps";
94 gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>;
98 label = "r7500:white:esata";
99 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>;
102 power_white: power_white {
103 label = "r7500:white:power";
104 gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
105 default-state = "keep";
109 label = "r7500:white:wifi";
110 gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>;
116 button_pins: button_pins {
118 pins = "gpio6", "gpio54", "gpio65";
120 drive-strength = <2>;
127 pins = "gpio7", "gpio8", "gpio9", "gpio22", "gpio23",
128 "gpio24","gpio26", "gpio53", "gpio64";
130 drive-strength = <2>;
137 qcom,mode = <GSBI_PROT_I2C_UART>;
143 * The i2c device on gsbi4 should not be enabled.
144 * On ipq806x designs gsbi4 i2c is meant for exclusive
145 * RPM usage. Turning this on in kernel manifests as
146 * i2c failure for the RPM.
159 clocks = <&gcc USB30_1_MASTER_CLK>;
164 clocks = <&gcc USB30_0_MASTER_CLK>;
180 pinctrl-0 = <&nand_pins>;
181 pinctrl-names = "default";
185 compatible = "qcom,nandcs";
187 nand-ecc-strength = <4>;
188 nand-bus-width = <8>;
189 nand-ecc-step-size = <512>;
192 compatible = "fixed-partitions";
193 #address-cells = <1>;
198 reg = <0x0000000 0x0c80000>;
204 reg = <0x0c80000 0x0500000>;
210 reg = <0x1180000 0x0080000>;
216 reg = <0x1200000 0x0140000>;
222 reg = <0x1340000 0x0400000>;
227 reg = <0x1740000 0x1600000>;
232 reg = <0x2d40000 0x0c00000>;
238 reg = <0x3940000 0x46c0000>;
248 pinctrl-0 = <&mdio0_pins>;
249 pinctrl-names = "default";
251 phy0: ethernet-phy@0 {
253 qca,ar8327-initvals = <
254 0x00004 0x7600000 /* PAD0_MODE */
255 0x00008 0x1000000 /* PAD5_MODE */
256 0x0000c 0x80 /* PAD6_MODE */
257 0x000e4 0x6a545 /* MAC_POWER_SEL */
258 0x000e0 0xc74164de /* SGMII_CTRL */
259 0x0007c 0x4e /* PORT0_STATUS */
260 0x00094 0x4e /* PORT6_STATUS */
264 phy4: ethernet-phy@4 {
274 pinctrl-0 = <&rgmii2_pins>;
275 pinctrl-names = "default";
277 mtd-mac-address = <&art 6>;
290 mtd-mac-address = <&art 0>;
299 qcom,usb-ctrl-select = <TCSR_USB_SELECT_USB3_DUAL>;
300 compatible = "qcom,tcsr";