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 8F72621255A; Sun, 12 Jul 2026 04:01:11 +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=1783828872; cv=pass; b=HqXn3u8wR1qn94fo8AcQ4gDq20OVz/EvDE+6CkO5rNXDCp4LnO7PV81WudTdI12ELSl4QsMqZ9/HfHgGm0/EkijmDHwhMmnQ3Uf2vSXurimxyzp/ggc4z1Rdl+ahmSjmGqe9iS6TCokNHGSHrk4bdPcckC6a7I0nxwD+KuHB+UA= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783828872; c=relaxed/simple; bh=O03rd95rLTU1Dxveo4k6sEWLV/W7qWnJWqsuUvJW/Zk=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=Jy2jUhOLIqo9VgOwA4Fv6a2HJo6eG3LOikXEMk5MlMep0lz4AK3wVGc8iUfnP3nDqIuKETausv8qcaLwvBToj4BoLXKXVHIZiz5YmvRkY+zfd9KaU0XJTA554u0bfN93T2gOzIkUCearCdqclAO2qRi1gAul+T5HZgizNjssF5s= 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=l2S7Hmft; 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="l2S7Hmft" ARC-Seal: i=1; a=rsa-sha256; t=1783828839; cv=none; d=zohomail.com; s=zohoarc; b=AoIicxmLV6OUnyp0cFxOOjHslEVx3rB07tTxvdFjhw74lx720FeqKYjocfzFE/ujdL4urHG38iq12LMt4shTGflGuN+G7c7xLuir4Ek/rTf2m+W04hVwWf+//YyTUDhv3bZuZp2ObR8/WCfG/njL6sj8Aq0CB9e57SgKMwoGm78= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1783828839; 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=sxgMUK4leE9QWcjxVwljumsqOPffhM1uKVFIxXk15jM=; b=LHyh7drvGCjYnFXK15mBzkP88TC4qu5dyTfLR7E8xTUVsYomU5/HSm+ZY6ECD0CPGtq1UPqf4eHRYdQT9o6rmlFqhIC33qOdmSclWimFZ3cw9Di7XvVx+tItu4qEGu+KK/EdUbYEbKzj+TIKiE6nlMsWh+WL/GIme9y2TtuEfg4= 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=1783828839; 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=sxgMUK4leE9QWcjxVwljumsqOPffhM1uKVFIxXk15jM=; b=l2S7Hmft+4LQBWykqqWShcAXyzlWZI0Glx5oWLGMajMmGONhMlLYRuZzdrlYnlcR WkgWXIHh/l67Ajy/FnJ6HBxe7z1/Vif8/oqi/tbO/F0uOdfugLp/xolSr5qgBrShXD9 pZwWtn8yaHLWh+d+ApFKdjj09MLvskaq2sHbyF0c= Received: by mx.zohomail.com with SMTPS id 1783828837085345.73913355068294; Sat, 11 Jul 2026 21:00:37 -0700 (PDT) From: Junhui Liu Subject: [PATCH v3 0/3] spacemit: k1: Add support for Banana Pi BPI-CM6 IO board Date: Sun, 12 Jul 2026 12:00:00 +0800 Message-Id: <20260712-bpi-cm6-v3-0-8d1e2045179d@pigmoral.tech> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org 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/2WNyw6CMBBFf4XM2po+Ig9X/odxUcoUJpFXi42G8 O8WXGB0eW7mnJnBoyP0cE5mcBjIU99FUIcETKO7GhlVkUFymfKTlKwciJk2ZZVRuS0EKosG4vX g0NJzK11vH3Y4PmJw2seG/NS71/YtiHX9DwfBOMt4hlYUItOKXwaq297p+3FC08DaCfLbzXdXR rfiWCorVWpQ/7rLsrwByFNphPMAAAA= X-Change-ID: 20260522-bpi-cm6-dc38f91e3fec To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Yixun Lan , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Guodong Xu , Yangyu Chen , Vivian Wang , Paolo Abeni 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.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1783828822; l=2474; i=junhui.liu@pigmoral.tech; s=20251228; h=from:subject:message-id; bh=O03rd95rLTU1Dxveo4k6sEWLV/W7qWnJWqsuUvJW/Zk=; b=xx0DNzPTLuQ1kJQCbT8D2D8FunRl9hCmDJtpOmAD4JmJjRaB56Pcf22rOu2beVES1uAKHqrLo /CS2qpMvJxqB0c+zMnNMsf0IEsK6mIjFJ/bw8V9ddqMg/7BV7hSm1yb 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. Link: https://docs.banana-pi.org/en/BPI-CM6/BananaPi_BPI-CM6 Signed-off-by: Junhui Liu --- Changes in v3: - Remove uncontrolled always-on intermediate fixed regulators to reduce device tree bloat - Rebase to v7.2-rc1 - Link to v2: https://lore.kernel.org/r/20260528-bpi-cm6-v2-0-d0eb3f236cea@pigmoral.tech 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 | 177 +++++++++++++++++ arch/riscv/boot/dts/spacemit/k1-bananapi-cm6.dtsi | 217 +++++++++++++++++++++ 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, 427 insertions(+), 11 deletions(-) --- base-commit: dc59e4fea9d83f03bad6bddf3fa2e52491777482 change-id: 20260522-bpi-cm6-dc38f91e3fec Best regards, -- Junhui Liu