From patchwork Fri Aug 31 22:09:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Stanley X-Patchwork-Id: 10584497 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 634DC5A4 for ; Fri, 31 Aug 2018 22:10:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4C9902C8BC for ; Fri, 31 Aug 2018 22:10:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 40F7A2C8D3; Fri, 31 Aug 2018 22:10:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9CF892C8D6 for ; Fri, 31 Aug 2018 22:10:54 +0000 (UTC) Received: from localhost ([::1]:58644 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvrcz-0005cC-8T for patchwork-qemu-devel@patchwork.kernel.org; Fri, 31 Aug 2018 18:10:53 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fvrbh-0004Z9-Oc for qemu-devel@nongnu.org; Fri, 31 Aug 2018 18:09:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fvrbd-0004fo-9o for qemu-devel@nongnu.org; Fri, 31 Aug 2018 18:09:33 -0400 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]:44969) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fvrbc-0004dU-UM; Fri, 31 Aug 2018 18:09:29 -0400 Received: by mail-pl1-x644.google.com with SMTP id ba4-v6so6028398plb.11; Fri, 31 Aug 2018 15:09:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=WWFcMZUmUGvGnlYxzq9bu4z8gpsdBYJe2bnRqpgfzKY=; b=ZZVdhhR4gmL60lkYGBa79+igC+1wDIh/O/HVozp55YQB8zd87z5CINfNHU3INIRwrs lEhCtCnnhDIFavq5zugNny5BzKQFxdlCmqe2IP93tzT0i2j7dX2PN1duLsZkbsvTgPLg z9ZZpwt0iAD/kCTkSMPTC3zwP93uMa61EWVbSwM1jLrJ48f8WrXZhyBrGUI5hl1ueAij AmxrqBu0dMCFNFUyB8n2c47In0g1qWwkzO9B4096ZSwO82nZmq+e1egSlyEUiV9/3WOD UeWNsOUt9/UvoSwMeQ+y8gMvffhVplhYBmtDsoQbhvtw3Jqw0TQ/wEEMjc94m/BMz/dl r5xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=WWFcMZUmUGvGnlYxzq9bu4z8gpsdBYJe2bnRqpgfzKY=; b=mjeAp7atyR8gxAimz9zgKto71/CHHvLT4tCRl0dvyWujcE95i+QvgIlByNh8SvKnag nFQ2LMIsq2gcMylhbi3hSdpluHPN7TwV7amoQOqy7DmcH0js47lj30XmXAJrhXDyAOfp K5szHYB+S2xJkDvP05LpMWWO90LHHR/XqJoSFYkU+e9Rms2DVKKjNyDgzHp7R0XmfMa8 GnZhOU1fY+nc+5b+ZHEyY6yDUDHPgl8YIV1kVimlKtweYKJ07DFLaAZ1K6y1sUPfgbV2 O58sp/EfLTWPk4Bawqg3tCSIfvpYg4z3+x6ZvNxPqVhqjElTfyE9OTL4Ky85rTKp3Nz3 Zuxg== X-Gm-Message-State: APzg51CWPvCh4pn32MBhQiifGlT9orv5LXAC4Pu2/5q6dAHUE+jZog/N 3Ppo/S+Ys/+PqoiRx6w5R1M= X-Google-Smtp-Source: ANB0VdacrzvgeDmbO1N5quUSyHVNturhiL0Y8dOIFnpa9aFOEIK+1nLhNCcOjD2u+Q6ne5iqyjRm4A== X-Received: by 2002:a17:902:e088:: with SMTP id cb8-v6mr17354104plb.189.1535753367456; Fri, 31 Aug 2018 15:09:27 -0700 (PDT) Received: from aurora.jms.id.au ([72.28.92.217]) by smtp.gmail.com with ESMTPSA id b21-v6sm21632173pfe.148.2018.08.31.15.09.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 31 Aug 2018 15:09:26 -0700 (PDT) Received: by aurora.jms.id.au (sSMTP sendmail emulation); Fri, 31 Aug 2018 15:09:25 -0700 From: Joel Stanley To: Peter Maydell Date: Fri, 31 Aug 2018 15:09:17 -0700 Message-Id: <20180831220920.27113-1-joel@jms.id.au> X-Mailer: git-send-email 2.17.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::644 Subject: [Qemu-devel] [PATCH v6 0/3] arm: Add nRF51 SoC and micro:bit machine X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stefan Hajnoczi , =?utf-8?q?Steffen_G=C3=B6rtz?= , qemu-devel@nongnu.org, qemu-arm@nongnu.org, Jim Mussared , Julia Suvorova Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP v6: Rework based on Peter's review v5: Change back to ARMv7M from ARMMProfile v4: Fix number of IRQs v3: Rebase on Stefan's cortex-m0 series v2: Addresses review from Peter and Stefan This short series implements a minimal definition of the Nordic Semiconductor nRF51, a Cortex-M0 ARM SoC, and the BBC micro:bit, a machine that will use this SoC. Joel Stanley (3): MAINTAINERS: Add NRF51 entry arm: Add Nordic Semiconductor nRF51 SoC arm: Add BBC micro:bit machine MAINTAINERS | 8 ++ default-configs/arm-softmmu.mak | 1 + hw/arm/Makefile.objs | 1 + hw/arm/microbit.c | 67 ++++++++++++++++ hw/arm/nrf51_soc.c | 130 ++++++++++++++++++++++++++++++++ include/hw/arm/nrf51_soc.h | 41 ++++++++++ 6 files changed, 248 insertions(+) create mode 100644 hw/arm/microbit.c create mode 100644 hw/arm/nrf51_soc.c create mode 100644 include/hw/arm/nrf51_soc.h