mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
7ef7dbaf70
This ports the TP-Link TL-WPA8630 v1 from ar71xx to ath79. Specifications: SoC: QCA9563 CPU: 750 MHz Flash/RAM: 8 / 128 MiB Ethernet: 3x 1G ports (QCA8337 switch) WLAN: 2.4 GHz b/g/n, 5 GHz a/n/ac (ath10k) Buttons, LEDs and network setup appear to be almost identical to the v2 revision. Powerline interface is connected to switch port 5 (Label LAN4). Installation: No "fresh" device was available for testing the factory image. It is not known whether flashing via OEM firmware GUI is possible or not. A discussion from 2018 [1] about that indicates a few adjustments are necessary, but it is not clear whether those are already implemented with the TPLINK_HEADER_VERSION = 2 or not. Note that for the TL-WPA8630P v1, the TPLINK_HWID needs to be changed to 0x86310001 to allow factory flashing. [1] https://forum.openwrt.org/t/solved-tl-wpa8630p-lede-does-not-install/8161/27 Recovery: Recovery is only possible via serial. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
62 lines
931 B
Plaintext
62 lines
931 B
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
|
|
|
|
#include "qca9563_tplink_tl-wpa8630.dtsi"
|
|
|
|
/ {
|
|
aliases {
|
|
label-mac-device = ð0;
|
|
};
|
|
|
|
gpio-export {
|
|
compatible = "gpio-export";
|
|
|
|
led_control {
|
|
gpio-export,name = "tp-link:led:control";
|
|
gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&keys {
|
|
wps {
|
|
label = "WPS button";
|
|
linux,code = <KEY_WPS_BUTTON>;
|
|
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
|
|
debounce-interval = <60>;
|
|
};
|
|
};
|
|
|
|
&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;
|
|
};
|
|
};
|
|
|
|
ð0 {
|
|
mtd-mac-address = <&mac 0x8>;
|
|
};
|
|
|
|
&wmac {
|
|
mtd-mac-address = <&mac 0x8>;
|
|
};
|