1 #include "qcom-ipq8064-v2.0.dtsi"
3 #include <dt-bindings/input/input.h>
6 model = "Netgear Nighthawk X4 D7800";
7 compatible = "netgear,d7800", "qcom,ipq8064";
10 reg = <0x42000000 0xe000000>;
11 device_type = "memory";
17 led-boot = &power_white;
18 led-failsafe = &power_amber;
19 led-running = &power_white;
20 led-upgrade = &power_amber;
24 bootargs = "rootfstype=squashfs noinitrd";
28 compatible = "gpio-keys";
29 pinctrl-0 = <&button_pins>;
30 pinctrl-names = "default";
34 gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RFKILL>;
36 debounce-interval = <60>;
42 gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RESTART>;
44 debounce-interval = <60>;
50 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_WPS_BUTTON>;
52 debounce-interval = <60>;
58 compatible = "gpio-leds";
59 pinctrl-0 = <&led_pins>;
60 pinctrl-names = "default";
64 gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
69 gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
72 power_amber: power_amber {
73 label = "amber:power";
74 gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
79 gpios = <&qcom_pinmux 22 GPIO_ACTIVE_HIGH>;
84 gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>;
89 gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>;
93 label = "white:esata";
94 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>;
97 power_white: power_white {
98 label = "white:power";
99 gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
100 default-state = "keep";
104 label = "white:wifi";
105 gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>;
111 button_pins: button_pins {
113 pins = "gpio6", "gpio54", "gpio65";
115 drive-strength = <2>;
122 pins = "gpio7", "gpio8", "gpio9", "gpio22", "gpio23",
123 "gpio24","gpio26", "gpio53", "gpio64";
125 drive-strength = <2>;
130 usb0_pwr_en_pins: usb0_pwr_en_pins {
134 drive-strength = <12>;
140 usb1_pwr_en_pins: usb1_pwr_en_pins {
142 pins = "gpio16", "gpio68";
144 drive-strength = <12>;
162 pinctrl-0 = <&usb0_pwr_en_pins>;
163 pinctrl-names = "default";
169 pinctrl-0 = <&usb1_pwr_en_pins>;
170 pinctrl-names = "default";
175 reset-gpio = <&qcom_pinmux 3 GPIO_ACTIVE_HIGH>;
176 pinctrl-0 = <&pcie0_pins>;
177 pinctrl-names = "default";
182 reset-gpio = <&qcom_pinmux 48 GPIO_ACTIVE_HIGH>;
183 pinctrl-0 = <&pcie1_pins>;
184 pinctrl-names = "default";
185 max-link-speed = <1>;
191 pinctrl-0 = <&nand_pins>;
192 pinctrl-names = "default";
194 #address-cells = <1>;
199 compatible = "qcom,nandcs";
201 nand-ecc-strength = <4>;
202 nand-bus-width = <8>;
203 nand-ecc-step-size = <512>;
206 qcom,boot_pages_size = <0x1180000>;
209 compatible = "fixed-partitions";
210 #address-cells = <1>;
215 reg = <0x0000000 0x0c80000>;
221 reg = <0x0c80000 0x0500000>;
227 reg = <0x1180000 0x0080000>;
233 reg = <0x1200000 0x0140000>;
237 artbak: art@1340000 {
239 reg = <0x1340000 0x0140000>;
245 reg = <0x1480000 0x0400000>;
250 reg = <0x1880000 0x1C00000>;
255 reg = <0x3480000 0x4480000>;
261 reg = <0x7900000 0x0700000>;
271 pinctrl-0 = <&mdio0_pins>;
272 pinctrl-names = "default";
274 phy0: ethernet-phy@0 {
276 qca,ar8327-initvals = <
277 0x00004 0x7600000 /* PAD0_MODE */
278 0x00008 0x1000000 /* PAD5_MODE */
279 0x0000c 0x80 /* PAD6_MODE */
280 0x000e4 0x6a545 /* MAC_POWER_SEL */
281 0x000e0 0xc74164de /* SGMII_CTRL */
282 0x0007c 0x4e /* PORT0_STATUS */
283 0x00094 0x4e /* PORT6_STATUS */
287 phy4: ethernet-phy@4 {
297 pinctrl-0 = <&rgmii2_pins>;
298 pinctrl-names = "default";
300 mtd-mac-address = <&art 6>;
313 mtd-mac-address = <&art 0>;