Message ID | 20220622172830.101210-8-quic_jaehyoo@quicinc.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add Qualcomm BMC machines | expand |
diff --git a/hw/arm/aspeed.c b/hw/arm/aspeed.c index 85630b497793..08e5fc178a94 100644 --- a/hw/arm/aspeed.c +++ b/hw/arm/aspeed.c @@ -1046,6 +1046,10 @@ static void qcom_dc_scm_firework_i2c_init(AspeedMachineState *bmc) /* I2C4 */ qcom_firework_fru_init(aspeed_i2c_get_bus(&soc->i2c, 4), 0x50, 128 * 1024); + + /* I2C-9 Fan Controller (MAX31785) */ + i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 9), "max31785", 0x52); + i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 9), "max31785", 0x54); } static bool aspeed_get_mmio_exec(Object *obj, Error **errp)