mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 08:21:14 +00:00
29 lines
511 B
Plaintext
29 lines
511 B
Plaintext
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
||
|
/dts-v1/;
|
||
|
|
||
|
#include <dt-bindings/gpio/gpio.h>
|
||
|
#include <dt-bindings/input/input.h>
|
||
|
|
||
|
#include "qca9557_iodata_wn-ac-dgr.dtsi"
|
||
|
|
||
|
/ {
|
||
|
compatible = "iodata,wn-ac1600dgr", "qca,qca9557";
|
||
|
model = "I-O DATA WN-AC1600DGR";
|
||
|
};
|
||
|
|
||
|
&leds {
|
||
|
function {
|
||
|
label = "iodata:green:function";
|
||
|
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
&keys {
|
||
|
function {
|
||
|
label = "function";
|
||
|
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
|
||
|
linux,code = <BTN_1>;
|
||
|
debounce-interval = <60>;
|
||
|
};
|
||
|
};
|