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 WG1200CR";
10 compatible = "nec,wg1200cr", "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 /* other LEDs are connected to ath10k (QCA9888) gpiochip */
23 led_power_green: power_green {
24 label = "green:power";
25 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
29 led_power_red: power_red {
31 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-keys";
40 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
42 debounce-interval = <60>;
47 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_WPS_BUTTON>;
49 debounce-interval = <60>;
54 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
56 linux,input-type = <EV_SW>;
57 debounce-interval = <60>;
62 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
64 linux,input-type = <EV_SW>;
65 debounce-interval = <60>;
74 compatible = "jedec,spi-nor";
76 spi-max-frequency = <25000000>;
79 compatible = "fixed-partitions";
85 reg = <0x000000 0x040000>;
91 reg = <0x040000 0x010000>;
97 reg = <0x050000 0x010000>;
103 reg = <0x060000 0x010000>;
108 label = "wifimngdata";
109 reg = <0x070000 0x010000>;
114 compatible = "seama";
116 reg = <0x080000 0x770000>;
121 reg = <0x7f0000 0x010000>;
131 phy0: ethernet-phy@0 {
134 qca,ar8327-initvals = <
135 0x04 0x00000080 /* PORT0 PAD MODE CTRL */
136 0x50 0xcc35cc35 /* LED_CTRL0 */
137 0x54 0xca35ca35 /* LED_CTRL1 */
138 0x58 0xc935c935 /* LED_CTRL2 */
139 0x5c 0x03ffff00 /* LED_CTRL3 */
140 0x7c 0x0000007e /* PORT0_STATUS */
148 pll-data = <0x03000101 0x00000101 0x00001919>;
151 phy-handle = <&phy0>;
158 compatible = "pci168c,0056";
159 reg = <0x0000 0 0 0 0>;