1 #include "qcom-ipq8064-v2.0.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>;
36 gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
42 gpios = <&qcom_pinmux 24 GPIO_ACTIVE_LOW>;
44 linux,input-type = <EV_SW>;
49 gpios = <&qcom_pinmux 25 GPIO_ACTIVE_LOW>;
51 linux,input-type = <EV_SW>;
56 compatible = "gpio-leds";
57 pinctrl-0 = <&led_pins>;
58 pinctrl-names = "default";
61 label = "wg2600hp:green:converter";
62 gpios = <&qcom_pinmux 6 GPIO_ACTIVE_HIGH>;
65 power_red: power_red {
66 label = "wg2600hp:red:power";
67 gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
71 label = "wg2600hp:green:active";
72 gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
76 label = "wg2600hp:red:active";
77 gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
80 power_green: power_green {
81 label = "wg2600hp:green:power";
82 gpios = <&qcom_pinmux 14 GPIO_ACTIVE_HIGH>;
86 label = "wg2600hp:red:converter";
87 gpios = <&qcom_pinmux 15 GPIO_ACTIVE_HIGH>;
91 label = "wg2600hp:green:wlan2g";
92 gpios = <&qcom_pinmux 55 GPIO_ACTIVE_HIGH>;
96 label = "wg2600hp:red:wlan2g";
97 gpios = <&qcom_pinmux 56 GPIO_ACTIVE_HIGH>;
101 label = "wg2600hp:green:wlan5g";
102 gpios = <&qcom_pinmux 57 GPIO_ACTIVE_HIGH>;
106 label = "wg2600hp:red:wlan5g";
107 gpios = <&qcom_pinmux 58 GPIO_ACTIVE_HIGH>;
111 label = "wg2600hp:green:tv";
112 gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>;
116 label = "wg2600hp:red:tv";
117 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_HIGH>;
129 pinctrl-0 = <&mdio0_pins>;
130 pinctrl-names = "default";
134 qca,ar8327-initvals = <
135 0x00004 0x06000000 /* PAD0_MODE */
136 0x0000c 0x00080080 /* PAD6_MODE */
137 0x000e4 0x0006a545 /* MAC_POWER_SEL */
138 0x000e0 0xc74164de /* SGMII_CTRL */
139 0x0007c 0x0000004e /* PORT0_STATUS */
140 0x00094 0x0000004e /* PORT6_STATUS */
155 pinctrl-0 = <&rgmii2_pins>;
156 pinctrl-names = "default";
158 mtd-mac-address = <&PRODUCTDATA 6>;
172 mtd-mac-address = <&PRODUCTDATA 0>;
183 qcom,mode = <GSBI_PROT_SPI>;
188 pinctrl-0 = <&spi_pins>;
189 pinctrl-names = "default";
191 cs-gpios = <&qcom_pinmux 20 GPIO_ACTIVE_HIGH>;
194 compatible = "jedec,spi-nor";
195 spi-max-frequency = <50000000>;
199 compatible = "fixed-partitions";
200 #address-cells = <1>;
211 reg = <0x20000 0x20000>;
217 reg = <0x40000 0x40000>;
223 reg = <0x80000 0x80000>;
229 reg = <0x100000 0x10000>;
235 reg = <0x110000 0x10000>;
241 reg = <0x120000 0x80000>;
247 reg = <0x1a0000 0x80000>;
253 reg = <0x220000 0x80000>;
259 reg = <0x2a0000 0x10000>;
262 PRODUCTDATA: PRODUCTDATA@2b0000 {
263 label = "PRODUCTDATA";
264 reg = <0x2b0000 0x30000>;
270 reg = <0x2e0000 0x40000>;
276 reg = <0x320000 0x40000>;
282 reg = <0x360000 0x500000>;
287 compatible = "denx,uimage";
289 reg = <0x860000 0x17a0000>;
299 pinctrl-0 = <&usb_pwr_en_pins>;
300 pinctrl-names = "default";
317 button_pins: button_pins {
319 pins = "gpio16", "gpio54", "gpio24", "gpio25";
321 drive-strength = <2>;
328 pins = "gpio6", "gpio7", "gpio8", "gpio9", "gpio14",
329 "gpio15", "gpio55", "gpio56", "gpio57", "gpio58",
332 drive-strength = <2>;
339 pins = "gpio18", "gpio19", "gpio21";
345 pins = "gpio18", "gpio19";
346 drive-strength = <10>;
351 drive-strength = <10>;
357 drive-strength = <12>;
361 usb_pwr_en_pins: usb_pwr_en_pins {
365 drive-strength = <2>;