[openwrt/openwrt] qualcommax: dts: fix property has invalid length warning

LEDE Commits lede-commits at lists.infradead.org
Thu May 15 09:29:04 PDT 2025


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

commit af021c1285d8da2caa02ca2af54b3f6a336831ee
Author: Paweł Owoc <frut3k7 at gmail.com>
AuthorDate: Mon May 12 11:30:51 2025 +0200

    qualcommax: dts: fix property has invalid length warning
    
    Fix "property has invalid length" warning for two devices:
    - TP-Link EAP620 HD v1
    - Zyxel NBG7815
    
    Signed-off-by: Paweł Owoc <frut3k7 at gmail.com>
    Link: https://github.com/openwrt/openwrt/pull/18787
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 .../qualcommax/files/arch/arm64/boot/dts/qcom/ipq8072-eap620hd-v1.dts   | 2 +-
 .../linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-nbg7815.dts | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8072-eap620hd-v1.dts b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8072-eap620hd-v1.dts
index 05621892e6..64b7472831 100644
--- a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8072-eap620hd-v1.dts
+++ b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8072-eap620hd-v1.dts
@@ -71,7 +71,7 @@
 
 &mdio {
 	status = "okay";
-	#size-cells = <1>;
+
 	pinctrl-0 = <&mdio_pins>;
 	pinctrl-names = "default";
 	reset-gpios = <&tlmm 37 GPIO_ACTIVE_LOW>;
diff --git a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-nbg7815.dts b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-nbg7815.dts
index 242f84fa15..d0a2fb7b4e 100644
--- a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-nbg7815.dts
+++ b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-nbg7815.dts
@@ -237,6 +237,8 @@
 
 				nvmem-layout {
 					compatible = "fixed-layout";
+					#address-cells = <1>;
+					#size-cells = <1>;
 
 					aqr_fw: aqr-fw at 0 {
 						/* Skip the QCOM MBN Header of 40 bytes */




More information about the lede-commits mailing list