[openwrt/openwrt] mediatek: filogic: fix mxl phy node dtc warnings
LEDE Commits
lede-commits at lists.infradead.org
Mon May 19 07:11:51 PDT 2025
dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/d1482e5e2d70e29c3752df97a1e2e98323b0f63f
commit d1482e5e2d70e29c3752df97a1e2e98323b0f63f
Author: Shiji Yang <yangshiji66 at outlook.com>
AuthorDate: Mon May 19 08:15:21 2025 +0800
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 at 1/__overlay__/ethernet-phy at 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 at 1/__overlay__/ethernet-phy at 5:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
Signed-off-by: Shiji Yang <yangshiji66 at outlook.com>
---
.../arch/arm64/boot/dts/mediatek/mt7981-rfb-mxl-2p5g-phy-eth1.dtso | 2 ++
.../arch/arm64/boot/dts/mediatek/mt7981-rfb-mxl-2p5g-phy-swp5.dtso | 2 ++
2 files changed, 4 insertions(+)
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 4d0e5c0406..51d5dc661a 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 at 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 710e6c0bcf..4cc3cf1df6 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 at 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>;
More information about the lede-commits
mailing list