[RFC PATCH 3/3] arm64: dts: rockchip: use bus-scan-delay-ms workaround with RockPro64 PCIe

Jari Hämäläinen nuumiofi at gmail.com
Thu Dec 31 07:52:14 EST 2020


Add delay before RockPro64 PCIe bus scan as a workaround for some devices
causing a crash like many LSI SAS controller based RAID controllers and
host bus adapters.

As a side effect this slows down system startup by the amount of delay
even with devices that don't need the delay to work.

Signed-off-by: Jari Hämäläinen <nuumiofi at gmail.com>
---
 arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi
index 6e553ff47534..256c357c069e 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi
+++ b/arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi
@@ -546,6 +546,7 @@ &pcie0 {
 	num-lanes = <4>;
 	pinctrl-names = "default";
 	pinctrl-0 = <&pcie_perst>;
+	rockchip,bus-scan-delay-ms = <1100>;
 	vpcie12v-supply = <&vcc12v_dcin>;
 	vpcie3v3-supply = <&vcc3v3_pcie>;
 	status = "okay";
-- 
2.29.2




More information about the Linux-rockchip mailing list