aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7620n_hootoo_ht-tm05.dts
blob: 1c408bcaa1a9b95e4eb0569f14ff33b0fe886344 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

#include "mt7620n_sunvalley_filehub.dtsi"

/ {
	compatible = "hootoo,ht-tm05", "ralink,mt7620n-soc";
	model = "HooToo HT-TM05";

	aliases {
		led-boot = &led_power;
		led-failsafe = &led_power;
		led-running = &led_power;
		led-upgrade = &led_power;
	};

	leds {
		compatible = "gpio-leds";

		led_power: power {
			label = "blue:power";
			gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
			default-state = "on";
		};

		wifi {
			label = "green:wifi";
			gpios = <&gpio2 0 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "phy0tpt";
		};
	};
};