[d-kernel] [PATCH] [6.18] arm64: dts: Enable the PCIe controller for the Repka Pi5 board.
Ivan A. Melnikov
iv на altlinux.org
Вт Сен 22 13:51:09 MSK 2026
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 at 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 at altlinux.org>
--
wbr,
iv m.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 870 bytes
Desc: not available
URL: <http://lists.altlinux.org/pipermail/devel-kernel/attachments/20260922/23073f00/attachment-0001.bin>
Подробная информация о списке рассылки devel-kernel