]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
riscv: dts: sophgo: sophgo-srd3-10: add HWMON MCU device
authorInochi Amaoto <inochiama@gmail.com>
Sun, 8 Jun 2025 23:28:31 +0000 (07:28 +0800)
committerInochi Amaoto <inochiama@gmail.com>
Wed, 23 Jul 2025 01:55:14 +0000 (09:55 +0800)
Add MCU devicetree node for Sophgo SRD3-10 board. This is used to
provide SUSP function for the board.

Link: https://lore.kernel.org/r/20250608232836.784737-8-inochiama@gmail.com
Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
Signed-off-by: Chen Wang <wangchen20@iscas.ac.cn>
arch/riscv/boot/dts/sophgo/sg2044-sophgo-srd3-10.dts

index d077923097e80e9a59ba2280b1636ff3e8dbd407..75564b2719cd8fbb67810e1b34b57c645b92cd5b 100644 (file)
        status = "okay";
 };
 
+&i2c1 {
+       status = "okay";
+
+       mcu: syscon@17 {
+               compatible = "sophgo,sg2044-hwmon-mcu", "sophgo,sg2042-hwmon-mcu";
+               reg = <0x17>;
+               #thermal-sensor-cells = <1>;
+       };
+};
+
 &sd {
        bus-width = <4>;
        no-sdio;