mirror of https://github.com/hak5/openwrt.git
84 lines
1.4 KiB
Plaintext
84 lines
1.4 KiB
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 "qca9558_devolo_dvl1xxx.dtsi"
|
|
|
|
/ {
|
|
compatible = "devolo,dvl1750e", "qca,qca9557";
|
|
model = "devolo WiFi pro 1750e";
|
|
|
|
aliases {
|
|
led-boot = &status_blue;
|
|
led-failsafe = &status_red;
|
|
led-running = &status_blue;
|
|
led-upgrade = &status_red;
|
|
};
|
|
|
|
keys {
|
|
wps {
|
|
label = "WPS Button";
|
|
linux,code = <KEY_WPS_BUTTON>;
|
|
gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
|
|
debounce-interval = <60>;
|
|
};
|
|
|
|
usb_eject {
|
|
label = "USB Eject Button";
|
|
linux,code = <BTN_0>;
|
|
linux,input-type = <EV_SW>;
|
|
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
|
|
debounce-interval = <60>;
|
|
};
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
status_blue: status_blue {
|
|
label = "dvl1750e:blue:status";
|
|
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
|
|
default-state = "on";
|
|
};
|
|
|
|
status_red: status_red {
|
|
label = "dvl1750e:red:status";
|
|
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
beeper {
|
|
compatible = "gpio-beeper";
|
|
gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
|
|
gpio_export {
|
|
compatible = "gpio-export";
|
|
|
|
gpio_usb_power {
|
|
gpio-export,name = "devolo:power:usb";
|
|
gpio-export,output = <1>;
|
|
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&usb_phy0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&usb0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&mdio1 {
|
|
status = "okay";
|
|
};
|
|
|
|
ð1 {
|
|
status = "okay";
|
|
};
|