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>;
40 gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
46 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_WPS_BUTTON>;
52 compatible = "gpio-leds";
53 pinctrl-0 = <&led_pins>;
54 pinctrl-names = "default";
58 gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
63 gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
66 power_amber: power_amber {
67 label = "amber:power";
68 gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
73 gpios = <&qcom_pinmux 22 GPIO_ACTIVE_HIGH>;
78 gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>;
83 gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>;
87 label = "white:esata";
88 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>;
91 power_white: power_white {
92 label = "white:power";
93 gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
94 default-state = "keep";
99 gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>;
105 button_pins: button_pins {
107 pins = "gpio6", "gpio54", "gpio65";
109 drive-strength = <2>;
116 pins = "gpio7", "gpio8", "gpio9", "gpio22", "gpio23",
117 "gpio24","gpio26", "gpio53", "gpio64";
119 drive-strength = <2>;
124 usb0_pwr_en_pins: usb0_pwr_en_pins {
128 drive-strength = <12>;
134 usb1_pwr_en_pins: usb1_pwr_en_pins {
136 pins = "gpio16", "gpio68";
138 drive-strength = <12>;
156 pinctrl-0 = <&usb0_pwr_en_pins>;
157 pinctrl-names = "default";
163 pinctrl-0 = <&usb1_pwr_en_pins>;
164 pinctrl-names = "default";
169 reset-gpio = <&qcom_pinmux 3 GPIO_ACTIVE_HIGH>;
170 pinctrl-0 = <&pcie0_pins>;
171 pinctrl-names = "default";
176 reset-gpio = <&qcom_pinmux 48 GPIO_ACTIVE_HIGH>;
177 pinctrl-0 = <&pcie1_pins>;
178 pinctrl-names = "default";
179 max-link-speed = <1>;
185 pinctrl-0 = <&nand_pins>;
186 pinctrl-names = "default";
188 #address-cells = <1>;
193 compatible = "qcom,nandcs";
195 nand-ecc-strength = <4>;
196 nand-bus-width = <8>;
197 nand-ecc-step-size = <512>;
200 qcom,boot_pages_size = <0x1180000>;
203 compatible = "fixed-partitions";
204 #address-cells = <1>;
209 reg = <0x0000000 0x0c80000>;
215 reg = <0x0c80000 0x0500000>;
221 reg = <0x1180000 0x0080000>;
227 reg = <0x1200000 0x0140000>;
231 artbak: art@1340000 {
233 reg = <0x1340000 0x0140000>;
239 reg = <0x1480000 0x0400000>;
244 reg = <0x1880000 0x1C00000>;
249 reg = <0x3480000 0x4480000>;
255 reg = <0x7900000 0x0700000>;
265 pinctrl-0 = <&mdio0_pins>;
266 pinctrl-names = "default";
268 phy0: ethernet-phy@0 {
270 qca,ar8327-initvals = <
271 0x00004 0x7600000 /* PAD0_MODE */
272 0x00008 0x1000000 /* PAD5_MODE */
273 0x0000c 0x80 /* PAD6_MODE */
274 0x000e4 0x6a545 /* MAC_POWER_SEL */
275 0x000e0 0xc74164de /* SGMII_CTRL */
276 0x0007c 0x4e /* PORT0_STATUS */
277 0x00094 0x4e /* PORT6_STATUS */
281 phy4: ethernet-phy@4 {
291 pinctrl-0 = <&rgmii2_pins>;
292 pinctrl-names = "default";
294 mtd-mac-address = <&art 6>;
307 mtd-mac-address = <&art 0>;