2
0
Эх сурвалжийг харах

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18242
Signed-off-by: Hauke Mehrtens <[email protected]>
Shiji Yang 7 сар өмнө
parent
commit
9fa076aa33

+ 3 - 1
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";

+ 3 - 1
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";