aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7620a_trendnet_tew-810dr.dts
blob: 7437cde073a12b2279e3a61e2f56d782b6c67d8c (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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;

#include "mt7620a_cameo_810.dtsi"

/ {
	compatible = "trendnet,tew-810dr", "ralink,mt7620a-soc";
	model = "TRENDnet TEW-810DR";

	aliases {
		led-boot = &led_power_green;
		led-failsafe = &led_power_green;
		led-running = &led_power_green;
		led-upgrade = &led_power_green;
		label-mac-device = &ethernet;
	};

	leds {
		compatible = "gpio-leds";

		led_power_green: power_green {
			label = "tew-810dr:green:power";
			gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
		};

		wan_orange {
			label = "tew-810dr:orange:wan";
			gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
		};

		wan_green {
			label = "tew-810dr:green:wan";
			gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
		};

		power_orange {
			label = "tew-810dr:orange:power";
			gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
		};
	};
};

&state_default {
	gpio {
		groups = "i2c", "uartf", "ephy";
		function = "gpio";
	};
};