[d-kernel] [PATCH] [6.18] arm64: dts: Enable the PCIe controller for the Repka Pi5 board.
Daniil Gnusarev
gnusarevda на basealt.ru
Вт Сен 22 12:18:09 MSK 2026
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
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
Подробная информация о списке рассылки devel-kernel