ath79: update WA/XC devices UBNT_VERSION to 8.7.4
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qca9558_devolo_dvl1750e.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include <dt-bindings/leds/common.h>
4
5 #include "qca9558_devolo_dvl1xxx.dtsi"
6
7 / {
8 compatible = "devolo,dvl1750e", "qca,qca9558";
9 model = "devolo WiFi pro 1750e";
10
11 aliases {
12 led-boot = &led_status_blue;
13 led-failsafe = &led_status_red;
14 led-running = &led_status_blue;
15 led-upgrade = &led_status_red;
16 };
17
18 keys {
19 wps {
20 label = "WPS Button";
21 linux,code = <KEY_WPS_BUTTON>;
22 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
23 debounce-interval = <60>;
24 };
25
26 usb_eject {
27 label = "USB Eject Button";
28 linux,code = <BTN_0>;
29 linux,input-type = <EV_SW>;
30 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
31 debounce-interval = <60>;
32 };
33 };
34
35 leds {
36 compatible = "gpio-leds";
37
38 led_status_blue: status_blue {
39 function = LED_FUNCTION_STATUS;
40 color = <LED_COLOR_ID_BLUE>;
41 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
42 default-state = "on";
43 };
44
45 led_status_red: status_red {
46 function = LED_FUNCTION_STATUS;
47 color = <LED_COLOR_ID_RED>;
48 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
49 };
50 };
51
52 beeper {
53 compatible = "gpio-beeper";
54 gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
55 };
56
57 gpio_export {
58 compatible = "gpio-export";
59
60 gpio_usb_power {
61 gpio-export,name = "devolo:power:usb";
62 gpio-export,output = <1>;
63 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
64 };
65 };
66 };
67
68 &usb_phy0 {
69 status = "okay";
70 };
71
72 &usb0 {
73 status = "okay";
74 };
75
76 &eth0 {
77 pll-data = <0xae000000 0x80000101 0x80001313>;
78 phy-mode = "rgmii-rxid";
79 };
80
81 &gmac_config {
82 rxdv-delay = <3>;
83 rxd-delay = <3>;
84 txen-delay = <0>;
85 txd-delay = <0>;
86 };
87
88 &mdio1 {
89 status = "okay";
90
91 phy1: ethernet-phy@1 {
92 reg = <1>;
93 at803x-override-sgmii-link-check;
94 };
95 };
96
97 &eth1 {
98 status = "okay";
99
100 nvmem-cells = <&macaddr_art_0 1>;
101 nvmem-cell-names = "mac-address";
102
103 phy-handle = <&phy1>;
104 pll-data = <0x03000101 0x00000101 0x00001313>;
105
106 qca955x-sgmii-fixup;
107 };