]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
realtek: dts: add monitor IC node for XikeStor SKS8310-8X
authorJonas Jelonek <jelonek.jonas@gmail.com>
Fri, 27 Feb 2026 22:38:02 +0000 (22:38 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 1 Mar 2026 13:46:12 +0000 (14:46 +0100)
The XikeStor SKS8310-8X has a monitoring IC LM75B from National
Instruments on board. This was missed when support for the device was
added. Add it now and also add the corresponding kmod to the device
packages.

Fixes: 62d50fb196 ("realtek: add support for XikeStor SKS8310-8X")
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22211
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/realtek/dts/rtl9303_xikestor_sks8310-8x.dts
target/linux/realtek/image/rtl930x.mk

index 0482eed8bf12af8c88cdadd6a7d0737b25b6a732..feda833ff91d81eed9716038b530e5ab3ecd3f82 100644 (file)
 &i2c_mst1 {
        status = "okay";
 
-       /* SDA0-7 correspond to GPIO9-16 */
        i2c0: i2c@0 {
                reg = <0>;
+
+               /* NXP LM75BD */
+               sensor@48 {
+                       compatible = "national,lm75b";
+                       reg = <0x48>;
+               };
        };
        i2c1: i2c@1 {
                reg = <1>;
index 8886a387a880f981ac16b5d7e1beb3485ac361a4..f675ddd9d40aae71085637e3a6460c9ddc00f36e 100644 (file)
@@ -132,6 +132,7 @@ define Device/xikestor_sks8310-8x
   UIMAGE_MAGIC := 0x93000000
   DEVICE_VENDOR := XikeStor
   DEVICE_MODEL := SKS8310-8X
+  DEVICE_PACKAGES := kmod-hwmon-lm75
   IMAGE_SIZE := 20480k
   $(Device/kernel-lzma)
   IMAGE/sysupgrade.bin := \