hw/arm/armsse: Wire up clocks
commit8fd34dc0c484850c7b1126a484add00df0374c98
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 28 Jan 2021 11:41:31 +0000 (28 11:41 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 29 Jan 2021 15:54:42 +0000 (29 15:54 +0000)
tree6398955963e0a336810e7578dc8d8df61fe29b22
parent13059a3a101f9deb415100286e8b62cc2f4561a3
hw/arm/armsse: Wire up clocks

Create two input clocks on the ARMSSE devices, one for the normal
MAINCLK, and one for the 32KHz S32KCLK, and wire these up to the
appropriate devices.  The old property-based clock frequency setting
will remain in place until conversion is complete.

This is a migration compatibility break for machines mps2-an505,
mps2-an521, musca-a, musca-b1.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Luc Michel <luc@lmichel.fr>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20210128114145.20536-12-peter.maydell@linaro.org
Message-id: 20210121190622.22000-12-peter.maydell@linaro.org
hw/arm/armsse.c
include/hw/arm/armsse.h