1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
7 #include "qca9557.dtsi"
10 compatible = "iodata,wn-ac1600dgr2", "qca,qca9557";
11 model = "I-O DATA WN-AC1600DGR2";
15 led-failsafe = &power;
21 bootargs = "console=ttyS0,115200n8";
25 compatible = "gpio-leds";
28 label = "wn-ac1600dgr2:green:power";
29 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
34 label = "wn-ac1600dgr2:green:copy";
35 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
36 default-state = "off";
40 label = "wn-ac1600dgr2:green:eco";
41 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
42 default-state = "off";
46 label = "wn-ac1600dgr2:green:wlan5g";
47 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
48 default-state = "off";
49 linux,default-trigger = "phy0tpt";
53 label = "wn-ac1600dgr2:green:wlan2g";
54 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
55 default-state = "off";
56 linux,default-trigger = "phy1tpt";
60 label = "wn-ac1600dgr2:amber:notification";
61 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
62 default-state = "off";
67 compatible = "gpio-keys-polled";
72 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
74 debounce-interval = <60>;
79 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
81 linux,input-type = <EV_SW>;
82 debounce-interval = <60>;
87 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
89 debounce-interval = <60>;
94 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
95 linux,code = <KEY_WPS_BUTTON>;
96 debounce-interval = <60>;
101 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
102 linux,code = <KEY_RESTART>;
103 debounce-interval = <60>;
108 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
109 linux,code = <BTN_0>;
110 linux,input-type = <EV_SW>;
111 debounce-interval = <60>;
121 compatible = "jedec,spi-nor";
123 spi-max-frequency = <25000000>;
126 compatible = "fixed-partitions";
127 #address-cells = <1>;
132 reg = <0x000000 0x030000>;
137 label = "u-boot-env";
138 reg = <0x030000 0x010000>;
144 reg = <0x040000 0xe50000>;
148 label = "manufacture";
149 reg = <0xe90000 0x100000>;
155 reg = <0xf90000 0x010000>;
161 reg = <0xfa0000 0x050000>;
165 art: partition@ff0000 {
167 reg = <0xff0000 0x010000>;
177 phy0: ethernet-phy@0 {
180 qca,ar8327-initvals = <
181 0x04 0x87600000 /* PORT0 PAD MODE CTRL */
182 0x7c 0x0000007e /* PORT0_STATUS */
190 pll-data = <0x56000000 0x00000101 0x00001616>;
191 phy-handle = <&phy0>;
198 compatible = "pci168c,003c";
199 reg = <0x0000 0 0 0 0>;