aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar7240_tplink_tl-wr.dtsi
blob: 7621b1d53cecbd7c7359a97aac4793d6549d8055 (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
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

#include "ar7240_tplink.dtsi"

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

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

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

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

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

&eth0 {
	status = "okay";

	mtd-mac-address = <&uboot 0x1fc00>;
	mtd-mac-address-increment = <(-1)>;
};

&eth1 {
	mtd-mac-address = <&uboot 0x1fc00>;
	mtd-mac-address-increment = <1>;
};

&ath9k {
	compatible = "pci168c,002b";
};