diff options
| author | Shiji Yang | 2025-05-19 13:56:58 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2025-10-19 19:55:33 +0000 |
| commit | 73b198869abfc869fa2ba5c1238a0c468b063b83 (patch) | |
| tree | d4e111ae93eefab8173bb9d8852082d28b852f04 | |
| parent | 7dee632beedbee923c0f993d8e332a8bb3677cc8 (diff) | |
| download | openwrt-73b198869abfc869fa2ba5c1238a0c468b063b83.tar.gz | |
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 <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18242
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
| -rw-r--r-- | target/linux/apm821xx/dts/netgear-wndr4700.dts | 4 |
1 files changed, 3 insertions, 1 deletions
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 { |