From: Shiji Yang Date: Mon, 19 May 2025 13:56:58 +0000 (+0800) Subject: apm821xx: dts: explicitly set the partition reg size for Netgear WNDR4700 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=73b198869abfc869fa2ba5c1238a0c468b063b83;p=openwrt%2Fstaging%2Fnbd.git 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@1,0/nand/partitions/partition@0/partition@40000:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1) Signed-off-by: Shiji Yang Link: https://github.com/openwrt/openwrt/pull/18242 Signed-off-by: Hauke Mehrtens --- 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@0 { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; label = "uboot"; reg = <0x00000000 0x00180000>; - compatible = "fixed-partitions"; read-only; partition@40000 {