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>;
164 max-link-speed = <1>;
170 pinctrl-0 = <&nand_pins>;
171 pinctrl-names = "default";
175 compatible = "qcom,nandcs";
177 nand-ecc-strength = <4>;
178 nand-bus-width = <8>;
179 nand-ecc-step-size = <512>;
182 qcom,boot_pages_size = <0x1180000>;
185 compatible = "fixed-partitions";
186 #address-cells = <1>;
191 reg = <0x0000000 0x0c80000>;
197 reg = <0x0c80000 0x0500000>;
203 reg = <0x1180000 0x0080000>;
209 reg = <0x1200000 0x0140000>;
215 reg = <0x1340000 0x0400000>;
220 reg = <0x1740000 0x1600000>;
225 reg = <0x2d40000 0x0c00000>;
231 reg = <0x3940000 0x46c0000>;
241 pinctrl-0 = <&mdio0_pins>;
242 pinctrl-names = "default";
244 phy0: ethernet-phy@0 {
246 qca,ar8327-initvals = <
247 0x00004 0x7600000 /* PAD0_MODE */
248 0x00008 0x1000000 /* PAD5_MODE */
249 0x0000c 0x80 /* PAD6_MODE */
250 0x000e4 0x6a545 /* MAC_POWER_SEL */
251 0x000e0 0xc74164de /* SGMII_CTRL */
252 0x0007c 0x4e /* PORT0_STATUS */
253 0x00094 0x4e /* PORT6_STATUS */
257 phy4: ethernet-phy@4 {
267 pinctrl-0 = <&rgmii2_pins>;
268 pinctrl-names = "default";
270 nvmem-cells = <&macaddr_art_6>;
271 nvmem-cell-names = "mac-address";
284 nvmem-cells = <&macaddr_art_0>;
285 nvmem-cell-names = "mac-address";
294 qcom,usb-ctrl-select = <TCSR_USB_SELECT_USB3_DUAL>;
295 compatible = "qcom,tcsr";
303 compatible = "nvmem-cells";
304 #address-cells = <1>;
307 macaddr_art_0: macaddr@0 {
311 macaddr_art_6: macaddr@6 {