[openwrt/openwrt] apm821xx: dts: explicitly set the partition reg size for Netgear WNDR4700
LEDE Commits
lede-commits at lists.infradead.org
Sun Oct 19 12:56:48 PDT 2025
hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/73b198869abfc869fa2ba5c1238a0c468b063b83
commit 73b198869abfc869fa2ba5c1238a0c468b063b83
Author: Shiji Yang <yangshiji66 at outlook.com>
AuthorDate: Mon May 19 21:56:58 2025 +0800
apm821xx: dts: explicitly set the partition reg size for Netgear WNDR4700
Correct the mtd partition reg property size to address the following
dtc warnings:
../dts/netgear-wndr4700.dts:191.6-33: Warning (reg_format): /plb/opb/ebc/ndfc at 1,0/nand/partitions/partition at 0/partition at 40000:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
Signed-off-by: Shiji Yang <yangshiji66 at outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18242
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
target/linux/apm821xx/dts/netgear-wndr4700.dts | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/target/linux/apm821xx/dts/netgear-wndr4700.dts b/target/linux/apm821xx/dts/netgear-wndr4700.dts
index 89d8bf5dd9..6f4463fea4 100644
--- a/target/linux/apm821xx/dts/netgear-wndr4700.dts
+++ b/target/linux/apm821xx/dts/netgear-wndr4700.dts
@@ -181,9 +181,11 @@
#size-cells = <1>;
partition at 0 {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
label = "uboot";
reg = <0x00000000 0x00180000>;
- compatible = "fixed-partitions";
read-only;
partition at 40000 {
More information about the lede-commits
mailing list