diff options
| author | Shiji Yang | 2025-05-19 13:56:58 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2025-10-19 19:55:33 +0000 |
| commit | 9fa076aa3336f884e9cc65384cfa28503c96c601 (patch) | |
| tree | f8c46b2fed4b72558f256be9d95c00828bca4446 | |
| parent | 9741af31f1e2a8a4e4a0869c0d55e56cda2d4be1 (diff) | |
| download | openwrt-9fa076aa3336f884e9cc65384cfa28503c96c601.tar.gz | |
kirkwood: dts: explicitly set the partition reg size for Blackarmor NAS220
Correct the mtd partition reg property size to address the following
dtc warnings:
kirkwood-blackarmor-nas220.dts:185.4-24: Warning (reg_format): /mbus@f1000000/nand@12f/partitions/partition@0:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
kirkwood-blackarmor-nas220.dts:191.4-28: Warning (reg_format): /mbus@f1000000/nand@12f/partitions/partition@a0000:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
kirkwood-blackarmor-nas220.dts:197.4-28: Warning (reg_format): /mbus@f1000000/nand@12f/partitions/partition@b0000:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
kirkwood-blackarmor-nas220.dts:203.4-30: Warning (reg_format): /mbus@f1000000/nand@12f/partitions/partition@c0000: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/kirkwood/patches-6.12/203-blackarmor-nas220.patch | 4 | ||||
| -rw-r--r-- | target/linux/kirkwood/patches-6.6/203-blackarmor-nas220.patch | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/target/linux/kirkwood/patches-6.12/203-blackarmor-nas220.patch b/target/linux/kirkwood/patches-6.12/203-blackarmor-nas220.patch index 6365aed9cd..07656702e0 100644 --- a/target/linux/kirkwood/patches-6.12/203-blackarmor-nas220.patch +++ b/target/linux/kirkwood/patches-6.12/203-blackarmor-nas220.patch @@ -62,13 +62,15 @@ }; regulators { -@@ -153,6 +176,33 @@ +@@ -153,6 +176,35 @@ &nand { status = "okay"; + + partitions { + compatible = "fixed-partitions"; ++ #address-cells = <1>; ++ #size-cells = <1>; + + partition@0 { + label = "uboot"; diff --git a/target/linux/kirkwood/patches-6.6/203-blackarmor-nas220.patch b/target/linux/kirkwood/patches-6.6/203-blackarmor-nas220.patch index 8ceac179cb..ab596ce75f 100644 --- a/target/linux/kirkwood/patches-6.6/203-blackarmor-nas220.patch +++ b/target/linux/kirkwood/patches-6.6/203-blackarmor-nas220.patch @@ -63,13 +63,15 @@ }; regulators { -@@ -153,6 +176,33 @@ +@@ -153,6 +176,35 @@ &nand { status = "okay"; + + partitions { + compatible = "fixed-partitions"; ++ #address-cells = <1>; ++ #size-cells = <1>; + + partition@0 { + label = "uboot"; |