From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39874) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxAse-00046x-Cx for qemu-devel@nongnu.org; Sun, 09 Apr 2017 07:19:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cxAsZ-0000ra-FA for qemu-devel@nongnu.org; Sun, 09 Apr 2017 07:19:40 -0400 From: Subbaraya Sundeep Date: Sun, 9 Apr 2017 16:49:14 +0530 Message-Id: <1491736758-19540-1-git-send-email-sundeep.lkml@gmail.com> Subject: [Qemu-devel] [Qemu-devel RFC v2 0/4] Add support for Smartfusion2 SoC List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, qemu-arm@nongnu.org Cc: peter.maydell@linaro.org, crosthwaite.peter@gmail.com, Subbaraya Sundeep Hi Qemu-devel, I am trying to add Smartfusion2 SoC. SoC is from Microsemi and System on Module(SOM) board is from Emcraft systems. Smartfusion2 has hardened Microcontroller(Cortex-M3)based Sub System and FPGA fabric. At the moment only system timer, sysreg and SPI controller are modelled. Testing: ./arm-softmmu/qemu-system-arm -M smartfusion2-som -serial mon:stdio \ -kernel u-boot.bin -display none -drive file=spi.bin,if=mtd,format=raw U-boot is from Emcraft with modified SPI driver not to use PDMA. Linux is 4.5 linux with Smartfusion2 SoC dts and clocksource driver added by myself @ https://github.com/Subbaraya-Sundeep/linux.git Baremetal elfs from Microsemi Softconsole IDE are also working. Changes from v1: Added SPI controller. Thanks, Sundeep Subbaraya Sundeep (4): msf2: Add Smartfusion2 System timer msf2: Microsemi Smartfusion2 System Register block. msf2: Add Smartfusion2 SPI controller msf2: Add Emcraft's Smartfusion2 SOM kit. default-configs/arm-softmmu.mak | 1 + hw/arm/Makefile.objs | 2 +- hw/arm/msf2_soc.c | 141 +++++++++++++ hw/misc/Makefile.objs | 1 + hw/misc/msf2_sysreg.c | 168 +++++++++++++++ hw/ssi/Makefile.objs | 1 + hw/ssi/msf2_spi.c | 449 ++++++++++++++++++++++++++++++++++++++++ hw/timer/Makefile.objs | 1 + hw/timer/msf2_timer.c | 273 ++++++++++++++++++++++++ 9 files changed, 1036 insertions(+), 1 deletion(-) create mode 100644 hw/arm/msf2_soc.c create mode 100644 hw/misc/msf2_sysreg.c create mode 100644 hw/ssi/msf2_spi.c create mode 100644 hw/timer/msf2_timer.c -- 2.5.0