1 #include "qcom-ipq8064-v2.0-smb208.dtsi"
3 #include <dt-bindings/input/input.h>
6 model = "NEC Aterm WG2600HP";
7 compatible = "nec,wg2600hp", "qcom,ipq8064";
10 reg = <0x42000000 0x1e000000>;
11 device_type = "memory";
17 led-boot = &power_green;
18 led-failsafe = &power_red;
19 led-running = &power_green;
20 led-upgrade = &power_green;
24 compatible = "gpio-keys";
25 pinctrl-0 = <&button_pins>;
26 pinctrl-names = "default";
30 gpios = <&qcom_pinmux 16 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_WPS_BUTTON>;
32 debounce-interval = <60>;
38 gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RESTART>;
40 debounce-interval = <60>;
46 gpios = <&qcom_pinmux 24 GPIO_ACTIVE_LOW>;
48 linux,input-type = <EV_SW>;
49 debounce-interval = <60>;
55 gpios = <&qcom_pinmux 25 GPIO_ACTIVE_LOW>;
57 linux,input-type = <EV_SW>;
58 debounce-interval = <60>;
64 compatible = "gpio-leds";
65 pinctrl-0 = <&led_pins>;
66 pinctrl-names = "default";
69 label = "green:converter";
70 gpios = <&qcom_pinmux 6 GPIO_ACTIVE_HIGH>;
73 power_red: power_red {
75 gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
79 label = "green:active";
80 gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
85 gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
88 power_green: power_green {
89 label = "green:power";
90 gpios = <&qcom_pinmux 14 GPIO_ACTIVE_HIGH>;
94 label = "red:converter";
95 gpios = <&qcom_pinmux 15 GPIO_ACTIVE_HIGH>;
99 label = "green:wlan2g";
100 gpios = <&qcom_pinmux 55 GPIO_ACTIVE_HIGH>;
104 label = "red:wlan2g";
105 gpios = <&qcom_pinmux 56 GPIO_ACTIVE_HIGH>;
109 label = "green:wlan5g";
110 gpios = <&qcom_pinmux 57 GPIO_ACTIVE_HIGH>;
114 label = "red:wlan5g";
115 gpios = <&qcom_pinmux 58 GPIO_ACTIVE_HIGH>;
120 gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>;
125 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_HIGH>;
141 pinctrl-0 = <&mdio0_pins>;
142 pinctrl-names = "default";
145 compatible = "qca,qca8337";
146 #address-cells = <1>;
151 #address-cells = <1>;
159 tx-internal-delay-ps = <1000>;
170 phy-mode = "internal";
171 phy-handle = <&phy_port1>;
177 phy-mode = "internal";
178 phy-handle = <&phy_port2>;
184 phy-mode = "internal";
185 phy-handle = <&phy_port3>;
191 phy-mode = "internal";
192 phy-handle = <&phy_port4>;
198 phy-mode = "internal";
199 phy-handle = <&phy_port5>;
207 qca,sgmii-enable-pll;
208 qca,sgmii-rxclk-falling-edge;
218 #address-cells = <1>;
250 pinctrl-0 = <&rgmii2_pins>;
251 pinctrl-names = "default";
253 nvmem-cells = <&macaddr_PRODUCTDATA_6>;
254 nvmem-cell-names = "mac-address";
268 nvmem-cells = <&macaddr_PRODUCTDATA_0>;
269 nvmem-cell-names = "mac-address";
280 qcom,mode = <GSBI_PROT_SPI>;
285 pinctrl-0 = <&spi_pins>;
286 pinctrl-names = "default";
288 cs-gpios = <&qcom_pinmux 20 GPIO_ACTIVE_HIGH>;
291 compatible = "jedec,spi-nor";
292 spi-max-frequency = <50000000>;
296 compatible = "fixed-partitions";
297 #address-cells = <1>;
308 reg = <0x20000 0x20000>;
314 reg = <0x40000 0x40000>;
320 reg = <0x80000 0x80000>;
326 reg = <0x100000 0x10000>;
332 reg = <0x110000 0x10000>;
338 reg = <0x120000 0x80000>;
344 reg = <0x1a0000 0x80000>;
350 reg = <0x220000 0x80000>;
356 reg = <0x2a0000 0x10000>;
359 PRODUCTDATA: PRODUCTDATA@2b0000 {
360 label = "PRODUCTDATA";
361 reg = <0x2b0000 0x30000>;
365 compatible = "fixed-layout";
366 #address-cells = <1>;
369 macaddr_PRODUCTDATA_0: macaddr@0 {
373 macaddr_PRODUCTDATA_6: macaddr@6 {
377 macaddr_PRODUCTDATA_c: macaddr@c {
381 macaddr_PRODUCTDATA_12: macaddr@12 {
389 reg = <0x2e0000 0x40000>;
393 compatible = "fixed-layout";
394 #address-cells = <1>;
397 precal_ART_1000: precal@1000 {
398 reg = <0x1000 0x2f20>;
401 precal_ART_5000: precal@5000 {
402 reg = <0x5000 0x2f20>;
409 reg = <0x320000 0x40000>;
415 reg = <0x360000 0x500000>;
420 compatible = "denx,uimage";
422 reg = <0x860000 0x17a0000>;
440 pinctrl-0 = <&usb_pwr_en_pins>;
441 pinctrl-names = "default";
460 reg = <0x00000000 0 0 0 0>;
461 #address-cells = <3>;
466 compatible = "pci168c,0040";
467 reg = <0x00010000 0 0 0 0>;
469 nvmem-cells = <&macaddr_PRODUCTDATA_12>, <&precal_ART_1000>;
470 nvmem-cell-names = "mac-address", "pre-calibration";
477 max-link-speed = <1>;
480 reg = <0x00000000 0 0 0 0>;
481 #address-cells = <3>;
486 compatible = "pci168c,0040";
487 reg = <0x00010000 0 0 0 0>;
489 nvmem-cells = <&macaddr_PRODUCTDATA_c>, <&precal_ART_5000>;
490 nvmem-cell-names = "mac-address", "pre-calibration";
496 button_pins: button_pins {
498 pins = "gpio16", "gpio54", "gpio24", "gpio25";
500 drive-strength = <2>;
507 pins = "gpio6", "gpio7", "gpio8", "gpio9", "gpio14",
508 "gpio15", "gpio55", "gpio56", "gpio57", "gpio58",
511 drive-strength = <2>;
518 pins = "gpio18", "gpio19", "gpio21";
524 pins = "gpio18", "gpio19";
525 drive-strength = <10>;
530 drive-strength = <10>;
536 drive-strength = <12>;
540 usb_pwr_en_pins: usb_pwr_en_pins {
544 drive-strength = <2>;