From: Shiji Yang Date: Mon, 19 May 2025 00:10:52 +0000 (+0800) Subject: mediatek: filogic: fix bpi-r4 eeprom dtc warnings X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2de91965832bdc968242bfa9f33fda82f11cb06;p=thirdparty%2Fopenwrt.git 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 --- 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";