ath79: add support for TP-Link TL-WPA8630 v1
[openwrt/staging/stintel.git] / target / linux / ath79 / dts / qca9563_tplink_tl-wpa8630p-v2.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "qca9563_tplink_tl-wpa8630.dtsi"
4
5 / {
6 aliases {
7 label-mac-device = &eth0;
8 };
9
10 gpio-export {
11 compatible = "gpio-export";
12
13 led_control {
14 gpio-export,name = "tp-link:led:control";
15 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
16 };
17 };
18 };
19
20 &keys {
21 wps {
22 label = "WPS button";
23 linux,code = <KEY_WPS_BUTTON>;
24 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
25 debounce-interval = <60>;
26 };
27 };
28
29 &partitions {
30 partition@0 {
31 label = "factory-uboot";
32 reg = <0x000000 0x020000>;
33 read-only;
34 };
35
36 partition@20000 {
37 label = "u-boot";
38 reg = <0x020000 0x020000>;
39 read-only;
40 };
41
42 partition@40000 {
43 compatible = "tplink,firmware";
44 label = "firmware";
45 reg = <0x040000 0x5e0000>;
46 };
47
48 partition@620000 {
49 label = "partition-table";
50 reg = <0x620000 0x010000>;
51 read-only;
52 };
53 };
54
55 &eth0 {
56 mtd-mac-address = <&mac 0x8>;
57 };
58
59 &wmac {
60 mtd-mac-address = <&mac 0x8>;
61 };