From: Shiji Yang Date: Mon, 19 May 2025 00:15:21 +0000 (+0800) Subject: mediatek: filogic: fix mxl phy node dtc warnings X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1482e5e2d70e29c3752df97a1e2e98323b0f63f;p=thirdparty%2Fopenwrt.git mediatek: filogic: fix mxl phy node dtc warnings Add missing #address-cells and #size-cells to fix the following dtc warnings: mt7981-rfb-mxl-2p5g-phy-eth1.dtso:26.5-15: Warning (reg_format): /fragment@1/__overlay__/ethernet-phy@5:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) mt7981-rfb-mxl-2p5g-phy-swp5.dtso:27.5-15: Warning (reg_format): /fragment@1/__overlay__/ethernet-phy@5:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) Signed-off-by: Shiji Yang --- diff --git a/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7981-rfb-mxl-2p5g-phy-eth1.dtso b/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7981-rfb-mxl-2p5g-phy-eth1.dtso index 4d0e5c04067..51d5dc661ad 100644 --- a/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7981-rfb-mxl-2p5g-phy-eth1.dtso +++ b/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7981-rfb-mxl-2p5g-phy-eth1.dtso @@ -18,6 +18,8 @@ fragment@1 { target = <&mdio_bus>; __overlay__ { + #address-cells = <1>; + #size-cells = <0>; reset-gpios = <&pio 14 GPIO_ACTIVE_LOW>; reset-delay-us = <600>; reset-post-delay-us = <20000>; diff --git a/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7981-rfb-mxl-2p5g-phy-swp5.dtso b/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7981-rfb-mxl-2p5g-phy-swp5.dtso index 710e6c0bcfb..4cc3cf1df6c 100644 --- a/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7981-rfb-mxl-2p5g-phy-swp5.dtso +++ b/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7981-rfb-mxl-2p5g-phy-swp5.dtso @@ -19,6 +19,8 @@ fragment@1 { target = <&mdio_bus>; __overlay__ { + #address-cells = <1>; + #size-cells = <0>; reset-gpios = <&pio 14 GPIO_ACTIVE_LOW>; reset-delay-us = <600>; reset-post-delay-us = <20000>;