From patchwork Mon Jun 21 16:28:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 464594 Delivered-To: patch@linaro.org Received: by 2002:a05:6638:102:0:0:0:0 with SMTP id x2csp2786139jao; Mon, 21 Jun 2021 10:15:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYvspJKlPZ6Y/t9fdK21ZlqQcgTY8baJ60xFGHL6xAZh1JXjY++VS//djnbBkOacgqPru6 X-Received: by 2002:a17:906:1815:: with SMTP id v21mr25661807eje.376.1624295743250; Mon, 21 Jun 2021 10:15:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624295743; cv=none; d=google.com; s=arc-20160816; b=zPAO8nb4UQhxqJE+88OuifS8yteTcONuRz8U8c9fU8mN/UAKUfWadaJQrJSPdgK9eD kaXBbiw9FbdQRbvjCIj6sIYgOPXPnXS+R+LICDmW9LXsEE0BODtczStgHrCPUHaIfeua y+7SoTHF+xjID9UfI9ZiAX64KqTzj1HH6c4mJpPrsmDl+/CDYXl84BEOFf36l+n8KOMu gycfjy0inBzgWJX4wpSz5VlYMKdWoHxubGElJNZIwf3aupB+WFxf2EIVSUl2WBZmkoUU lPt3jTwQ72Hoc47q2Mzq+qTVi4YgTIQEy+99Mh7XdQhDziWKeO1wxgH82Pbwc4hOGbnq bJdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=MGyEzqniHlP5XPmzM1wM9A7R5C1K6idS678NNQDpiHQ=; b=vLXz1TIImXym3egiqctb3DZRcnQap0or83d45a3ZzwucT/a5HalPzoKoQSxcA4Iyna ac+FEHmGc7/bW0yM36jJATDO2LWtNsLinh5kXDWNt8JsYTtJIDv+TGdtyBKri+mJY3D8 PULC6G3S9wENgNRCdtixKHlQSP+8cJib9RwTn3IxX5EbkfWZJ4EhwFNPLDOuTTrb1BZB 7I+5CqtWPAs9B+j/nRItWPCk4qbf5OVowdaGJUD3f+1R31KWXfuekbHya/riSDjSMv7g B3hbGLo2Wi4OdwWsSJz8GjP3jvKJhavB5Eo9JQu975X1BUXd24LEDIJq8Si3873vn31i FGJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HTFc6vsq; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id m11si10948831ejl.512.2021.06.21.10.15.43 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 21 Jun 2021 10:15:43 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HTFc6vsq; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:51606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvNWQ-0002Ct-5I for patch@linaro.org; Mon, 21 Jun 2021 13:15:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvMnf-0008Ed-RU for qemu-devel@nongnu.org; Mon, 21 Jun 2021 12:29:27 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:35600) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lvMnd-0007qo-Qd for qemu-devel@nongnu.org; Mon, 21 Jun 2021 12:29:27 -0400 Received: by mail-wm1-x32e.google.com with SMTP id o39-20020a05600c5127b02901d23584fd9bso11539700wms.0 for ; Mon, 21 Jun 2021 09:29:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=MGyEzqniHlP5XPmzM1wM9A7R5C1K6idS678NNQDpiHQ=; b=HTFc6vsq4nja0Xzg4fUFOHcapWgNGK3frwYRNpOFqB9T9ARAY4glim/ARNEm97b1lT dTnDO5tHMd3Bzg+W1TQjti/B0vxvoYRtarwq3I5U7w6awUCvKe86xVAKmeo5byOJEvcc 4TnLQ2MLMzEGor8C8i42yT6ERKVoQ++/PleM/tD0HDpkG17YGK2g1SS7ignFDjhCPwYf Lw0Qyn0tt7U9wS6sldV3BvpMOj/htTPM+rQSTmPmYHrS/vADjybZKN7mE0ksph3w1ohy edCcWc0F7kFih/SrgM+Url1JobrB3dBO2kkMvmRpoNNgjFodQ+QdCsOIo8iN8QMcD6a5 wvUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MGyEzqniHlP5XPmzM1wM9A7R5C1K6idS678NNQDpiHQ=; b=TFq4G1AZpEuNSvdp+eF7Po8/WQScfH4hoFaXrROSxiz4+5jH1wPN3149GOvOvnaDzw uTx29g9fLCjb0XpPEKRlPYgZnFIo1vqvfql5xIbIMSL3hxcS5180hnmkLkHisfsqH4W5 kTOn1iIjd6AsrbKlp5YNkBzj9mtc4q1M+UCDqK2TkAFfuPdKCsza+++hkERZQH4BNEuR 1ZS4RVKtdbJ7gnSeg/KF7taIjIOGmGELzzMJhFjIPSGd0WsYYYRceLdEj/gG67yfMSCP ntmfbGZ58hKyGb1B9cVx829SOFL/VZ7jQVku6OPUSEgyYBPukKeOiB0JsnwA5mw8Y7W2 kfJQ== X-Gm-Message-State: AOAM531HF72MC+ZcjQyxaosvsE8rt0vI4xs7xhigK4133p9GQA+cgjxr 9ABZctUx0C6Z+d3uLg7NmfohcJx7OLgY7o8l X-Received: by 2002:a05:600c:4145:: with SMTP id h5mr7939279wmm.108.1624292964607; Mon, 21 Jun 2021 09:29:24 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id n65sm11615496wme.21.2021.06.21.09.29.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Jun 2021 09:29:24 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 57/57] docs/system: arm: Add nRF boards description Date: Mon, 21 Jun 2021 17:28:33 +0100 Message-Id: <20210621162833.32535-58-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210621162833.32535-1-peter.maydell@linaro.org> References: <20210621162833.32535-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Alexandre Iooss This adds the target guide for BBC Micro:bit. Information is taken from https://wiki.qemu.org/Features/MicroBit and from hw/arm/nrf51_soc.c. Signed-off-by: Alexandre Iooss Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Joel Stanley Message-id: 20210621075625.540471-1-erdnaxe@crans.org Signed-off-by: Peter Maydell --- docs/system/arm/nrf.rst | 51 ++++++++++++++++++++++++++++++++++++++ docs/system/target-arm.rst | 1 + MAINTAINERS | 1 + 3 files changed, 53 insertions(+) create mode 100644 docs/system/arm/nrf.rst -- 2.20.1 diff --git a/docs/system/arm/nrf.rst b/docs/system/arm/nrf.rst new file mode 100644 index 00000000000..eda87bd7602 --- /dev/null +++ b/docs/system/arm/nrf.rst @@ -0,0 +1,51 @@ +Nordic nRF boards (``microbit``) +================================ + +The `Nordic nRF`_ chips are a family of ARM-based System-on-Chip that +are designed to be used for low-power and short-range wireless solutions. + +.. _Nordic nRF: https://www.nordicsemi.com/Products + +The nRF51 series is the first series for short range wireless applications. +It is superseded by the nRF52 series. +The following machines are based on this chip : + +- ``microbit`` BBC micro:bit board with nRF51822 SoC + +There are other series such as nRF52, nRF53 and nRF91 which are currently not +supported by QEMU. + +Supported devices +----------------- + + * ARM Cortex-M0 (ARMv6-M) + * Serial ports (UART) + * Clock controller + * Timers + * Random Number Generator (RNG) + * GPIO controller + * NVMC + * SWI + +Missing devices +--------------- + + * Watchdog + * Real-Time Clock (RTC) controller + * TWI (i2c) + * SPI controller + * Analog to Digital Converter (ADC) + * Quadrature decoder + * Radio + +Boot options +------------ + +The Micro:bit machine can be started using the ``-device`` option to load a +firmware in `ihex format`_. Example: + +.. _ihex format: https://en.wikipedia.org/wiki/Intel_HEX + +.. code-block:: bash + + $ qemu-system-arm -M microbit -device loader,file=test.hex diff --git a/docs/system/target-arm.rst b/docs/system/target-arm.rst index 8b8547f9a9e..13b3eeaf076 100644 --- a/docs/system/target-arm.rst +++ b/docs/system/target-arm.rst @@ -87,6 +87,7 @@ undocumented; you can get a complete list by running arm/digic arm/musicpal arm/gumstix + arm/nrf arm/nseries arm/nuvoton arm/orangepi diff --git a/MAINTAINERS b/MAINTAINERS index 0ca6b7de94a..e8ba494c3f7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1031,6 +1031,7 @@ F: hw/*/microbit*.c F: include/hw/*/nrf51*.h F: include/hw/*/microbit*.h F: tests/qtest/microbit-test.c +F: docs/system/arm/nrf.rst AVR Machines -------------