[openwrt/openwrt] ath79: fix dtc address warnings

LEDE Commits lede-commits at lists.infradead.org
Sun Jun 9 03:40:06 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/ff5e8476d9f1189066fc896f02b35a4f969522af

commit ff5e8476d9f1189066fc896f02b35a4f969522af
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Fri May 31 21:53:20 2024 -0700

    ath79: fix dtc address warnings
    
    These should match reg values.
    
    Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
 target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts   | 6 +++---
 target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts        | 6 +++---
 target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts | 6 +++---
 target/linux/ath79/dts/ar9344_qxwlan_e750x.dtsi          | 2 +-
 4 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts b/target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts
index 1857b2b4a6..75aeb69eb4 100644
--- a/target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts
+++ b/target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts
@@ -87,15 +87,15 @@
 				};
 			};
 
-			partition at 1 {
+			partition at 20000 {
 				compatible = "tplink,firmware";
 				label = "firmware";
 				reg = <0x020000 0x3D0000>;
 			};
 
-			art: partition at 2 {
+			art: partition at 3f0000 {
 				label = "art";
-				reg = <0x3F0000 0x010000>;
+				reg = <0x3f0000 0x010000>;
 				read-only;
 			};
 		};
diff --git a/target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts b/target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts
index 088973048d..408fa12d8a 100644
--- a/target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts
+++ b/target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts
@@ -93,18 +93,18 @@
 				read-only;
 			};
 
-			partition at 1 {
+			partition at 40000 {
 				label = "u-boot-env";
 				reg = <0x040000 0x010000>;
 			};
 
-			partition at 2 {
+			partition at 50000 {
 				compatible = "denx,uimage";
 				label = "firmware";
 				reg = <0x050000 0xfa0000>;
 			};
 
-			art: partition at 3 {
+			art: partition at ff0000 {
 				label = "art";
 				reg = <0xff0000 0x010000>;
 				read-only;
diff --git a/target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts b/target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts
index ee90617160..6feee3123d 100644
--- a/target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts
+++ b/target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts
@@ -72,18 +72,18 @@
 				read-only;
 			};
 
-			partition at 1 {
+			partition at 40000 {
 				label = "u-boot-env";
 				reg = <0x040000 0x010000>;
 			};
 
-			partition at 2 {
+			partition at 50000 {
 				compatible = "denx,uimage";
 				label = "firmware";
 				reg = <0x050000 0xfa0000>;
 			};
 
-			art: partition at 3 {
+			art: partition at ff0000 {
 				label = "art";
 				reg = <0xff0000 0x010000>;
 				read-only;
diff --git a/target/linux/ath79/dts/ar9344_qxwlan_e750x.dtsi b/target/linux/ath79/dts/ar9344_qxwlan_e750x.dtsi
index df8f28c7d7..0f1fc3e0d5 100644
--- a/target/linux/ath79/dts/ar9344_qxwlan_e750x.dtsi
+++ b/target/linux/ath79/dts/ar9344_qxwlan_e750x.dtsi
@@ -103,7 +103,7 @@
 
 			art: partition at 60000 {
 				label = "art";
-				reg = <0x060000 0x010000>;
+				reg = <0x60000 0x010000>;
 				read-only;
 			};
 		};




More information about the lede-commits mailing list