2019-01-03 19:29:28 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
|
|
|
|
/ {
|
|
|
|
aliases {
|
2019-12-02 05:55:49 -08:00
|
|
|
led-boot = &led_link4;
|
|
|
|
led-failsafe = &led_link4;
|
|
|
|
label-mac-device = &wifi;
|
2019-01-03 19:29:28 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
leds {
|
|
|
|
compatible = "gpio-leds";
|
2019-12-02 05:55:49 -08:00
|
|
|
|
2019-01-03 19:29:28 +08:00
|
|
|
link1 {
|
2021-06-14 18:30:08 +08:00
|
|
|
label = "red:link1";
|
2019-01-03 19:29:28 +08:00
|
|
|
gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
|
|
|
|
link2 {
|
2021-06-14 18:30:08 +08:00
|
|
|
label = "orange:link2";
|
2019-01-03 19:29:28 +08:00
|
|
|
gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
|
|
|
|
link3 {
|
2021-06-14 18:30:08 +08:00
|
|
|
label = "green:link3";
|
2019-01-03 19:29:28 +08:00
|
|
|
gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
|
2019-12-02 05:55:49 -08:00
|
|
|
led_link4: link4 {
|
2021-06-14 18:30:08 +08:00
|
|
|
label = "green:link4";
|
2019-01-03 19:29:28 +08:00
|
|
|
gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|