diff mbox series

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

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

Commit Message

Sander Vanheule June 11, 2022, 12:05 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 reference the same file.

Cc: Sebastian Schaper <openwrt@sebastianschaper.net>
Signed-off-by: Sander Vanheule <sander@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 mbox series

Patch

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