aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630p-v2.0-eu.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ath79/dts/qca9563_tplink_tl-wpa8630p-v2.0-eu.dts')
-rw-r--r--target/linux/ath79/dts/qca9563_tplink_tl-wpa8630p-v2.0-eu.dts46
1 files changed, 45 insertions, 1 deletions
diff --git a/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630p-v2.0-eu.dts b/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630p-v2.0-eu.dts
index 9eff2fcf68..34efeb9450 100644
--- a/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630p-v2.0-eu.dts
+++ b/target/linux/ath79/dts/qca9563_tplink_tl-wpa8630p-v2.0-eu.dts
@@ -1,13 +1,35 @@
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
-#include "qca9563_tplink_tl-wpa8630p-v2.dtsi"
+#include "qca9563_tplink_tl-wpa8630.dtsi"
/ {
compatible = "tplink,tl-wpa8630p-v2.0-eu", "qca,qca9563";
model = "TP-Link WPA8630P v2.0 (EU)";
+
+ aliases {
+ label-mac-device = &eth0;
+ };
};
&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>;
@@ -32,3 +54,25 @@
read-only;
};
};
+
+&eth0 {
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&wmac {
+ mtd-cal-data = <&art 0x1000>;
+
+ nvmem-cells = <&macaddr_info_8>;
+ nvmem-cell-names = "mac-address";
+};
+
+&info {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_info_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
+};