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>;
47 debounce-interval = <60>;
53 gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_RESTART>;
55 debounce-interval = <60>;
61 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
62 linux,code = <KEY_WPS_BUTTON>;
63 debounce-interval = <60>;
69 compatible = "gpio-leds";
70 pinctrl-0 = <&led_pins>;
71 pinctrl-names = "default";
75 gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
80 gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
83 power_amber: power_amber {
84 label = "amber:power";
85 gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
90 gpios = <&qcom_pinmux 22 GPIO_ACTIVE_HIGH>;
95 gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>;
100 gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>;
104 label = "white:esata";
105 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>;
108 power_white: power_white {
109 label = "white:power";
110 gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
111 default-state = "keep";
115 label = "white:wifi";
116 gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>;
122 button_pins: button_pins {
124 pins = "gpio6", "gpio54", "gpio65";
126 drive-strength = <2>;
133 pins = "gpio7", "gpio8", "gpio9", "gpio22", "gpio23",
134 "gpio24","gpio26", "gpio53", "gpio64";
136 drive-strength = <2>;
180 max-link-speed = <1>;
188 compatible = "qcom,nandcs";
190 nand-ecc-strength = <4>;
191 nand-bus-width = <8>;
192 nand-ecc-step-size = <512>;
195 qcom,boot-partitions = <0x0 0x1180000>;
198 compatible = "fixed-partitions";
199 #address-cells = <1>;
204 reg = <0x0000000 0x0c80000>;
210 reg = <0x0c80000 0x0500000>;
216 reg = <0x1180000 0x0080000>;
222 reg = <0x1200000 0x0140000>;
228 reg = <0x1340000 0x0400000>;
233 reg = <0x1740000 0x1600000>;
238 reg = <0x2d40000 0x0c00000>;
244 reg = <0x3940000 0x46c0000>;
254 pinctrl-0 = <&mdio0_pins>;
255 pinctrl-names = "default";
258 compatible = "qca,qca8337";
259 #address-cells = <1>;
264 #address-cells = <1>;
272 tx-internal-delay-ps = <1000>;
273 rx-internal-delay-ps = <1000>;
284 phy-mode = "internal";
285 phy-handle = <&phy_port1>;
291 phy-mode = "internal";
292 phy-handle = <&phy_port2>;
298 phy-mode = "internal";
299 phy-handle = <&phy_port3>;
305 phy-mode = "internal";
306 phy-handle = <&phy_port4>;
312 phy-mode = "internal";
313 phy-handle = <&phy_port5>;
321 qca,sgmii-enable-pll;
331 #address-cells = <1>;
362 pinctrl-0 = <&rgmii2_pins>;
363 pinctrl-names = "default";
365 nvmem-cells = <&macaddr_art_6>;
366 nvmem-cell-names = "mac-address";
379 nvmem-cells = <&macaddr_art_0>;
380 nvmem-cell-names = "mac-address";
389 qcom,usb-ctrl-select = <TCSR_USB_SELECT_USB3_DUAL>;
390 compatible = "qcom,tcsr";
398 compatible = "nvmem-cells";
399 #address-cells = <1>;
402 macaddr_art_0: macaddr@0 {
406 macaddr_art_6: macaddr@6 {