1 #include "qcom-ipq8064-v1.0.dtsi"
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
5 #include <dt-bindings/soc/qcom,tcsr.h>
8 model = "Netgear Nighthawk X4 R7500";
9 compatible = "netgear,r7500", "qcom,ipq8064";
12 reg = <0x42000000 0xe000000>;
13 device_type = "memory";
21 reg = <0x41200000 0x300000>;
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>;
48 debounce-interval = <60>;
54 gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_RESTART>;
56 debounce-interval = <60>;
62 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
63 linux,code = <KEY_WPS_BUTTON>;
64 debounce-interval = <60>;
70 compatible = "gpio-leds";
71 pinctrl-0 = <&led_pins>;
72 pinctrl-names = "default";
76 gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
81 gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
84 power_amber: power_amber {
85 function = LED_FUNCTION_POWER;
86 color = <LED_COLOR_ID_AMBER>;
87 gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
91 function = LED_FUNCTION_WAN;
92 color = <LED_COLOR_ID_WHITE>;
93 gpios = <&qcom_pinmux 22 GPIO_ACTIVE_HIGH>;
97 function = LED_FUNCTION_WAN;
98 color = <LED_COLOR_ID_AMBER>;
99 gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>;
103 function = LED_FUNCTION_WPS;
104 color = <LED_COLOR_ID_WHITE>;
105 gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>;
109 label = "white:esata";
110 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>;
113 power_white: power_white {
114 function = LED_FUNCTION_POWER;
115 color = <LED_COLOR_ID_WHITE>;
116 gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
117 default-state = "keep";
121 label = "white:wifi";
122 gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>;
128 button_pins: button_pins {
130 pins = "gpio6", "gpio54", "gpio65";
132 drive-strength = <2>;
139 pins = "gpio7", "gpio8", "gpio9", "gpio22", "gpio23",
140 "gpio24","gpio26", "gpio53", "gpio64";
142 drive-strength = <2>;
186 max-link-speed = <1>;
194 compatible = "qcom,nandcs";
196 nand-ecc-strength = <4>;
197 nand-bus-width = <8>;
198 nand-ecc-step-size = <512>;
201 qcom,boot-partitions = <0x0 0x1180000>;
204 compatible = "fixed-partitions";
205 #address-cells = <1>;
210 reg = <0x0000000 0x0c80000>;
216 reg = <0x0c80000 0x0500000>;
222 reg = <0x1180000 0x0080000>;
228 reg = <0x1200000 0x0140000>;
232 compatible = "fixed-layout";
233 #address-cells = <1>;
236 macaddr_art_0: macaddr@0 {
240 macaddr_art_6: macaddr@6 {
248 reg = <0x1340000 0x0400000>;
253 reg = <0x1740000 0x1600000>;
258 reg = <0x2d40000 0x0c00000>;
264 reg = <0x3940000 0x46c0000>;
274 pinctrl-0 = <&mdio0_pins>;
275 pinctrl-names = "default";
278 compatible = "qca,qca8337";
279 #address-cells = <1>;
284 #address-cells = <1>;
292 tx-internal-delay-ps = <1000>;
293 rx-internal-delay-ps = <1000>;
304 phy-mode = "internal";
305 phy-handle = <&phy_port1>;
311 phy-mode = "internal";
312 phy-handle = <&phy_port2>;
318 phy-mode = "internal";
319 phy-handle = <&phy_port3>;
325 phy-mode = "internal";
326 phy-handle = <&phy_port4>;
332 phy-mode = "internal";
333 phy-handle = <&phy_port5>;
341 qca,sgmii-enable-pll;
351 #address-cells = <1>;
382 pinctrl-0 = <&rgmii2_pins>;
383 pinctrl-names = "default";
385 nvmem-cells = <&macaddr_art_6>;
386 nvmem-cell-names = "mac-address";
399 nvmem-cells = <&macaddr_art_0>;
400 nvmem-cell-names = "mac-address";
409 qcom,usb-ctrl-select = <TCSR_USB_SELECT_USB3_DUAL>;
410 compatible = "qcom,tcsr";