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";
69 gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
74 gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
77 power_amber: power_amber {
78 label = "amber:power";
79 gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
84 gpios = <&qcom_pinmux 22 GPIO_ACTIVE_HIGH>;
89 gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>;
94 gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>;
98 label = "white:esata";
99 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>;
102 power_white: power_white {
103 label = "white:power";
104 gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
105 default-state = "keep";
109 label = "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>;
145 clocks = <&gcc USB30_1_MASTER_CLK>;
150 clocks = <&gcc USB30_0_MASTER_CLK>;
160 max-link-speed = <1>;
166 pinctrl-0 = <&nand_pins>;
167 pinctrl-names = "default";
171 compatible = "qcom,nandcs";
173 nand-ecc-strength = <4>;
174 nand-bus-width = <8>;
175 nand-ecc-step-size = <512>;
178 compatible = "fixed-partitions";
179 #address-cells = <1>;
184 reg = <0x0000000 0x0c80000>;
190 reg = <0x0c80000 0x0500000>;
196 reg = <0x1180000 0x0080000>;
202 reg = <0x1200000 0x0140000>;
208 reg = <0x1340000 0x0400000>;
213 reg = <0x1740000 0x1600000>;
218 reg = <0x2d40000 0x0c00000>;
224 reg = <0x3940000 0x46c0000>;
234 pinctrl-0 = <&mdio0_pins>;
235 pinctrl-names = "default";
237 phy0: ethernet-phy@0 {
239 qca,ar8327-initvals = <
240 0x00004 0x7600000 /* PAD0_MODE */
241 0x00008 0x1000000 /* PAD5_MODE */
242 0x0000c 0x80 /* PAD6_MODE */
243 0x000e4 0x6a545 /* MAC_POWER_SEL */
244 0x000e0 0xc74164de /* SGMII_CTRL */
245 0x0007c 0x4e /* PORT0_STATUS */
246 0x00094 0x4e /* PORT6_STATUS */
250 phy4: ethernet-phy@4 {
260 pinctrl-0 = <&rgmii2_pins>;
261 pinctrl-names = "default";
263 mtd-mac-address = <&art 6>;
276 mtd-mac-address = <&art 0>;
285 qcom,usb-ctrl-select = <TCSR_USB_SELECT_USB3_DUAL>;
286 compatible = "qcom,tcsr";