Niek Linnenbank a9ad9e73a7 hw/arm/allwinner: add RTC device support
Allwinner System-on-Chips usually contain a Real Time Clock (RTC)
for non-volatile system date and time keeping. This commit adds a generic
Allwinner RTC device that supports the RTC devices found in Allwinner SoC
family sun4i (A10), sun7i (A20) and sun6i and newer (A31, H2+, H3, etc).
The following RTC functionality and features are implemented:

 * Year-Month-Day read/write
 * Hour-Minute-Second read/write
 * General Purpose storage

The following boards are extended with the RTC device:

 * Cubieboard (hw/arm/cubieboard.c)
 * Orange Pi PC (hw/arm/orangepi.c)

Signed-off-by: Niek Linnenbank <nieklinnenbank@gmail.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 20200311221854.30370-13-nieklinnenbank@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2020-03-12 16:27:33 +00:00
..
2019-08-16 13:31:53 +02:00
2020-01-07 17:24:29 +04:00
2019-08-16 13:31:53 +02:00
2020-01-07 17:24:29 +04:00
2019-08-16 13:31:52 +02:00
2020-03-09 15:59:31 +01:00
2019-08-16 13:31:53 +02:00
2019-12-17 19:33:51 +01:00
2019-06-12 13:20:21 +02:00
2019-09-07 08:31:51 +02:00
2020-02-21 09:15:04 +11:00
2019-08-16 13:31:52 +02:00
2019-10-28 19:06:47 +01:00
2019-06-12 13:20:21 +02:00
2019-08-16 13:31:53 +02:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:53 +02:00
2019-08-16 13:31:52 +02:00
2019-08-16 13:31:52 +02:00
2018-12-11 15:45:22 -02:00
2019-08-16 13:31:52 +02:00
2019-11-05 23:33:12 +01:00
2019-08-16 13:31:53 +02:00
2019-06-12 13:20:21 +02:00
2020-01-07 16:06:59 +04:00
2019-08-16 13:31:53 +02:00