msf2: Add Smartfusion2 System timer
RFC 1/3 msf2: Add Smartfusion2 System timer
Modelled System Timer in Microsemi's Smartfusion2 Soc. Timer has two 32bit down counters and two interrupts.
Signed-off-by Subbaraya Sundeep <[email protected]>
--- hw/timer/Makefile.objs | 1 + hw/timer/msf2_timer.c | 273 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 274 insertions(+) create mode 100644 hw/timer/msf2_timer.c
hw/timer/Makefile.objs +1 -0
@@ -41,3 +41,4 @@ common-obj-$(CONFIG_STM32F2XX_TIMER) += stm32f2xx_timer.o common-obj-$(CONFIG_ASPEED_SOC) += aspeed_timer.o common-obj-$(CONFIG_SUN4V_RTC) += sun4v-rtc.o +common-obj-$(CONFIG_MSF2) += msf2_timer.o
hw/timer/msf2_timer.c new file +273 -0
273 lines not on this page · raw message
Signature · 1 line
2.5.0
RFC 2/3 msf2: Microsemi Smartfusion2 System Register block.
Added Sytem register block of Smartfusion2.
This block has PLL registers which are accessed by guest.
Signed-off-by Subbaraya Sundeep <[email protected]>
--- hw/misc/Makefile.objs | 1 + hw/misc/msf2_sysreg.c | 168 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 169 insertions(+) create mode 100644 hw/misc/msf2_sysreg.c
hw/misc/Makefile.objs +1 -0
@@ -56,3 +56,4 @@ obj-$(CONFIG_EDU) += edu.o obj-$(CONFIG_HYPERV_TESTDEV) += hyperv_testdev.o obj-$(CONFIG_AUX) += auxbus.o obj-$(CONFIG_ASPEED_SOC) += aspeed_scu.o aspeed_sdmc.o +obj-$(CONFIG_MSF2) += msf2_sysreg.o
hw/misc/msf2_sysreg.c new file +168 -0
168 lines not on this page · raw message
Signature · 1 line
2.5.0
RFC 3/3 msf2: Add Emcraft's Smartfusion2 SOM kit.
In reply to Subbaraya SundeepEmulated Emcraft's Smartfusion2 System On Module starter kit.
Signed-off-by Subbaraya Sundeep <[email protected]>
--- default-configs/arm-softmmu.mak | 1 + hw/arm/Makefile.objs | 2 +- hw/arm/msf2_soc.c | 122 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 124 insertions(+), 1 deletion(-) create mode 100644 hw/arm/msf2_soc.c
default-configs/arm-softmmu.mak +1 -0
@@ -121,3 +121,4 @@ CONFIG_ACPI=y CONFIG_SMBIOS=y CONFIG_ASPEED_SOC=y CONFIG_GPIO_KEY=y +CONFIG_MSF2=y
hw/arm/Makefile.objs +1 -1
@@ -1,7 +1,7 @@ obj-y += boot.o collie.o exynos4_boards.o gumstix.o highbank.o obj-$(CONFIG_DIGIC) += digic_boards.o obj-y += integratorcp.o mainstone.o musicpal.o nseries.o -obj-y += omap_sx1.o palm.o realview.o spitz.o stellaris.o +obj-y += omap_sx1.o palm.o realview.o spitz.o stellaris.o msf2_soc.o obj-y += tosa.o versatilepb.o vexpress.o virt.o xilinx_zynq.o z2.o obj-$(CONFIG_ACPI) += virt-acpi-build.o obj-y += netduino2.o
hw/arm/msf2_soc.c new file +122 -0
122 lines not on this page · raw message
Signature · 1 line
2.5.0