[openwrt/openwrt] ipq806x: fix dtc warnings for Linksys E8350 V1

LEDE Commits lede-commits at lists.infradead.org
Tue Oct 14 01:27:55 PDT 2025


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/e82d113c39fe128c351fd1e054053870136dc242

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

    ipq806x: fix dtc warnings for Linksys E8350 V1
    
    - Add missing #address-cells and #size-cells to the partitions node
    - Remove redundant #address-cells and #size-cells for the nand node
    
    This patch fixes the following dtc warnings:
    
    qcom-ipq8064-e8350-v1.dts:85.3-13: Warning (reg_format): /soc/nand-controller at 1ac00000/nand at 0:reg: property has invalid length (4 bytes) (#address-cells == 1, #size-cells == 1)
    qcom-ipq8064-e8350-v1.dts:95.5-25: Warning (reg_format): /soc/nand-controller at 1ac00000/nand at 0/partitions/partition at 0:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
    qcom-ipq8064-e8350-v1.dts:99.5-33: Warning (reg_format): /soc/nand-controller at 1ac00000/nand at 0/partitions/partition at 4000000: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/18989
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 .../files-6.6/arch/arm/boot/dts/qcom/qcom-ipq8064-e8350-v1.dts       | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/target/linux/ipq806x/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq8064-e8350-v1.dts b/target/linux/ipq806x/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq8064-e8350-v1.dts
index 4ed9401a64..52d6b77b49 100644
--- a/target/linux/ipq806x/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq8064-e8350-v1.dts
+++ b/target/linux/ipq806x/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq8064-e8350-v1.dts
@@ -78,9 +78,6 @@
 &nand {
 	status = "okay";
 
-	#address-cells = <1>;
-	#size-cells = <1>;
-
 	nand at 0 {
 		reg = <0>;
 
@@ -89,6 +86,8 @@
 
 		partitions {
 			compatible = "fixed-partitions";
+			#address-cells = <1>;
+			#size-cells = <1>;
 
 			partition at 0 {
 				label = "ubi";




More information about the lede-commits mailing list