From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from sender4-op-o15.zoho.com (sender4-op-o15.zoho.com [136.143.188.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9FBFF309F1D for ; Thu, 28 May 2026 05:24:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=pass smtp.client-ip=136.143.188.15 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779945872; cv=pass; b=niV0l1RkCqgbQqs6bSYsjwjINrBCdxPWGKOVKVvRgQCsPW2j2F5gAvKUQWy9STbqaY5OCNkOhpjG0uuKL/0by/PZW9tFf3o43ENkj3jABS2QsEugfE5qDiid21WuLG3W/ovf6UAjlA3xqzvBEU53jxy3YPcMx3OcrWZuc8v548o= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779945872; c=relaxed/simple; bh=J7f2wQORWMO7HgLfF+c02eIZh8ngHo2O6iOfc1N+TAY=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=YTQo9JnH8bGuYjAke40xxOUAR+btHph74p74r8G0mIlf6ZPJ896rG8ZRzP+CD+LNDUlmTYu18AatV2kwhHk7i602ILvSirHwZYlOnhI6nOn32kjwH+k0D78T1yH3Zw+Xh7ioOeXd/K9svMXarzCTO0gfxWlVJoKAHuz5G0uAhPY= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pigmoral.tech; spf=pass smtp.mailfrom=pigmoral.tech; dkim=pass (1024-bit key) header.d=pigmoral.tech header.i=junhui.liu@pigmoral.tech header.b=hjYKjbxP; arc=pass smtp.client-ip=136.143.188.15 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pigmoral.tech Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pigmoral.tech Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=pigmoral.tech header.i=junhui.liu@pigmoral.tech header.b="hjYKjbxP" ARC-Seal: i=1; a=rsa-sha256; t=1779945837; cv=none; d=zohomail.com; s=zohoarc; b=Lewwv/E5GzToO6cwJ6qFAQjwPR3Tepy8489G9ze+/TW3pwkSZXhaf3JngsOo56ETKwhOfj808rpAm0+jaeW+rbKgKs/06uP3Guy0TKyTGXGaDXvlJeMbRnW7MVKYI6U0nvbWfA4kc1UTf8jhS8ti3mScww+tpHisJrr06wvtFpU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1779945837; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=Lzm3YWrKP2JFz/K4efBOj3ww3Vn5sEbCNURK4uiazgU=; b=GoHFDTkwXTxbYptD6is3LgwfxmPJZ40ilAZ28sgmDxlARpPWkJKe4iliTrTlbuq81K8gbjRkxQcFng8ECf8Ap1XtI4F8C81byfQ+Mx3uIXUud24WFeLvbvY6NJz3+230SnwJ5gYZf7gw6HAenYZXsQIvO5svdwUPHJBDyVJQfoQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=pigmoral.tech; spf=pass smtp.mailfrom=junhui.liu@pigmoral.tech; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1779945837; s=zmail; d=pigmoral.tech; i=junhui.liu@pigmoral.tech; h=From:From:Subject:Subject:Date:Date:Message-Id:Message-Id:MIME-Version:Content-Type:Content-Transfer-Encoding:To:To:Cc:Cc:Reply-To; bh=Lzm3YWrKP2JFz/K4efBOj3ww3Vn5sEbCNURK4uiazgU=; b=hjYKjbxPTSUqcPo4vIfxLEctXjILEQ6WGd4CbtyaD9eJBpOhe2yuXwtQ8BQzaKjG f1oFYmj4THMHW2BcZqjq99wqTIcPDPAO4jfnVzjocP4jVpz2XYtuPAvP862UTpaDVkj esWKTQEi9Wt8IqbplrEYZaSm9SJn2D0neOliHNVc= Received: by mx.zohomail.com with SMTPS id 1779945833882509.0231225374149; Wed, 27 May 2026 22:23:53 -0700 (PDT) From: Junhui Liu Subject: [PATCH v2 0/3] spacemit: k1: Add support for Banana Pi BPI-CM6 IO board Date: Thu, 28 May 2026 13:22:46 +0800 Message-Id: <20260528-bpi-cm6-v2-0-d0eb3f236cea@pigmoral.tech> Precedence: bulk X-Mailing-List: spacemit@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAAAAAAAC/2WOyw6CMBBFf4XM2po+hCIr/8OwKGUKk1jAFomG8 O9WWLo8N/e1QsRAGKHKVgi4UKRxSCBPGdjeDB0yahOD5LLguZSsmYhZX7DWqtJdBSqHFpJ7Cuj ovTfd64MDPl+pcD5EaExEZkfvaa6yMseLzbVSttXw8/cU5zF89iOL2AN/m4tgnGmu0Ymr0Ebx2 0SdH4N5nGe0PdTbtn0BQUHBKdIAAAA= X-Change-ID: 20260522-bpi-cm6-dc38f91e3fec To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Yixun Lan , Vivian Wang , Paolo Abeni , Guodong Xu , Yangyu Chen Cc: devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev, linux-kernel@vger.kernel.org, Junhui Liu , Conor Dooley , Michael Opdenacker X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1779945818; l=2323; i=junhui.liu@pigmoral.tech; s=20251228; h=from:subject:message-id; bh=J7f2wQORWMO7HgLfF+c02eIZh8ngHo2O6iOfc1N+TAY=; b=1SnXTx7VIrfVrpucpNpMyxNBnAH1+6J0bVAg83wpH/aXVz7mSfyftCijL0pgzTJJnHp2oCvPd D7VDck2e2iVB6fXVeCcYQpjgT06vVrK8Vwdsow8LcshIYBQmC6KLbMB X-Developer-Key: i=junhui.liu@pigmoral.tech; a=ed25519; pk=3vU0qIPJAH8blXmLyqBhKx+nLOjcLwwYhZXelEpw7h4= X-ZohoMailClient: External This adds initial support for the Banana Pi BPI-CM6 IO board. The BPI-CM6 is an industrial-grade RISC-V compute module powered by the SpacemiT K1 SoC, featuring board-to-board connectors similar to the Raspberry Pi CM4 form factor. For evaluation and development, the module is paired with a companion IO carrier board. During the board bring-up, GPIO45 and GPIO46 were found to be used by the BPI-CM6 hardware as Ethernet PHY reset GPIOs, while the common K1 GMAC pinctrl groups currently mux them as optional GMAC reference clock pins. Since the reference clock pins are not required on all K1 boards, the second patch separates them into independent pinctrl groups so board DTS files can select them only when the signal is actually wired. This is based on the "dt-for-next" branch of the spacemit-com/linux. Link: https://docs.banana-pi.org/en/BPI-CM6/BananaPi_BPI-CM6 Signed-off-by: Junhui Liu --- Changes in v2: - Keep gmac_clk_ref pinctrl groups referenced on existing boards where the pins are routed to optional PHY refclk paths - Remove duplicate vpcie3v3-supply property from pcie1 and pcie2 nodes - Collect tags - Link to v1: https://lore.kernel.org/r/20260522-bpi-cm6-v1-0-707ef1917a30@pigmoral.tech --- Junhui Liu (3): dt-bindings: riscv: spacemit: Add Banana Pi BPI-CM6 compatible riscv: dts: spacemit: k1: Split gmac_clk_ref into independent pinctrl groups riscv: dts: spacemit: k1: Add Banana Pi BPI-CM6 IO board .../devicetree/bindings/riscv/spacemit.yaml | 5 + arch/riscv/boot/dts/spacemit/Makefile | 1 + .../riscv/boot/dts/spacemit/k1-bananapi-cm6-io.dts | 213 +++++++++++++++++++ arch/riscv/boot/dts/spacemit/k1-bananapi-cm6.dtsi | 227 +++++++++++++++++++++ arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts | 4 +- arch/riscv/boot/dts/spacemit/k1-milkv-jupiter.dts | 4 +- arch/riscv/boot/dts/spacemit/k1-musepi-pro.dts | 2 +- arch/riscv/boot/dts/spacemit/k1-orangepi-r2s.dts | 4 +- arch/riscv/boot/dts/spacemit/k1-pinctrl.dtsi | 24 ++- 9 files changed, 473 insertions(+), 11 deletions(-) --- base-commit: 85e4c5733cd7efa39f10d7200095c016ce4a2815 change-id: 20260522-bpi-cm6-dc38f91e3fec Best regards, -- Junhui Liu