mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-27 23:34:30 +00:00
e3ddfcc70c
Initial conversion to new LED color/function format and drop label format where possible. The same label is composed at runtime. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
53 lines
1.0 KiB
Plaintext
53 lines
1.0 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include <dt-bindings/leds/common.h>
|
|
|
|
#include "qca9558_devolo_dvl1xxx.dtsi"
|
|
|
|
/ {
|
|
compatible = "devolo,dvl1750x", "qca,qca9558";
|
|
model = "devolo WiFi pro 1750x";
|
|
|
|
aliases {
|
|
led-boot = &led_status_red;
|
|
led-failsafe = &led_status_red;
|
|
led-running = &led_status_red;
|
|
led-upgrade = &led_status_red;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
led_status_red: status_red {
|
|
/* This LED is not visible on the external casing. */
|
|
function = LED_FUNCTION_STATUS;
|
|
color = <LED_COLOR_ID_RED>;
|
|
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
wlan {
|
|
function = LED_FUNCTION_WLAN;
|
|
color = <LED_COLOR_ID_GREEN>;
|
|
gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
|
|
linux,default-trigger = "phy0tpt";
|
|
};
|
|
};
|
|
|
|
beeper {
|
|
compatible = "gpio-beeper";
|
|
gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
|
|
ð0 {
|
|
pll-data = <0xbe000000 0x80000101 0x80001313>;
|
|
phy-mode = "rgmii-id";
|
|
};
|
|
|
|
&gmac_config {
|
|
rxdv-delay = <3>;
|
|
rxd-delay = <3>;
|
|
txen-delay = <3>;
|
|
txd-delay = <3>;
|
|
};
|