diff mbox series

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

Message ID 20201231125214.25733-4-nuumiofi@gmail.com (mailing list archive)
State New
Headers show
Series provide workaround for Rockchip PCIe bus scan crash with optional delay | expand

Commit Message

Jari Hämäläinen Dec. 31, 2020, 12:52 p.m. UTC
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@gmail.com>
---
 arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

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";