aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar9344_tplink_cpe510.dtsi
blob: e1ffc29e831c3f57547d79482f8d50671a68cd51 (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
54
55
56
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;

#include "ar9344_tplink_cpexxx.dtsi"

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

	leds {
		compatible = "gpio-leds";

		lan {
			label = "tp-link:green:lan";
			gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
		};

		link1 {
			label = "tp-link:green:link1";
			gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
		};

		link2 {
			label = "tp-link:green:link2";
			gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
		};

		link3 {
			label = "tp-link:green:link3";
			gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
		};

		system: link4 {
			label = "tp-link:green:link4";
			gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
		};
	};
};

&eth0 {
	status = "okay";

	mtd-mac-address = <&info 0x08>;

	phy-mode = "mii";
	phy-handle = <&swphy4>;
};

&eth1 {
	status = "okay";
	compatible = "syscon", "simple-mfd";
};