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 = "wg1200cr:green:power";
25 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
29 led_power_red: power_red {
30 label = "wg1200cr:red:power";
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>;
76 compatible = "jedec,spi-nor";
78 spi-max-frequency = <25000000>;
81 compatible = "fixed-partitions";
87 reg = <0x000000 0x040000>;
93 reg = <0x040000 0x010000>;
99 reg = <0x050000 0x010000>;
105 reg = <0x060000 0x010000>;
110 label = "wifimngdata";
111 reg = <0x070000 0x010000>;
116 compatible = "seama";
118 reg = <0x080000 0x770000>;
123 reg = <0x7f0000 0x010000>;
133 phy0: ethernet-phy@0 {
136 qca,ar8327-initvals = <
137 0x04 0x00000080 /* PORT0 PAD MODE CTRL */
138 0x50 0xcc35cc35 /* LED_CTRL0 */
139 0x54 0xca35ca35 /* LED_CTRL1 */
140 0x58 0xc935c935 /* LED_CTRL2 */
141 0x5c 0x03ffff00 /* LED_CTRL3 */
142 0x7c 0x0000007e /* PORT0_STATUS */
150 pll-data = <0x03000101 0x00000101 0x00001919>;
153 phy-handle = <&phy0>;
160 compatible = "pci168c,0056";
161 reg = <0x0000 0 0 0 0>;