aspeed: add an I2C RTC device to all machines
commit6c4567c730488a667eb7d33f19c9dfcae21187bc
authorCédric Le Goater <clg@kaod.org>
Fri, 8 Jun 2018 12:15:32 +0000 (8 13:15 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 8 Jun 2018 12:15:32 +0000 (8 13:15 +0100)
treeb58044c3401568416db0c106e3dbc27a688a1b16
parent62c2c2ebde27c8cc07d7f5dce329a5fe04bb98bb
aspeed: add an I2C RTC device to all machines

The AST2500 EVB does not have an RTC but we can pretend that one is
plugged on the I2C bus header.

The romulus and witherspoon boards expects an Epson RX8900 I2C RTC but
a ds1338 is good enough for the basic features we need.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Message-id: 20180530064049.27976-4-clg@kaod.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/aspeed.c