From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 9D8FD3C3C00; Tue, 12 May 2026 11:34:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778585685; cv=none; b=Z7is/p6xZuYbqKRN9Do089Hy6kwooo0JKyxLPKO6ihC+cLRosy1iu/Bs0rgveI1JTct6FXKcjeA0lIAAH/orY9JcwjUZUCIi+KKjoxUuv/IZ9FkQip2YhE8g0dL+ZD3giwzE0wcTHngqnxOGzwA8qObfxzr/JkQsRB67P6PAsTI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778585685; c=relaxed/simple; bh=rEH0LubyCwBzQ9XB43fGcRH9yWcSU7fpspDXa3oAJV4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=N1gI283vVUyi/gb5HmaGyCsfmyGMCnpR63ATplb+E0++NxQuPcXKhTi6rDtK5KEo7JwuP6TZij0GcKSg0QwXTHmQDm7sHAA2e/50FTIQs6dy4UQp7g5VoLHbhIw7hzut4RzXG4joouqYnUr/jfb+u1PdSIQ9hFe41NL3c0BtrdU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=huhAFQz0; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="huhAFQz0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B2701C2BCB0; Tue, 12 May 2026 11:34:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1778585685; bh=rEH0LubyCwBzQ9XB43fGcRH9yWcSU7fpspDXa3oAJV4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=huhAFQz0karYLPQmSKNvruvCoi9lXwDr+HDIeX1PLbcemcWgTcyi1FHXNgUOlw35X QUp0wFLaXU6CWU4hhnxo9409qn8U5rpGBgONtlq9J65ZABGGU3wl/AMsIymEFbmRvp GS7OWxtVkaE92OV0P+2OxFOExJfH54t39olwbk/p2mfNPWV+q1vK6oO5tOyKs0KS7S 84ualVrNHj0xC8bx1XYfwWKsRhI/Cq14GsYD8KuQyHfMXugh0Q31/V6vZJlK6VvpTZ IW16r5BvcRS2OBKnMUff/wkL5Qe68X/hMaCAxqMlRmIiHBOx3z/p6/lU6ghGNdXG8s JPAGhj16JAggQ== Date: Tue, 12 May 2026 11:34:41 +0000 From: Yixun Lan To: Andre Heider Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Yixun Lan , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, spacemit@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 5/6] riscv: dts: spacemit: k1-musepi-pro: enable PCIe ports Message-ID: <20260512113441-GKF3624147@kernel.org> References: <20260511111116.1109643-1-a.heider@gmail.com> <20260511111116.1109643-6-a.heider@gmail.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <20260511111116.1109643-6-a.heider@gmail.com> Hi Andre, On 13:11 Mon 11 May , Andre Heider wrote: > Enable the two PCIe controller along with and their associated PHYs. They > are routed to the M.2 M-key connector and to the PCIe slot. > > Signed-off-by: Andre Heider > --- > .../riscv/boot/dts/spacemit/k1-musepi-pro.dts | 50 +++++++++++++++++++ > 1 file changed, 50 insertions(+) > > diff --git a/arch/riscv/boot/dts/spacemit/k1-musepi-pro.dts b/arch/riscv/boot/dts/spacemit/k1-musepi-pro.dts > index 9c90c2817ecb7..2d3e30f0bd806 100644 > --- a/arch/riscv/boot/dts/spacemit/k1-musepi-pro.dts > +++ b/arch/riscv/boot/dts/spacemit/k1-musepi-pro.dts > @@ -36,6 +36,24 @@ led1 { > }; > }; > > + pcie_vcc_3v3: regulator-pcie-vcc3v3 { > + compatible = "regulator-fixed"; > + regulator-name = "PCIE_VCC3V3"; > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > + regulator-always-on; > + vin-supply = <®_usb_vbus>; > + }; > + > + mpcie_vcc_3v3: regulator-mpcie-vcc3v3 { > + compatible = "regulator-fixed"; > + regulator-name = "MPCIE_VCC3V3"; > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > + regulator-always-on; > + vin-supply = <®_usb_vbus>; > + }; > + > reg_usb_vbus: regulator-usb-vbus { > compatible = "regulator-fixed"; > regulator-name = "USBVBUS"; > @@ -275,6 +293,38 @@ dldo7 { > }; > }; > > +&pcie1_phy { > + pinctrl-names = "default"; > + pinctrl-0 = <&pcie1_3_cfg>; > + status = "okay"; > +}; > + > +&pcie1_port { > + phys = <&pcie1_phy>; > + vpcie3v3-supply = <&pcie_vcc_3v3>; > +}; > + > +&pcie1 { .. > + vpcie3v3-supply = <&pcie_vcc_3v3>; drop vpcie3v3-supply which not needed > + status = "okay"; > +}; > + > +&pcie2_phy { > + pinctrl-names = "default"; > + pinctrl-0 = <&pcie2_4_cfg>; > + status = "okay"; > +}; > + > +&pcie2_port { > + phys = <&pcie2_phy>; > + vpcie3v3-supply = <&mpcie_vcc_3v3>; > +}; > + > +&pcie2 { > + vpcie3v3-supply = <&mpcie_vcc_3v3>; same here > + status = "okay"; > +}; > + > &qspi { > pinctrl-names = "default"; > pinctrl-0 = <&qspi_cfg>; > -- > 2.53.0 > -- Yixun Lan (dlan)