diff mbox series

[23/24] arm/aspeed: Add DPS310 to rainier

Message ID 20210407171637.777743-24-clg@kaod.org
State New
Headers show
Series None | expand

Commit Message

Cédric Le Goater April 7, 2021, 5:16 p.m. UTC
From: Joel Stanley <joel@jms.id.au>


Signed-off-by: Joel Stanley <joel@jms.id.au>

Signed-off-by: Cédric Le Goater <clg@kaod.org>

---
 hw/arm/aspeed.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.26.3
diff mbox series

Patch

diff --git a/hw/arm/aspeed.c b/hw/arm/aspeed.c
index 19588e17fec8..96782269b220 100644
--- a/hw/arm/aspeed.c
+++ b/hw/arm/aspeed.c
@@ -617,9 +617,9 @@  static void rainier_bmc_i2c_init(AspeedMachineState *bmc)
     i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 6), TYPE_TMP105,
                      0x4b);
 
-    /* Bus 7: TODO dps310@76 */
     /* Bus 7: TODO max31785@52 */
     i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 7), "pca9552", 0x61);
+    i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 7), "dps310", 0x76);
     /* Bus 7: TODO si7021-a20@20 */
     i2c_slave_create_simple(aspeed_i2c_get_bus(&soc->i2c, 7), TYPE_TMP105,
                      0x48);