ath79: fix nanobeam ac ethernet interface
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9558_devolo_dvl1750e.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca9558_devolo_dvl1xxx.dtsi"
4
5 / {
6 compatible = "devolo,dvl1750e", "qca,qca9558";
7 model = "devolo WiFi pro 1750e";
8
9 aliases {
10 led-boot = &led_status_blue;
11 led-failsafe = &led_status_red;
12 led-running = &led_status_blue;
13 led-upgrade = &led_status_red;
14 };
15
16 keys {
17 wps {
18 label = "WPS Button";
19 linux,code = <KEY_WPS_BUTTON>;
20 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
21 debounce-interval = <60>;
22 };
23
24 usb_eject {
25 label = "USB Eject Button";
26 linux,code = <BTN_0>;
27 linux,input-type = <EV_SW>;
28 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
29 debounce-interval = <60>;
30 };
31 };
32
33 leds {
34 compatible = "gpio-leds";
35
36 led_status_blue: status_blue {
37 label = "blue:status";
38 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
39 default-state = "on";
40 };
41
42 led_status_red: status_red {
43 label = "red:status";
44 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
45 };
46 };
47
48 beeper {
49 compatible = "gpio-beeper";
50 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
51 };
52
53 gpio_export {
54 compatible = "gpio-export";
55
56 gpio_usb_power {
57 gpio-export,name = "devolo:power:usb";
58 gpio-export,output = <1>;
59 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
60 };
61 };
62 };
63
64 &usb_phy0 {
65 status = "okay";
66 };
67
68 &usb0 {
69 status = "okay";
70 };
71
72 &mdio1 {
73 status = "okay";
74 };
75
76 &eth1 {
77 status = "okay";
78 };