1 #include "qcom-ipq8064-v2.0-smb208.dtsi"
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
7 model = "NEC Aterm WG2600HP";
8 compatible = "nec,wg2600hp", "qcom,ipq8064";
11 reg = <0x42000000 0x1e000000>;
12 device_type = "memory";
18 led-boot = &power_green;
19 led-failsafe = &power_red;
20 led-running = &power_green;
21 led-upgrade = &power_green;
25 compatible = "gpio-keys";
26 pinctrl-0 = <&button_pins>;
27 pinctrl-names = "default";
31 gpios = <&qcom_pinmux 16 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_WPS_BUTTON>;
33 debounce-interval = <60>;
39 gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
41 debounce-interval = <60>;
47 gpios = <&qcom_pinmux 24 GPIO_ACTIVE_LOW>;
49 linux,input-type = <EV_SW>;
50 debounce-interval = <60>;
56 gpios = <&qcom_pinmux 25 GPIO_ACTIVE_LOW>;
58 linux,input-type = <EV_SW>;
59 debounce-interval = <60>;
65 compatible = "gpio-leds";
66 pinctrl-0 = <&led_pins>;
67 pinctrl-names = "default";
70 label = "green:converter";
71 gpios = <&qcom_pinmux 6 GPIO_ACTIVE_HIGH>;
74 power_red: power_red {
75 function = LED_FUNCTION_POWER;
76 color = <LED_COLOR_ID_RED>;
77 gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
81 label = "green:active";
82 gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
87 gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
90 power_green: power_green {
91 function = LED_FUNCTION_POWER;
92 color = <LED_COLOR_ID_GREEN>;
93 gpios = <&qcom_pinmux 14 GPIO_ACTIVE_HIGH>;
97 label = "red:converter";
98 gpios = <&qcom_pinmux 15 GPIO_ACTIVE_HIGH>;
102 label = "green:wlan2g";
103 gpios = <&qcom_pinmux 55 GPIO_ACTIVE_HIGH>;
107 label = "red:wlan2g";
108 gpios = <&qcom_pinmux 56 GPIO_ACTIVE_HIGH>;
112 label = "green:wlan5g";
113 gpios = <&qcom_pinmux 57 GPIO_ACTIVE_HIGH>;
117 label = "red:wlan5g";
118 gpios = <&qcom_pinmux 58 GPIO_ACTIVE_HIGH>;
123 gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>;
128 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_HIGH>;
144 pinctrl-0 = <&mdio0_pins>;
145 pinctrl-names = "default";
148 compatible = "qca,qca8337";
149 #address-cells = <1>;
154 #address-cells = <1>;
162 tx-internal-delay-ps = <1000>;
173 phy-mode = "internal";
174 phy-handle = <&phy_port1>;
180 phy-mode = "internal";
181 phy-handle = <&phy_port2>;
187 phy-mode = "internal";
188 phy-handle = <&phy_port3>;
194 phy-mode = "internal";
195 phy-handle = <&phy_port4>;
201 phy-mode = "internal";
202 phy-handle = <&phy_port5>;
210 qca,sgmii-enable-pll;
211 qca,sgmii-rxclk-falling-edge;
221 #address-cells = <1>;
253 pinctrl-0 = <&rgmii2_pins>;
254 pinctrl-names = "default";
256 nvmem-cells = <&macaddr_PRODUCTDATA_6>;
257 nvmem-cell-names = "mac-address";
271 nvmem-cells = <&macaddr_PRODUCTDATA_0>;
272 nvmem-cell-names = "mac-address";
283 qcom,mode = <GSBI_PROT_SPI>;
288 pinctrl-0 = <&spi_pins>;
289 pinctrl-names = "default";
291 cs-gpios = <&qcom_pinmux 20 GPIO_ACTIVE_HIGH>;
294 compatible = "jedec,spi-nor";
295 spi-max-frequency = <50000000>;
299 compatible = "fixed-partitions";
300 #address-cells = <1>;
311 reg = <0x20000 0x20000>;
317 reg = <0x40000 0x40000>;
323 reg = <0x80000 0x80000>;
329 reg = <0x100000 0x10000>;
335 reg = <0x110000 0x10000>;
341 reg = <0x120000 0x80000>;
347 reg = <0x1a0000 0x80000>;
353 reg = <0x220000 0x80000>;
359 reg = <0x2a0000 0x10000>;
362 PRODUCTDATA: PRODUCTDATA@2b0000 {
363 label = "PRODUCTDATA";
364 reg = <0x2b0000 0x30000>;
368 compatible = "fixed-layout";
369 #address-cells = <1>;
372 macaddr_PRODUCTDATA_0: macaddr@0 {
376 macaddr_PRODUCTDATA_6: macaddr@6 {
380 macaddr_PRODUCTDATA_c: macaddr@c {
384 macaddr_PRODUCTDATA_12: macaddr@12 {
392 reg = <0x2e0000 0x40000>;
396 compatible = "fixed-layout";
397 #address-cells = <1>;
400 precal_ART_1000: precal@1000 {
401 reg = <0x1000 0x2f20>;
404 precal_ART_5000: precal@5000 {
405 reg = <0x5000 0x2f20>;
412 reg = <0x320000 0x40000>;
418 reg = <0x360000 0x500000>;
423 compatible = "denx,uimage";
425 reg = <0x860000 0x17a0000>;
443 pinctrl-0 = <&usb_pwr_en_pins>;
444 pinctrl-names = "default";
463 reg = <0x00000000 0 0 0 0>;
464 #address-cells = <3>;
469 compatible = "pci168c,0040";
470 reg = <0x00010000 0 0 0 0>;
472 nvmem-cells = <&macaddr_PRODUCTDATA_12>, <&precal_ART_1000>;
473 nvmem-cell-names = "mac-address", "pre-calibration";
480 max-link-speed = <1>;
483 reg = <0x00000000 0 0 0 0>;
484 #address-cells = <3>;
489 compatible = "pci168c,0040";
490 reg = <0x00010000 0 0 0 0>;
492 nvmem-cells = <&macaddr_PRODUCTDATA_c>, <&precal_ART_5000>;
493 nvmem-cell-names = "mac-address", "pre-calibration";
499 button_pins: button_pins {
501 pins = "gpio16", "gpio54", "gpio24", "gpio25";
503 drive-strength = <2>;
510 pins = "gpio6", "gpio7", "gpio8", "gpio9", "gpio14",
511 "gpio15", "gpio55", "gpio56", "gpio57", "gpio58",
514 drive-strength = <2>;
521 pins = "gpio18", "gpio19", "gpio21";
527 pins = "gpio18", "gpio19";
528 drive-strength = <10>;
533 drive-strength = <10>;
539 drive-strength = <12>;
543 usb_pwr_en_pins: usb_pwr_en_pins {
547 drive-strength = <2>;