From f2de91965832bdc968242bfa9f33fda82f11cb06 Mon Sep 17 00:00:00 2001 From: Shiji Yang Date: Mon, 19 May 2025 08:10:52 +0800 Subject: [PATCH] mediatek: filogic: fix bpi-r4 eeprom dtc warnings Add missing #address-cells and #size-cells to fix the following dtc warnings: mt7988a-bananapi-bpi-r4-wifi-mt7996a.dtso:31.5-18: Warning (reg_format): /fragment@1/__overlay__/wifi_eeprom@51:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) mt7988a-bananapi-bpi-r4-wifi-mt7996a.dtso:50.5-18: Warning (reg_format): /fragment@1/__overlay__/wifi_eeprom@52:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) Signed-off-by: Shiji Yang --- .../dts/mediatek/mt7988a-bananapi-bpi-r4-wifi-mt7996a.dtso | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-wifi-mt7996a.dtso b/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-wifi-mt7996a.dtso index 49ae14b72d6..d2338adefb4 100644 --- a/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-wifi-mt7996a.dtso +++ b/target/linux/mediatek/files-6.6/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4-wifi-mt7996a.dtso @@ -25,6 +25,9 @@ fragment@1 { target = <&i2c_wifi>; __overlay__ { + #address-cells = <1>; + #size-cells = <0>; + // 5G WIFI MAC Address EEPROM wifi_eeprom@51 { compatible = "atmel,24c02";