[PATCH 6/6] ARM: dts: aspeed: mtmitchell: Add I2C FAN controllers

From: Chanh Nguyen
Date: Thu Aug 01 2024 - 05:19:48 EST


Add the MAX31790 nodes as fan I2C controllers.

Signed-off-by: Chanh Nguyen <chanh@xxxxxxxxxxxxxxxxxxxxxx>
---
.../boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts | 10 ++++++++++
1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts
index 093b746c010f..b3e7a306901b 100644
--- a/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts
+++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-ampere-mtmitchell.dts
@@ -672,6 +672,16 @@ bmc-ocp0-en-hog {
line-name = "bmc-ocp0-en-n";
};
};
+
+ fan-controller0@20 {
+ compatible = "maxim,max31790";
+ reg = <0x20>;
+ };
+
+ fan-controller1@2f {
+ compatible = "maxim,max31790";
+ reg = <0x2f>;
+ };
};

&i2c9 {
--
2.43.0