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

Sander Vanheule sander at svanheule.net
Mon Jun 13 13:02:45 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 reference the same file.

Cc: Sebastian Schaper <openwrt at sebastianschaper.net>
Signed-off-by: Sander Vanheule <sander at svanheule.net>
---
 target/linux/ath79/dts/qca9533_dlink_dap-2230-a1.dts | 6 ------
 target/linux/ath79/dts/qca9533_dlink_dap-3320-a1.dts | 6 ------
 target/linux/ath79/dts/qca953x_dlink_dap-2xxx.dtsi   | 6 ++++++
 3 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/target/linux/ath79/dts/qca9533_dlink_dap-2230-a1.dts b/target/linux/ath79/dts/qca9533_dlink_dap-2230-a1.dts
index 3717a35ae30c..90383690b972 100644
--- a/target/linux/ath79/dts/qca9533_dlink_dap-2230-a1.dts
+++ b/target/linux/ath79/dts/qca9533_dlink_dap-2230-a1.dts
@@ -46,10 +46,4 @@
 		reg = <0xf50000 0xa0000>;
 		read-only;
 	};
-
-	art: partition at ff0000 {
-		label = "art";
-		reg = <0xff0000 0x10000>;
-		read-only;
-	};
 };
diff --git a/target/linux/ath79/dts/qca9533_dlink_dap-3320-a1.dts b/target/linux/ath79/dts/qca9533_dlink_dap-3320-a1.dts
index c186a7ee442d..5758b0d2a31c 100644
--- a/target/linux/ath79/dts/qca9533_dlink_dap-3320-a1.dts
+++ b/target/linux/ath79/dts/qca9533_dlink_dap-3320-a1.dts
@@ -46,10 +46,4 @@
 		reg = <0xf60000 0x90000>;
 		read-only;
 	};
-
-	art: partition at ff0000 {
-		label = "art";
-		reg = <0xff0000 0x10000>;
-		read-only;
-	};
 };
diff --git a/target/linux/ath79/dts/qca953x_dlink_dap-2xxx.dtsi b/target/linux/ath79/dts/qca953x_dlink_dap-2xxx.dtsi
index 71d9fffbe3e5..59c09dbe1b62 100644
--- a/target/linux/ath79/dts/qca953x_dlink_dap-2xxx.dtsi
+++ b/target/linux/ath79/dts/qca953x_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