From patchwork Thu Dec 21 21:32:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?In=C3=A8s_Varhol?= X-Patchwork-Id: 13502673 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D6752C35274 for ; Thu, 21 Dec 2023 21:39:58 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rGQkn-0008Js-RA; Thu, 21 Dec 2023 16:38:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rGQkm-0008Jc-MC; Thu, 21 Dec 2023 16:38:52 -0500 Received: from zproxy3.enst.fr ([137.194.2.222]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rGQkk-0005IM-RP; Thu, 21 Dec 2023 16:38:52 -0500 Received: from localhost (localhost [IPv6:::1]) by zproxy3.enst.fr (Postfix) with ESMTP id BF899A07CB; Thu, 21 Dec 2023 22:38:46 +0100 (CET) Received: from zproxy3.enst.fr ([IPv6:::1]) by localhost (zproxy3.enst.fr [IPv6:::1]) (amavis, port 10032) with ESMTP id EusemgAXboNC; Thu, 21 Dec 2023 22:38:46 +0100 (CET) Received: from localhost (localhost [IPv6:::1]) by zproxy3.enst.fr (Postfix) with ESMTP id 31A56A07CF; Thu, 21 Dec 2023 22:38:46 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 zproxy3.enst.fr 31A56A07CF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telecom-paris.fr; s=A35C7578-1106-11E5-A17F-C303FDDA8F2E; t=1703194726; bh=MYnvFA7HY2sWD1PE8VVPG+sy4BknwXjFgWoc8oIrIcw=; h=From:To:Date:Message-ID:MIME-Version; b=Pz/wCb5DZWkydfq08lKtJfyAEBScQU1z+J4+QSp2OvgwiGLzOCtDMtKMq1n9TWMgy jDzcRkhlgnK8SjQWoBWnS/b+7DveiC78Xg+YvOsXwz2dmyxd+8/eewA4WpntuvL5Zf 35okNQaDgzvaJcThqlWrctO4ITq2h3RVFoWTGZ0c= X-Virus-Scanned: amavis at enst.fr Received: from zproxy3.enst.fr ([IPv6:::1]) by localhost (zproxy3.enst.fr [IPv6:::1]) (amavis, port 10026) with ESMTP id UfMSXx6BEn9F; Thu, 21 Dec 2023 22:38:46 +0100 (CET) Received: from localhost.localdomain (74.0.125.80.rev.sfr.net [80.125.0.74]) by zproxy3.enst.fr (Postfix) with ESMTPSA id DE136A074D; Thu, 21 Dec 2023 22:38:45 +0100 (CET) From: =?utf-8?q?In=C3=A8s_Varhol?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, alistair@alistair23.me, philmd@linaro.org, peter.maydell@linaro.org, arnaud.minier@telecom-paris.fr, ines.varhol@telecom-paris.fr Subject: [PATCH v4 0/2] Add minimal support for the B-L475E-IOT01A board Date: Thu, 21 Dec 2023 22:32:19 +0100 Message-ID: <20231221213838.54944-1-ines.varhol@telecom-paris.fr> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Received-SPF: pass client-ip=137.194.2.222; envelope-from=ines.varhol@telecom-paris.fr; helo=zproxy3.enst.fr 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org This patch adds a new STM32L4x5 SoC, it is necessary to add support for the B-L475E-IOT01A board. The implementation is derived from the STM32F405 SoC and NetduinoPlus2 board. The implementation contains no peripherals, only memory regions are implemented. Changes from v3 to v4: - adding a documentation for the B-L475E-IOT01A board Changes from v1 to v3: - changing the MIT license to GPL. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Arnaud Minier Signed-off-by: Inès Varhol Inès Varhol (2): hw/arm: Add minimal support for the STM32L4x5 SoC hw/arm: Add minimal support for the B-L475E-IOT01A board MAINTAINERS | 15 ++ configs/devices/arm-softmmu/default.mak | 1 + docs/system/arm/b-l475e-iot01a.rst | 46 ++++ docs/system/arm/stm32.rst | 6 +- docs/system/target-arm.rst | 1 + hw/arm/Kconfig | 11 + hw/arm/b-l475e-iot01a.c | 70 +++++++ hw/arm/meson.build | 2 + hw/arm/stm32l4x5_soc.c | 268 ++++++++++++++++++++++++ include/hw/arm/stm32l4x5_soc.h | 59 ++++++ 10 files changed, 477 insertions(+), 2 deletions(-) create mode 100644 docs/system/arm/b-l475e-iot01a.rst create mode 100644 hw/arm/b-l475e-iot01a.c create mode 100644 hw/arm/stm32l4x5_soc.c create mode 100644 include/hw/arm/stm32l4x5_soc.h