ath79: add support for I-O DATA WN-AC1600DGR
[openwrt/staging/dedeckeh.git] / target / linux / ath79 / dts / qca9557_iodata_wn-ac1600dgr.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6
7 #include "qca9557_iodata_wn-ac-dgr.dtsi"
8
9 / {
10 compatible = "iodata,wn-ac1600dgr", "qca,qca9557";
11 model = "I-O DATA WN-AC1600DGR";
12 };
13
14 &leds {
15 function {
16 label = "iodata:green:function";
17 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
18 };
19 };
20
21 &keys {
22 function {
23 label = "function";
24 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
25 linux,code = <BTN_1>;
26 debounce-interval = <60>;
27 };
28 };