]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
realtek: dts: fix SKS8300-8T i2c0 cells 22593/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Tue, 24 Mar 2026 20:21:03 +0000 (21:21 +0100)
committerRobert Marko <robimarko@gmail.com>
Wed, 25 Mar 2026 09:24:29 +0000 (10:24 +0100)
The build system currently issues the following warnings.

../dts/rtl9303_xikestor_sks8300-8t.dts:57.4-17: Warning (reg_format):
/switchcore@1b000000/i2c@36c/i2c@0/temperature-sensor@48:reg: property
has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)

Fix that by providing proper cell data.

Fixes: c63433acd ("add support for XikeStor SKS8300-8T")
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22593
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/dts/rtl9303_xikestor_sks8300-8t.dts

index 92586ee2b803d24676a809efe1777d752a0f22e5..b5a60704509d5833182b38d639fafe34c4aa69fc 100644 (file)
@@ -51,6 +51,8 @@
 
        i2c@0 {
                reg = <0>;
+               #address-cells = <1>;
+               #size-cells = <0>;
 
                temperature_sensor: temperature-sensor@48 {
                        compatible = "national,lm75";