[openwrt/openwrt] ipq40xx: dts: fix dtc warnings for MikroTik hAP ac3 LTE6

LEDE Commits lede-commits at lists.infradead.org
Sun Jul 20 06:38:36 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/875c3ba079a20ccae1270531b75f4c4c2f36dca9

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

    ipq40xx: dts: fix dtc warnings for MikroTik hAP ac3 LTE6
    
    Correct the mtd partition reg property size to fix the following
    dtc warnings:
    
    qcom-ipq4019-hap-ac3-lte6-kit.dts:202.5-25: Warning (reg_format): /soc/spi at 78b5000/flash at 0/partitions/partition at 0:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
    qcom-ipq4019-hap-ac3-lte6-kit.dts:209.5-29: Warning (reg_format): /soc/spi at 78b5000/flash at 0/partitions/partition at 80000:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)
    qcom-ipq4019-hap-ac3-lte6-kit.dts:226.5-31: Warning (reg_format): /soc/spi at 78b5000/flash at 0/partitions/partition at 110000: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/18725
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 .../files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-hap-ac3-lte6-kit.dts  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-hap-ac3-lte6-kit.dts b/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-hap-ac3-lte6-kit.dts
index 881abc23db..cfb69f4d56 100644
--- a/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-hap-ac3-lte6-kit.dts
+++ b/target/linux/ipq40xx/files-6.6/arch/arm/boot/dts/qcom/qcom-ipq4019-hap-ac3-lte6-kit.dts
@@ -196,6 +196,8 @@
 
 		partitions {
 			compatible = "fixed-partitions";
+			#address-cells = <1>;
+			#size-cells = <1>;
 
 			partition at 0 {
 				label = "Qualcomm";




More information about the lede-commits mailing list