[PATCH v2 1/6] ath79: D-Link DAP-2xxx (QCA955x): move art partition to DTSI

Sander Vanheule sander at svanheule.net
Mon Jun 13 13:15:20 PDT 2022


The art partition containing the radio calibration data is in the same
location for all supported devices. Move the definition to the base file
so the reference from the wmac node can refer to the same file.

Cc: Sebastian Schaper <openwrt at sebastianschaper.net>
Signed-off-by: Sander Vanheule <sander at svanheule.net>
---
 target/linux/ath79/dts/qca9557_dlink_dap-2660-a1.dts | 6 ------
 target/linux/ath79/dts/qca9558_dlink_dap-2680-a1.dts | 6 ------
 target/linux/ath79/dts/qca9558_dlink_dap-2695-a1.dts | 6 ------
 target/linux/ath79/dts/qca9558_dlink_dap-3662-a1.dts | 6 ------
 target/linux/ath79/dts/qca955x_dlink_dap-2xxx.dtsi   | 6 ++++++
 5 files changed, 6 insertions(+), 24 deletions(-)

diff --git a/target/linux/ath79/dts/qca9557_dlink_dap-2660-a1.dts b/target/linux/ath79/dts/qca9557_dlink_dap-2660-a1.dts
index 622f4410b33f..039007942631 100644
--- a/target/linux/ath79/dts/qca9557_dlink_dap-2660-a1.dts
+++ b/target/linux/ath79/dts/qca9557_dlink_dap-2660-a1.dts
@@ -51,12 +51,6 @@
 		reg = <0xf50000 0xa0000>;
 		read-only;
 	};
-
-	art: partition at ff0000 {
-		label = "art";
-		reg = <0xff0000 0x10000>;
-		read-only;
-	};
 };
 
 &mdio0 {
diff --git a/target/linux/ath79/dts/qca9558_dlink_dap-2680-a1.dts b/target/linux/ath79/dts/qca9558_dlink_dap-2680-a1.dts
index 7549c0a6970d..0593fd29f418 100644
--- a/target/linux/ath79/dts/qca9558_dlink_dap-2680-a1.dts
+++ b/target/linux/ath79/dts/qca9558_dlink_dap-2680-a1.dts
@@ -51,12 +51,6 @@
 		reg = <0xf50000 0xa0000>;
 		read-only;
 	};
-
-	art: partition at ff0000 {
-		label = "art";
-		reg = <0xff0000 0x10000>;
-		read-only;
-	};
 };
 
 &mdio0 {
diff --git a/target/linux/ath79/dts/qca9558_dlink_dap-2695-a1.dts b/target/linux/ath79/dts/qca9558_dlink_dap-2695-a1.dts
index f5a350b33fd0..4a13f639d173 100644
--- a/target/linux/ath79/dts/qca9558_dlink_dap-2695-a1.dts
+++ b/target/linux/ath79/dts/qca9558_dlink_dap-2695-a1.dts
@@ -63,12 +63,6 @@
 		reg = <0xfe0000 0x010000>;
 		read-only;
 	};
-
-	art: partition at ff0000 {
-		label = "art";
-		reg = <0xff0000 0x010000>;
-		read-only;
-	};
 };
 
 &mdio0 {
diff --git a/target/linux/ath79/dts/qca9558_dlink_dap-3662-a1.dts b/target/linux/ath79/dts/qca9558_dlink_dap-3662-a1.dts
index 55ac061a56c8..1ecc987a4f2c 100644
--- a/target/linux/ath79/dts/qca9558_dlink_dap-3662-a1.dts
+++ b/target/linux/ath79/dts/qca9558_dlink_dap-3662-a1.dts
@@ -51,12 +51,6 @@
 		reg = <0xf60000 0x90000>;
 		read-only;
 	};
-
-	art: partition at ff0000 {
-		label = "art";
-		reg = <0xff0000 0x10000>;
-		read-only;
-	};
 };
 
 &mdio0 {
diff --git a/target/linux/ath79/dts/qca955x_dlink_dap-2xxx.dtsi b/target/linux/ath79/dts/qca955x_dlink_dap-2xxx.dtsi
index 1047dfddeb14..21fde53cc867 100644
--- a/target/linux/ath79/dts/qca955x_dlink_dap-2xxx.dtsi
+++ b/target/linux/ath79/dts/qca955x_dlink_dap-2xxx.dtsi
@@ -41,6 +41,12 @@
 				reg = <0x60000 0x10000>;
 				read-only;
 			};
+
+			art: partition at ff0000 {
+				label = "art";
+				reg = <0xff0000 0x10000>;
+				read-only;
+			};
 		};
 	};
 };
-- 
2.36.1




More information about the openwrt-devel mailing list