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

#include "ar7240_tplink.dtsi"

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

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

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

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

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

&eth0 {
	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";
};