aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630p-v2.dtsi
blob: 2389fe9734c46eaf79a651b4fa28a6ca25e09be2 (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
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

#include "qca9563_tplink_tl-wpa8630.dtsi"

/ {
	aliases {
		label-mac-device = &eth0;
	};

	gpio-export {
		compatible = "gpio-export";

		led_control {
			gpio-export,name = "tp-link:led:control";
			gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
		};
	};
};

&partitions {
	partition@0 {
		label = "factory-uboot";
		reg = <0x000000 0x020000>;
		read-only;
	};

	partition@20000 {
		label = "u-boot";
		reg = <0x020000 0x020000>;
		read-only;
	};

	partition@40000 {
		compatible = "tplink,firmware";
		label = "firmware";
		reg = <0x040000 0x5e0000>;
	};

	partition@620000 {
		label = "partition-table";
		reg = <0x620000 0x010000>;
		read-only;
	};
};

&eth0 {
	mtd-mac-address = <&mac 0x8>;
};

&wmac {
	mtd-mac-address = <&mac 0x8>;
};