]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mediatek: filogic: fix "unknown,gca230718" dtc warnings
authorShiji Yang <yangshiji66@outlook.com>
Sun, 18 May 2025 23:43:29 +0000 (07:43 +0800)
committerShiji Yang <yangshiji66@outlook.com>
Mon, 19 May 2025 12:01:00 +0000 (20:01 +0800)
Add missing #address-cells and #size-cells to fix the
following dtc warnings:

../dts/mt7981b-dlink-aquila-pro-ai-m30-a1.dts:289.4-14: Warning (reg_format): /soc/i2c@11007000/gca230718@40/led@0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7981b-dlink-aquila-pro-ai-m30-a1.dts:295.4-14: Warning (reg_format): /soc/i2c@11007000/gca230718@40/led@1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7981b-dlink-aquila-pro-ai-m30-a1.dts:301.4-14: Warning (reg_format): /soc/i2c@11007000/gca230718@40/led@2:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7981b-dlink-aquila-pro-ai-m30-a1.dts:307.4-14: Warning (reg_format): /soc/i2c@11007000/gca230718@40/led@3:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7986a-dlink-aquila-pro-ai-m60-a1.dts:356.4-14: Warning (reg_format): /soc/i2c@11008000/gca230718@40/led@0:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7986a-dlink-aquila-pro-ai-m60-a1.dts:362.4-14: Warning (reg_format): /soc/i2c@11008000/gca230718@40/led@1:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7986a-dlink-aquila-pro-ai-m60-a1.dts:368.4-14: Warning (reg_format): /soc/i2c@11008000/gca230718@40/led@2:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
../dts/mt7986a-dlink-aquila-pro-ai-m60-a1.dts:374.4-14: Warning (reg_format): /soc/i2c@11008000/gca230718@40/led@3:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)

Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
target/linux/mediatek/dts/mt7981b-dlink-aquila-pro-ai-m30-a1.dts
target/linux/mediatek/dts/mt7986a-dlink-aquila-pro-ai-m60-a1.dts

index dc14fce2b6784d70dacde363e7ab9090d88014a2..6ab48cc5e1d61b6ca88635df33e0622ba8aa390e 100644 (file)
 
        gca230718@40 {
                compatible = "unknown,gca230718";
+               #address-cells = <1>;
+               #size-cells = <0>;
                reg = <0x40>;
 
                led_status_red: led@0 {
index 81634c7c08d423bc501ffbb3cb9a67848aedf6c4..80c4c143672194c3e2309f7ebf5e7aa3c379ee3f 100644 (file)
 
        gca230718@40 {
                compatible = "unknown,gca230718";
+               #address-cells = <1>;
+               #size-cells = <0>;
                reg = <0x40>;
 
                led_status_red: led@0 {