aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca9558_devolo_dvl1750x.dts
blob: d0d678d0bf0df6646fe15f6f092cdee267eb9ba8 (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
48
49
50
51
52
53
// 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,dvl1750x", "qca,qca9558";
	model = "devolo WiFi pro 1750x";

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

	leds {
		compatible = "gpio-leds";

		status_red: status_red {
			/* This LED is not visible on the external casing. */
			label = "dvl1750x:red:status";
			gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
		};

		wlan {
			label = "dvl1750x:green:wlan";
			gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
			linux,default-trigger = "phy0tpt";
		};
	};

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

&eth0 {
	pll-data = <0xbe000000 0x80000101 0x80001313>;
	phy-mode = "rgmii-id";
};

&gmac_config {
	rxdv-delay = <3>;
	rxd-delay = <3>;
	txen-delay = <3>;
	txd-delay = <3>;
	rgmii-enabled = <1>;
};