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

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


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

commit b4e7b49a9202d17e5a4d711c4e0d314d6fa1c9cb
Author: Sander Vanheule <sander at svanheule.net>
AuthorDate: Sat Jun 11 13:15:28 2022 +0200

    ath79: D-Link DAP-2xxx (QCA953x): 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 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 3717a35ae3..90383690b9 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 c186a7ee44..5758b0d2a3 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 71d9fffbe3..59c09dbe1b 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;
+			};
 		};
 	};
 };




More information about the lede-commits mailing list