aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7628an_hiwifi_hc5611.dts
blob: 17de299b3cbc4366a9dc1bac47fc7ba846d84d97 (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
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

#include "mt7628an_hiwifi_hc5x61a.dtsi"

/ {
	compatible = "hiwifi,hc5611", "mediatek,mt7628an-soc";
	model = "HiWiFi HC5611";

	leds {
		compatible = "gpio-leds";

		led_system: system {
			label = "green:system";
			gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
			default-state = "on";
		};

		internet {
			label = "red:internet";
			gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
		};
	};
};

&state_default {
	gpio {
		groups = "gpio", "spi cs1", "wdt";
		function = "gpio";
	};
};