ath79: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9558_devolo_dvl1750x.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,dvl1750x", "qca,qca9558";
9 model = "devolo WiFi pro 1750x";
10
11 aliases {
12 led-boot = &led_status_red;
13 led-failsafe = &led_status_red;
14 led-running = &led_status_red;
15 led-upgrade = &led_status_red;
16 };
17
18 leds {
19 compatible = "gpio-leds";
20
21 led_status_red: status_red {
22 /* This LED is not visible on the external casing. */
23 function = LED_FUNCTION_STATUS;
24 color = <LED_COLOR_ID_RED>;
25 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
26 };
27
28 wlan {
29 function = LED_FUNCTION_WLAN;
30 color = <LED_COLOR_ID_GREEN>;
31 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
32 linux,default-trigger = "phy0tpt";
33 };
34 };
35
36 beeper {
37 compatible = "gpio-beeper";
38 gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
39 };
40 };
41
42 &eth0 {
43 pll-data = <0xbe000000 0x80000101 0x80001313>;
44 phy-mode = "rgmii-id";
45 };
46
47 &gmac_config {
48 rxdv-delay = <3>;
49 rxd-delay = <3>;
50 txen-delay = <3>;
51 txd-delay = <3>;
52 };