2023-03-02 09:05:22 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
|
2024-02-11 17:53:07 +00:00
|
|
|
#include "qca9563_dlink_covr.dtsi"
|
2023-03-02 09:05:22 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "dlink,covr-p2500-a1", "qca,qca9563";
|
|
|
|
model = "D-Link COVR-P2500 A1";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
led-boot = &led_power_green;
|
|
|
|
led-failsafe = &led_power_red;
|
|
|
|
led-running = &led_power_green;
|
|
|
|
led-upgrade = &led_power_red;
|
|
|
|
};
|
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&jtag_disable_pins>;
|
|
|
|
|
|
|
|
lan {
|
2024-02-07 13:48:34 +00:00
|
|
|
function = LED_FUNCTION_LAN;
|
|
|
|
color = <LED_COLOR_ID_GREEN>;
|
2023-03-02 09:05:22 +00:00
|
|
|
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
|
|
|
led_power_green: power_green {
|
2024-02-07 13:48:34 +00:00
|
|
|
function = LED_FUNCTION_POWER;
|
|
|
|
color = <LED_COLOR_ID_GREEN>;
|
2023-03-02 09:05:22 +00:00
|
|
|
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
|
|
|
|
default-state = "on";
|
|
|
|
};
|
|
|
|
|
|
|
|
wlan5g {
|
|
|
|
label = "green:wlan5g";
|
|
|
|
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
|
|
|
|
linux,default-trigger = "phy0radio";
|
|
|
|
};
|
|
|
|
|
|
|
|
led_power_red: power_red {
|
2024-02-07 13:48:34 +00:00
|
|
|
function = LED_FUNCTION_POWER;
|
|
|
|
color = <LED_COLOR_ID_RED>;
|
2023-03-02 09:05:22 +00:00
|
|
|
gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
|
|
|
|
};
|
|
|
|
|
|
|
|
wlan2g {
|
|
|
|
label = "green:wlan2g";
|
|
|
|
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
|
|
|
|
linux,default-trigger = "phy1radio";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|