[openwrt/openwrt] kirkwood: dts: explicitly set the partition reg size for Blackarmor NAS220

LEDE Commits lede-commits at lists.infradead.org
Sun Oct 19 12:56:51 PDT 2025


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

commit 9fa076aa3336f884e9cc65384cfa28503c96c601
Author: Shiji Yang <yangshiji66 at outlook.com>
AuthorDate: Mon May 19 21:56:58 2025 +0800

    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 at f1000000/nand at 12f/partitions/partition at 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 at f1000000/nand at 12f/partitions/partition at 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 at f1000000/nand at 12f/partitions/partition at 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 at f1000000/nand at 12f/partitions/partition at c0000: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/kirkwood/patches-6.12/203-blackarmor-nas220.patch | 4 +++-
 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 at 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 at 0 {
 +			label = "uboot";




More information about the lede-commits mailing list