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 B3C37CA101F for ; Fri, 5 Sep 2025 18:34:02 +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=A/1K/yilvDx2QKsw2Zebf+FyCnPF6/OOFme5LWjeYmE=; b=dzlVuTGptUuZhk rW9hIwP2DDmmPplAGGhxSHC5Yc96rB56AkAmVhfVrxx/TeMByk0BO1kUtt1JGdoaY1/Opc6yMMizw FsAdxDkdko/cLBUNFIni44nt9LKqWFt2wntaDn67WlUDPa8NAuwI+8nskqkgksoBlBCmBj0V1yjBf 421w9TdZPZPvMwwzwxAiTgYoIwOK6MBzXJT5wGDvbYFZjzs+xxIiougko7k2+sRkVwz9Txds3PgJn sYDhQW24FDW8KEf55om/syCT1zOQsjEhgNXVybUjwR9DFU9+dz9DmtZ73+0gNbkNV2D7HzG7RW5Mq s+1PvRU7Zje1cCmRKpVA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uubFz-00000003ovS-1FvN; Fri, 05 Sep 2025 18:33:55 +0000 Received: from freeshell.de ([116.202.128.144]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uuXcz-00000002SKu-1kMw for linux-riscv@lists.infradead.org; Fri, 05 Sep 2025 14:41:27 +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 5EFDCB22004E; Fri, 5 Sep 2025 16:41:18 +0200 (CEST) From: E Shattow To: Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti Cc: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, E Shattow , Heinrich Schuchardt , Emil Renner Berthing , Conor Dooley Subject: [PATCH v3 0/5] riscv: dts: starfive: Add Milk-V Mars CM (Lite) SoM Date: Fri, 5 Sep 2025 07:39:38 -0700 Message-ID: <20250905144011.928332-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-20250905_074125_602244_DF01786A X-CRM114-Status: UNSURE ( 8.88 ) 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 Changes since v2: - PATCH 3/5 delete newline at end of file - PATCH 5/5 delete newline at end of file Link to v2: https://lore.kernel.org/lkml/20250831225959.531393-1-e@freeshell.de/ E Shattow (5): riscv: dts: starfive: add common board dtsi for Milk-V Mars CM variants 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 | 12 ++ .../dts/starfive/jh7110-milkv-marscm-lite.dts | 25 +++ .../dts/starfive/jh7110-milkv-marscm.dtsi | 159 ++++++++++++++++++ 5 files changed, 200 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 create mode 100644 arch/riscv/boot/dts/starfive/jh7110-milkv-marscm.dtsi base-commit: 8181cc2f3f21657392da912eb20ee17514c87828 -- 2.50.0 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv