]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
qualcommax: dts: fix property has invalid length warning
authorPaweł Owoc <frut3k7@gmail.com>
Mon, 12 May 2025 09:30:51 +0000 (11:30 +0200)
committerRobert Marko <robimarko@gmail.com>
Thu, 15 May 2025 16:29:00 +0000 (18:29 +0200)
Fix "property has invalid length" warning for two devices:
- TP-Link EAP620 HD v1
- Zyxel NBG7815

Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18787
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8072-eap620hd-v1.dts
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq8074-nbg7815.dts

index 05621892e6e574072db75b20e7873d5ec034b592..64b747283165817fc6a72eed7d1e56129950ef75 100644 (file)
@@ -71,7 +71,7 @@
 
 &mdio {
        status = "okay";
-       #size-cells = <1>;
+
        pinctrl-0 = <&mdio_pins>;
        pinctrl-names = "default";
        reset-gpios = <&tlmm 37 GPIO_ACTIVE_LOW>;
index 242f84fa15a35ccb036726326ec09ef131ead56d..d0a2fb7b4ee88614d8b595e19c9f7ba0550cac65 100644 (file)
 
                                nvmem-layout {
                                        compatible = "fixed-layout";
+                                       #address-cells = <1>;
+                                       #size-cells = <1>;
 
                                        aqr_fw: aqr-fw@0 {
                                                /* Skip the QCOM MBN Header of 40 bytes */