aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca9563_yuncore_a782.dts
blob: 27360bbe9c5d4c651b1a894846a8b00c7d48f9ec (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
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;

#include "qca9563_yuncore_xd4200.dtsi"

/ {
	compatible = "yuncore,a782", "qca,qca9563";
	model = "YunCore A782";

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

	leds {
		compatible = "gpio-leds";

		led_system: system {
			label = "a782:red:system";
			gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
			default-state = "keep";
		};

		wlan2g {
			label = "a782:green:wlan2g";
			gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
			linux,default-trigger = "phy1tpt";
		};
	};
};