aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar9342_zyxel_nwa1123-ni.dts
blob: b999c960c4a0bfa314ffd9c33f1804ea604d996d (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
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

#include "ar9342_zyxel_nwa11xx.dtsi"

/ {
	compatible = "zyxel,nwa1123-ni", "qca,ar9342";
	model = "Zyxel NWA1123-NI";

	aliases {
		label-mac-device = &eth0;
		led-boot = &led_status_green;
		led-failsafe = &led_status_amber;
		led-running = &led_status_green;
		led-upgrade = &led_status_amber;
	};

	leds {
		compatible = "gpio-leds";

		led_status_green: status_green {
			label = "green:status";
			gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
			default-state = "on";
		};

		led_status_amber: status_amber {
			label = "amber:status";
			gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
		};
	};
};

&pcie {
	status = "okay";
};