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";
19 reg = <0x41200000 0x300000>;
25 serial0 = &gsbi4_serial;
28 led-boot = &power_green;
29 led-failsafe = &power_red;
30 led-running = &power_green;
31 led-upgrade = &power_green;
35 stdout-path = "serial0:115200n8";
40 compatible = "virtual,mdio-gpio";
43 gpios = <&qcom_pinmux 1 GPIO_ACTIVE_HIGH &qcom_pinmux 0 GPIO_ACTIVE_HIGH>;
44 pinctrl-0 = <&mdio0_pins>;
45 pinctrl-names = "default";
49 qca,ar8327-initvals = <
50 0x00004 0x06000000 /* PAD0_MODE */
51 0x0000c 0x00080080 /* PAD6_MODE */
52 0x000e4 0x0006a545 /* MAC_POWER_SEL */
53 0x000e0 0xc74164de /* SGMII_CTRL */
54 0x0007c 0x0000004e /* PORT0_STATUS */
55 0x00094 0x0000004e /* PORT6_STATUS */
66 compatible = "gpio-keys";
67 pinctrl-0 = <&button_pins>;
68 pinctrl-names = "default";
72 gpios = <&qcom_pinmux 16 GPIO_ACTIVE_LOW>;
73 linux,code = <KEY_WPS_BUTTON>;
78 gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
79 linux,code = <KEY_RESTART>;
84 gpios = <&qcom_pinmux 24 GPIO_ACTIVE_LOW>;
86 linux,input-type = <EV_SW>;
91 gpios = <&qcom_pinmux 25 GPIO_ACTIVE_LOW>;
93 linux,input-type = <EV_SW>;
98 compatible = "gpio-leds";
99 pinctrl-0 = <&led_pins>;
100 pinctrl-names = "default";
103 label = "wg2600hp:green:converter";
104 gpios = <&qcom_pinmux 6 GPIO_ACTIVE_HIGH>;
107 power_red: power_red {
108 label = "wg2600hp:red:power";
109 gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
113 label = "wg2600hp:green:active";
114 gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
118 label = "wg2600hp:red:active";
119 gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
122 power_green: power_green {
123 label = "wg2600hp:green:power";
124 gpios = <&qcom_pinmux 14 GPIO_ACTIVE_HIGH>;
128 label = "wg2600hp:red:converter";
129 gpios = <&qcom_pinmux 15 GPIO_ACTIVE_HIGH>;
133 label = "wg2600hp:green:wlan2g";
134 gpios = <&qcom_pinmux 55 GPIO_ACTIVE_HIGH>;
138 label = "wg2600hp:red:wlan2g";
139 gpios = <&qcom_pinmux 56 GPIO_ACTIVE_HIGH>;
143 label = "wg2600hp:green:wlan5g";
144 gpios = <&qcom_pinmux 57 GPIO_ACTIVE_HIGH>;
148 label = "wg2600hp:red:wlan5g";
149 gpios = <&qcom_pinmux 58 GPIO_ACTIVE_HIGH>;
153 label = "wg2600hp:green:tv";
154 gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>;
158 label = "wg2600hp:red:tv";
159 gpios = <&qcom_pinmux 65 GPIO_ACTIVE_HIGH>;
174 pinctrl-0 = <&rgmii2_pins>;
175 pinctrl-names = "default";
177 mtd-mac-address = <&PRODUCTDATA 6>;
191 mtd-mac-address = <&PRODUCTDATA 0>;
201 qcom,mode = <GSBI_PROT_I2C_UART>;
211 qcom,mode = <GSBI_PROT_SPI>;
216 pinctrl-0 = <&spi_pins>;
217 pinctrl-names = "default";
219 cs-gpios = <&qcom_pinmux 20 GPIO_ACTIVE_HIGH>;
222 compatible = "jedec,spi-nor";
223 spi-max-frequency = <50000000>;
227 compatible = "fixed-partitions";
228 #address-cells = <1>;
239 reg = <0x20000 0x20000>;
245 reg = <0x40000 0x40000>;
251 reg = <0x80000 0x80000>;
257 reg = <0x100000 0x10000>;
263 reg = <0x110000 0x10000>;
269 reg = <0x120000 0x80000>;
275 reg = <0x1a0000 0x80000>;
281 reg = <0x220000 0x80000>;
287 reg = <0x2a0000 0x10000>;
290 PRODUCTDATA: PRODUCTDATA@2b0000 {
291 label = "PRODUCTDATA";
292 reg = <0x2b0000 0x30000>;
298 reg = <0x2e0000 0x40000>;
304 reg = <0x320000 0x40000>;
310 reg = <0x360000 0x500000>;
315 compatible = "denx,uimage";
317 reg = <0x860000 0x17a0000>;
324 &hs_phy_0 { /* USB3 port 0 HS phy */
328 &ss_phy_0 { /* USB3 port 0 SS phy */
332 &hs_phy_1 { /* USB3 port 1 HS phy */
336 &ss_phy_1 { /* USB3 port 1 SS phy */
343 pinctrl-0 = <&usb_pwr_en_pins>;
344 pinctrl-names = "default";
361 button_pins: button_pins {
363 pins = "gpio16", "gpio54", "gpio24", "gpio25";
365 drive-strength = <2>;
370 i2c4_pins: i2c4_pinmux {
372 pins = "gpio12", "gpio13";
374 drive-strength = <12>;
381 pins = "gpio6", "gpio7", "gpio8", "gpio9", "gpio14",
382 "gpio15", "gpio55", "gpio56", "gpio57", "gpio58",
385 drive-strength = <2>;
392 pins = "gpio18", "gpio19", "gpio21";
398 pins = "gpio18", "gpio19";
399 drive-strength = <10>;
404 drive-strength = <10>;
410 drive-strength = <12>;
414 mdio0_pins: mdio0_pins {
416 pins = "gpio0", "gpio1";
418 drive-strength = <8>;
423 rgmii2_pins: rgmii2_pins {
425 pins = "gpio27", "gpio28", "gpio29", "gpio30", "gpio31", "gpio32",
426 "gpio51", "gpio52", "gpio59", "gpio60", "gpio61", "gpio62" ;
428 drive-strength = <8>;
433 usb_pwr_en_pins: usb_pwr_en_pins {
437 drive-strength = <2>;