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>;
26 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
31 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
35 label = "green:active";
36 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
39 led_power_red: power_red {
41 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
44 led_power_green: power_green {
45 label = "green:power";
46 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
52 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
56 label = "green:wlan5g";
57 gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
58 linux,default-trigger = "phy0tpt";
62 label = "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>;
99 compatible = "jedec,spi-nor";
101 spi-max-frequency = <25000000>;
104 compatible = "fixed-partitions";
105 #address-cells = <1>;
110 reg = <0x000000 0x040000>;
115 label = "u-boot-env";
116 reg = <0x040000 0x010000>;
121 compatible = "denx,uimage";
123 reg = <0x050000 0x6f0000>;
128 reg = <0x740000 0x0a0000>;
133 label = "board_data";
134 reg = <0x7e0000 0x010000>;
138 art: partition@7f0000 {
140 reg = <0x7f0000 0x010000>;
150 phy0: ethernet-phy@0 {
153 qca,ar8327-initvals = <
154 0x04 0x00000080 /* PORT0 PAD MODE CTRL */
155 0x50 0xcc35cc35 /* LED_CTRL0 */
156 0x54 0xca35ca35 /* LED_CTRL1 */
157 0x58 0xc935c935 /* LED_CTRL2 */
158 0x5c 0x03ffff00 /* LED_CTRL3 */
159 0x7c 0x0000007e /* PORT0_STATUS */
168 phy-handle = <&phy0>;