ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: "Ivan A. Melnikov" <iv@altlinux.org>
To: Daniil Gnusarev <gnusarevda@basealt.ru>
Cc: devel-kernel@lists.altlinux.org
Subject: Re: [d-kernel] [PATCH] [6.18] arm64: dts: Enable the PCIe controller for the Repka Pi5 board.
Date: Tue, 22 Sep 2026 14:51:09 +0400
Message-ID: <arJcbPVo5V-oFY5_@iv-work> (raw)
In-Reply-To: <20260922091809.495683-1-gnusarevda@basealt.ru>

[-- Attachment #1: Type: text/plain, Size: 2354 bytes --]

On Tue, Sep 22, 2026 at 01:18:09PM +0400, Daniil Gnusarev wrote:
> This enables the PCIe controller on Repka Pi5 board.
> It also resolves the shutdown/reboot issue. Without this,
> the `mmu600_pcie` node (which is unused but starts automatically)
> fails to shut down, causing the shutdown process to hang.
> 
> Based on the original dts:
> Link: https://gitflic.ru/project/npo_rbs/repka-os_linux-rockchip/blob?file=arch/arm64/boot/dts/rockchip/rk3588-repka-pi5.dts&branch=master

Лучше указывать ссылку на конкретный коммит, например

https://gitflic.ru/project/npo_rbs/repka-os_linux-rockchip/blob?file=arch/arm64/boot/dts/rockchip/rk3588-repka-pi5.dts&commit=4b64c5c7f6b1747e280e3d5b884717aea3f15c17

> Signed-off-by: Daniil Gnusarev <gnusarevda@basealt.ru>
> ---
>  .../boot/dts/rockchip/rk3588-repka-pi5.dts    | 27 +++++++++++++++++++
>  1 file changed, 27 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/rockchip/rk3588-repka-pi5.dts b/arch/arm64/boot/dts/rockchip/rk3588-repka-pi5.dts
> index 4e4207108dbf2..1ff882188f4d4 100644
> --- a/arch/arm64/boot/dts/rockchip/rk3588-repka-pi5.dts
> +++ b/arch/arm64/boot/dts/rockchip/rk3588-repka-pi5.dts
> @@ -74,6 +74,17 @@ fan: pwm-fan {
>  		#cooling-cells = <2>;
>  	};
>  
> +	vcc3v3_pcie30: vcc3v3-pcie30 {
> +		compatible = "regulator-fixed";
> +		regulator-name = "vcc3v3_pcie30";
> +		startup-delay-us = <5000>;
> +		enable-active-high;
> +		gpios = <&gpio2 RK_PB6 GPIO_ACTIVE_HIGH>;
> +		regulator-min-microvolt = <3300000>;
> +		regulator-max-microvolt = <3300000>;
> +		vin-supply = <&vcc5v0_sys>;
> +	};
> +
>  	vcc5v0_sys: regulator-vcc5v0-sys {
>  		compatible = "regulator-fixed";
>  		regulator-name = "vcc5v0_sys";
> @@ -260,6 +271,22 @@ map1 {
>  	};
>  };
>  
> +&pcie30phy {
> +	data-lanes = <1 3 2 4>;
> +	clocks = <&cru PCLK_PCIE_COMBO_PIPE_PHY>,
> +		 <&cru PCLK_PHP_ROOT>;
> +	clock-names = "pclk", "pipe";
> +	status = "okay";
> +};
> +
> +&pcie3x4 {
> +	num-lanes = <1>;
> +	max-link-speed = <3>;
> +	vpcie3v3-supply = <&vcc3v3_pcie30>;
> +	reset-gpios = <&gpio1 RK_PB2 GPIO_ACTIVE_HIGH>;
> +	status = "okay";
> +};
> +
>  &pinctrl {
>  	fan {
>  		fan_tach: fan-tach {
> -- 
> 2.42.2

Reviewed-by: Ivan A. Melnikov <iv@altlinux.org>

-- 
  wbr,
    iv m.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 870 bytes --]

  reply	other threads:[~2026-09-22 10:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-22  9:18 Daniil Gnusarev
2026-09-22 10:51 ` Ivan A. Melnikov [this message]
2026-09-22 10:54 ` Ivan A. Melnikov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=arJcbPVo5V-oFY5_@iv-work \
    --to=iv@altlinux.org \
    --cc=devel-kernel@lists.altlinux.org \
    --cc=gnusarevda@basealt.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux kernel packages development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
		devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
	public-inbox-index devel-kernel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git