aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_edimax_rg21s.dts
blob: 4325e98132d204d7a40d28b04980c21781d3144d (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
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;

#include "mt7621_edimax_rx21s.dtsi"

/ {
	compatible = "edimax,rg21s", "mediatek,mt7621-soc";
	model = "Edimax RG21S";

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

	leds {
		compatible = "gpio-leds";

		led_power: led_1 {
			label = "rg21s:red:led1";
			gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
		};

		led_2 {
			label = "rg21s:red:led2";
			gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
		};

		led_3 {
			label = "rg21s:red:led3";
			gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
		};

		led_4 {
			label = "rg21s:red:led4";
			gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
		};
	};
};