[openwrt/openwrt] qualcommax: fap650: fix dtc warnings on partitions

LEDE Commits lede-commits at lists.infradead.org
Fri Mar 7 05:03:39 PST 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/213799e33e0518a30f6c22c2142060aba12fcf7d

commit 213799e33e0518a30f6c22c2142060aba12fcf7d
Author: Weikai Kong <priv at pppig236.com>
AuthorDate: Thu Mar 6 18:58:40 2025 -0500

    qualcommax: fap650: fix dtc warnings on partitions
    
    This commit adds the missing properties to address the following warnings:
    Warning (reg_format): /soc at 0/spi at 78b5000/flash at 0/partitions/partition at x:reg: property has invalid length (8 bytes) (#address-cells == 2, #size-cells == 1)"
    
    Signed-off-by: Weikai Kong <priv at pppig236.com>
    Link: #18180
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 .../linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6018-fap650.dts  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6018-fap650.dts b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6018-fap650.dts
index e9ebcc9063..48a046e84f 100644
--- a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6018-fap650.dts
+++ b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6018-fap650.dts
@@ -225,6 +225,8 @@
 		spi-max-frequency = <50000000>;
 
 		partitions {
+			#address-cells = <1>;
+			#size-cells = <1>;
 			compatible = "fixed-partitions";
 
 			partition at 0 {




More information about the lede-commits mailing list