diff mbox series

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

Message ID 2818121478d7c3c9ed23954996ce27ca020e638f.1655151247.git.sander@svanheule.net
State Changes Requested
Delegated to: Sander Vanheule
Headers show
Series ath79: convert QCA955x-based D-Link DAP-2xxx to nvmem | expand

Commit Message

Sander Vanheule June 13, 2022, 8:15 p.m. UTC
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@sebastianschaper.net>
Signed-off-by: Sander Vanheule <sander@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 mbox series

Patch

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@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@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@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@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@ff0000 {
+				label = "art";
+				reg = <0xff0000 0x10000>;
+				read-only;
+			};
 		};
 	};
 };