ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7620n_hootoo_ht-tm05.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include <dt-bindings/leds/common.h>
4
5 #include "mt7620n_sunvalley_filehub.dtsi"
6
7 / {
8 compatible = "hootoo,ht-tm05", "ralink,mt7620n-soc";
9 model = "HooToo HT-TM05";
10
11 aliases {
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
16 };
17
18 leds {
19 compatible = "gpio-leds";
20
21 led_power: power {
22 function = LED_FUNCTION_POWER;
23 color = <LED_COLOR_ID_BLUE>;
24 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
25 default-state = "on";
26 };
27
28 wifi {
29 label = "green:wifi";
30 gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>;
31 linux,default-trigger = "phy0tpt";
32 };
33 };
34 };