From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 CDA59C87FC5 for ; Thu, 24 Jul 2025 13:52:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=thXno8zUthMs8UmRhiWmjicYWyuEd2dkFMamT0U0Ol4=; b=W3Er2FTyjeyugV rT4i1sk3zVPvsuMGa09PxgUppgf4l4Rcv/P8hml2x9EYT55vq2a5aTikDhRXJMIvLhf2gcvJXlMf+ 1xaKGDRnPTb7Hz70ZQdmRkMl1G1+VXUj0OmcY36aJuB0XV2Z+caNzmGXDwzTXbRiS+hQ5TvBJtAcQ 6yyO//ykmrFJHkxldzKXW7gPfSwctphSjoUARt1Z2reBKX+kULIYBSQJCge1TFy73VbfydjJoFA8T y6CfxSX8dGexjkl1c2D2nVbEb9GFtDhnpU2vNQPS1xkqSBa8XqxZpaJL7woZU3OmM8D/e6vx3T2QE Rf4tvnuB6ymPde7rmKRQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uewMX-00000007YMv-1ZRh; Thu, 24 Jul 2025 13:51:57 +0000 Received: from freeshell.de ([116.202.128.144]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uesaK-0000000772O-02Q4 for linux-riscv@lists.infradead.org; Thu, 24 Jul 2025 09:49:57 +0000 Received: from hay.lan (unknown [IPv6:2605:59c0:2078:cf00:6ecf:39ff:fe00:8375]) (Authenticated sender: e) by freeshell.de (Postfix) with ESMTPSA id A911DB4D0064; Thu, 24 Jul 2025 11:49:51 +0200 (CEST) From: E Shattow To: Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, E Shattow , linux-riscv@lists.infradead.org Subject: [PATCH v1 0/4] riscv: dts: starfive: Add Milk-V Mars CM (Lite) SoM Date: Thu, 24 Jul 2025 02:48:43 -0700 Message-ID: <20250724094912.253723-1-e@freeshell.de> X-Mailer: git-send-email 2.50.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250724_024956_193325_B4E19CD4 X-CRM114-Status: UNSURE ( 7.35 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Milk-V Mars CM and Mars CM Lite System-on-Module both are based on the StarFive JH7110 SoC and compatible with the Raspberry Pi CM4IO Classic IO Board carrier. Mars CM Lite is Mars CM without the eMMC storage component on mmc0 and the mmc0 interface configured instead for SD Card use. The optional WiFi+BT chipset is connected via SDIO on the mmc1 interface that would otherwise be connected to an SD Card slot on the StarFive VisionFive2 reference design. Add the related devicetree files for both Milk-V Mars CM and Milk-V Mars CM Lite describing the currently supported features, namely PMIC, UART, I2C, GPIO, eMMC or SD Card, WiFi+BT, QSPI Flash, and Ethernet. Caveat with vendor AP6256 firmware files present the firmware loading is successful but subsequently fails IRQ wake initialization. Common GPIO conflicts for "WiFi" optioned boards having this module: pwmdac_pins: - AP6256: WL_REG_ON>>WIFI_REG_ON_H_GPIO33 - AP6256: WL_HOST_WAKE>>WIFI_WAKE_HOST_H_GPIO34 i2c2_pins: - AP6256: UART_CTS_N<>UART1_CTSn_GPIO3 i2c6_pins: - AP6256: UART_RXD<>UART_RX_GPIO17 Tested successfully for basic mmc0 storage, USB, and network functionality on: - Milk-V Mars CM 8GB - Milk-V Mars CM Lite 4GB - Milk-V Mars CM Lite WiFi 8GB E Shattow (4): dt-bindings: riscv: starfive: add milkv,marscm-emmc riscv: dts: starfive: add Milk-V Mars CM system-on-module dt-bindings: riscv: starfive: add milkv,marscm-lite riscv: dts: starfive: add Milk-V Mars CM Lite system-on-module .../devicetree/bindings/riscv/starfive.yaml | 2 + arch/riscv/boot/dts/starfive/Makefile | 2 + .../dts/starfive/jh7110-milkv-marscm-emmc.dts | 163 ++++++++++++++++ .../dts/starfive/jh7110-milkv-marscm-lite.dts | 176 ++++++++++++++++++ 4 files changed, 343 insertions(+) create mode 100644 arch/riscv/boot/dts/starfive/jh7110-milkv-marscm-emmc.dts create mode 100644 arch/riscv/boot/dts/starfive/jh7110-milkv-marscm-lite.dts base-commit: 28fa0dcb571ab8f3be4d919f0e20e01d4e44bcb1 -- 2.50.0 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv