[openwrt/openwrt] ath79: D-Link DAP-2xxx (QCA955x): move art partition to DTSI

LEDE Commits lede-commits at lists.infradead.org
Sat Jun 18 03:07:33 PDT 2022


svanheule pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/3a1eb93b2729bd42782f0db45919f645c526dc2a

commit 3a1eb93b2729bd42782f0db45919f645c526dc2a
Author: Sander Vanheule <sander at svanheule.net>
AuthorDate: Sat Jun 11 11:25:06 2022 +0200

    ath79: D-Link DAP-2xxx (QCA955x): move art partition to DTSI
    
    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 622f4410b3..0390079426 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 7549c0a697..0593fd29f4 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 99ff551adb..91df50fb45 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 55ac061a56..1ecc987a4f 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 1047dfddeb..21fde53cc8 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;
+			};
 		};
 	};
 };




More information about the lede-commits mailing list