1 #include "qcom-ipq8064-v2.0-smb208.dtsi"
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
7 model = "Netgear Nighthawk X4 D7800";
8 compatible = "netgear,d7800", "qcom,ipq8064";
11 reg = <0x42000000 0x1e000000>;
12 device_type = "memory";
17 reg = <0x5fe00000 0x200000>;
25 led-boot = &power_white;
26 led-failsafe = &power_amber;
27 led-running = &power_white;
28 led-upgrade = &power_amber;
32 bootargs = "rootfstype=squashfs noinitrd";
36 compatible = "gpio-keys";
37 pinctrl-0 = <&button_pins>;
38 pinctrl-names = "default";
42 gpios = <&qcom_pinmux 6 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_RFKILL>;
44 debounce-interval = <60>;
50 gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
52 debounce-interval = <60>;
58 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_WPS_BUTTON>;
60 debounce-interval = <60>;
66 compatible = "gpio-leds";
67 pinctrl-0 = <&led_pins>;
68 pinctrl-names = "default";
72 gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
77 gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
80 power_amber: power_amber {
81 function = LED_FUNCTION_POWER;
82 color = <LED_COLOR_ID_AMBER>;
83 gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
87 function = LED_FUNCTION_WAN;
88 color = <LED_COLOR_ID_WHITE>;
89 gpios = <&qcom_pinmux 22 GPIO_ACTIVE_HIGH>;
93 function = LED_FUNCTION_WAN;
94 color = <LED_COLOR_ID_AMBER>;
95 gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>;
99 function = LED_FUNCTION_WPS;
100 color = <LED_COLOR_ID_WHITE>;
101 gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>;
105 label = "white:esata";
106 gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>;
109 power_white: power_white {
110 function = LED_FUNCTION_POWER;
111 color = <LED_COLOR_ID_WHITE>;
112 gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
113 default-state = "keep";
117 label = "white:wifi";
118 gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>;
124 button_pins: button_pins {
126 pins = "gpio6", "gpio54", "gpio65";
128 drive-strength = <2>;
135 pins = "gpio7", "gpio8", "gpio9", "gpio22", "gpio23",
136 "gpio24","gpio26", "gpio53", "gpio64";
138 drive-strength = <2>;
143 usb0_pwr_en_pins: usb0_pwr_en_pins {
147 drive-strength = <12>;
153 usb1_pwr_en_pins: usb1_pwr_en_pins {
155 pins = "gpio16", "gpio68";
157 drive-strength = <12>;
183 pinctrl-0 = <&usb0_pwr_en_pins>;
184 pinctrl-names = "default";
198 pinctrl-0 = <&usb1_pwr_en_pins>;
199 pinctrl-names = "default";
204 reset-gpios = <&qcom_pinmux 3 GPIO_ACTIVE_HIGH>;
205 pinctrl-0 = <&pcie0_pins>;
206 pinctrl-names = "default";
209 reg = <0x00000000 0 0 0 0>;
210 #address-cells = <3>;
215 compatible = "pci168c,0040";
216 reg = <0x00010000 0 0 0 0>;
218 nvmem-cells = <&macaddr_art_6 1>, <&precal_art_1000>;
219 nvmem-cell-names = "mac-address", "pre-calibration";
226 reset-gpios = <&qcom_pinmux 48 GPIO_ACTIVE_HIGH>;
227 pinctrl-0 = <&pcie1_pins>;
228 pinctrl-names = "default";
229 max-link-speed = <1>;
232 reg = <0x00000000 0 0 0 0>;
233 #address-cells = <3>;
238 compatible = "pci168c,0040";
239 reg = <0x00010000 0 0 0 0>;
241 nvmem-cells = <&macaddr_art_6 2>, <&precal_art_5000>;
242 nvmem-cell-names = "mac-address", "pre-calibration";
249 reset-gpios = <&qcom_pinmux 63 GPIO_ACTIVE_HIGH>;
250 pinctrl-0 = <&pcie2_pins>;
251 pinctrl-names = "default";
259 compatible = "qcom,nandcs";
261 nand-ecc-strength = <4>;
262 nand-bus-width = <8>;
263 nand-ecc-step-size = <512>;
266 qcom,boot-partitions = <0x0 0x1180000>;
269 compatible = "fixed-partitions";
270 #address-cells = <1>;
275 reg = <0x0000000 0x0c80000>;
281 reg = <0x0c80000 0x0500000>;
287 reg = <0x1180000 0x0080000>;
293 reg = <0x1200000 0x0140000>;
297 compatible = "fixed-layout";
298 #address-cells = <1>;
301 macaddr_art_0: macaddr@0 {
305 macaddr_art_6: macaddr@6 {
306 compatible = "mac-base";
308 #nvmem-cell-cells = <1>;
311 precal_art_1000: precal@1000 {
312 reg = <0x1000 0x2f20>;
315 precal_art_5000: precal@5000 {
316 reg = <0x5000 0x2f20>;
321 artbak: art@1340000 {
323 reg = <0x1340000 0x0140000>;
329 reg = <0x1480000 0x0400000>;
334 reg = <0x1880000 0x6080000>;
339 reg = <0x7900000 0x0700000>;
349 pinctrl-0 = <&mdio0_pins>;
350 pinctrl-names = "default";
353 compatible = "qca,qca8337";
354 #address-cells = <1>;
359 #address-cells = <1>;
367 tx-internal-delay-ps = <1000>;
368 rx-internal-delay-ps = <1000>;
379 phy-mode = "internal";
380 phy-handle = <&phy_port1>;
386 phy-mode = "internal";
387 phy-handle = <&phy_port2>;
393 phy-mode = "internal";
394 phy-handle = <&phy_port3>;
400 phy-mode = "internal";
401 phy-handle = <&phy_port4>;
407 phy-mode = "internal";
408 phy-handle = <&phy_port5>;
416 qca,sgmii-enable-pll;
426 #address-cells = <1>;
457 pinctrl-0 = <&rgmii2_pins>;
458 pinctrl-names = "default";
460 nvmem-cells = <&macaddr_art_6 0>;
461 nvmem-cell-names = "mac-address";
474 nvmem-cells = <&macaddr_art_0>;
475 nvmem-cell-names = "mac-address";