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

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>

#include "qca9558_devolo_dvl1xxx.dtsi"

/ {
	compatible = "devolo,dvl1200e", "qca,qca9557";
	model = "devolo WiFi pro 1200e";

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

	leds {
		compatible = "gpio-leds";

		status_blue: status_blue {
			label = "dvl1200e:blue:status";
			gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
			default-state = "on";
		};

		status_red: status_red {
			label = "dvl1200e:red:status";
			gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
		};
	};

	beeper {
		compatible = "gpio-beeper";
		gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
	};
};

&mdio1 {
	status = "okay";
};

&eth1 {
	status = "okay";
};