1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca956x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 model = "NEC Aterm WG800HP";
10 compatible = "nec,wg800hp", "qca,qca9563";
13 led-boot = &led_power_green;
14 led-failsafe = &led_power_red;
15 led-running = &led_power_green;
16 led-upgrade = &led_power_green;
20 compatible = "gpio-leds";
21 pinctrl-names = "default";
22 pinctrl-0 = <&jtag_disable_pins>;
25 label = "wg800hp:red:wlan2g";
26 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
30 label = "wg800hp:red:active";
31 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
35 label = "wg800hp:green:active";
36 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
39 led_power_red: power_red {
40 label = "wg800hp:red:power";
41 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
44 led_power_green: power_green {
45 label = "wg800hp:green:power";
46 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
51 label = "wg800hp:red:wlan5g";
52 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
56 label = "wg800hp:green:wlan5g";
57 gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
58 linux,default-trigger = "phy0tpt";
62 label = "wg800hp:green:wlan2g";
63 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
64 linux,default-trigger = "phy1tpt";
69 compatible = "gpio-keys";
73 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
75 linux,input-type = <EV_SW>;
76 debounce-interval = <60>;
81 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
82 linux,code = <KEY_RESTART>;
83 debounce-interval = <60>;
88 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
89 linux,code = <KEY_WPS_BUTTON>;
90 debounce-interval = <60>;
100 compatible = "jedec,spi-nor";
102 spi-max-frequency = <25000000>;
105 compatible = "fixed-partitions";
106 #address-cells = <1>;
111 reg = <0x000000 0x040000>;
116 label = "u-boot-env";
117 reg = <0x040000 0x010000>;
122 compatible = "denx,uimage";
124 reg = <0x050000 0x6f0000>;
129 reg = <0x740000 0x0a0000>;
134 label = "board_data";
135 reg = <0x7e0000 0x010000>;
139 art: partition@7f0000 {
141 reg = <0x7f0000 0x010000>;
151 phy0: ethernet-phy@0 {
154 qca,ar8327-initvals = <
155 0x04 0x00000080 /* PORT0 PAD MODE CTRL */
156 0x50 0xcc35cc35 /* LED_CTRL0 */
157 0x54 0xca35ca35 /* LED_CTRL1 */
158 0x58 0xc935c935 /* LED_CTRL2 */
159 0x5c 0x03ffff00 /* LED_CTRL3 */
160 0x7c 0x0000007e /* PORT0_STATUS */
169 phy-handle = <&phy0>;