diff options
author | Luc Michel <luc@lmichel.fr> | 2020-10-10 15:57:49 +0200 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2020-10-27 11:10:44 +0000 |
commit | fc14176ba23de1386d8172d86a8006d9f8a555fc (patch) | |
tree | ca63b8dbd63f1941327eff9b03b8e2dbf2df8a4b /hw/misc/meson.build | |
parent | 74de7145fd670bb8f86ceb2423c39c8dee37b820 (diff) | |
download | qemu-fc14176ba23de1386d8172d86a8006d9f8a555fc.zip qemu-fc14176ba23de1386d8172d86a8006d9f8a555fc.tar.gz qemu-fc14176ba23de1386d8172d86a8006d9f8a555fc.tar.bz2 |
hw/arm/raspi: add a skeleton implementation of the CPRMAN
The BCM2835 CPRMAN is the clock manager of the SoC. It is composed of a
main oscillator, and several sub-components (PLLs, multiplexers, ...) to
generate the BCM2835 clock tree.
This commit adds a skeleton of the CPRMAN, with a dummy register
read/write implementation. It embeds the main oscillator (xosc) from
which all the clocks will be derived.
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Luc Michel <luc@lmichel.fr>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/misc/meson.build')
-rw-r--r-- | hw/misc/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/misc/meson.build b/hw/misc/meson.build index 7ffb44b..4f82000 100644 --- a/hw/misc/meson.build +++ b/hw/misc/meson.build @@ -74,6 +74,7 @@ softmmu_ss.add(when: 'CONFIG_RASPI', if_true: files( 'bcm2835_property.c', 'bcm2835_rng.c', 'bcm2835_thermal.c', + 'bcm2835_cprman.c', )) softmmu_ss.add(when: 'CONFIG_SLAVIO', if_true: files('slavio_misc.c')) softmmu_ss.add(when: 'CONFIG_ZYNQ', if_true: files('zynq_slcr.c', 'zynq-xadc.c')) |