mirror of https://github.com/hak5/openwrt.git
35 lines
584 B
Plaintext
35 lines
584 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include "ar7241_ubnt_xm.dtsi"
|
|
|
|
/ {
|
|
aliases {
|
|
led-boot = &led_link4;
|
|
led-failsafe = &led_link4;
|
|
label-mac-device = &wifi;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
link1 {
|
|
label = "ubnt:red:link1";
|
|
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
link2 {
|
|
label = "ubnt:orange:link2";
|
|
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
link3 {
|
|
label = "ubnt:green:link3";
|
|
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
led_link4: link4 {
|
|
label = "ubnt:green:link4";
|
|
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
};
|