[openwrt/openwrt] mediatek: filogic: fix bpi-r4 eeprom dtc warnings

LEDE Commits lede-commits at lists.infradead.org
Mon May 19 07:11:49 PDT 2025


dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/f2de91965832bdc968242bfa9f33fda82f11cb06

commit f2de91965832bdc968242bfa9f33fda82f11cb06
Author: Shiji Yang <yangshiji66 at outlook.com>
AuthorDate: Mon May 19 08:10:52 2025 +0800

    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 at 1/__overlay__/wifi_eeprom at 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 at 1/__overlay__/wifi_eeprom at 52:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
    
    Signed-off-by: Shiji Yang <yangshiji66 at outlook.com>
---
 .../arm64/boot/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 49ae14b72d..d2338adefb 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 at 1 {
 		target = <&i2c_wifi>;
 		__overlay__ {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
 			// 5G WIFI MAC Address EEPROM
 			wifi_eeprom at 51 {
 				compatible = "atmel,24c02";




More information about the lede-commits mailing list