From fc1a8c76302f62f96f729edc8a8f9fe9ad17aff4 Mon Sep 17 00:00:00 2001 From: Icenowy Zheng Date: Wed, 19 Jun 2024 10:57:36 +0800 Subject: [PATCH] riscv: dts: spacemit: fix PCIe lane number for deb1 K1-X deb1 board seems to have only one PCIe lane wired for PCIe C port, as a mini PCIe slot. Fix the PCIe lane number, otherwise the PCIe controller could not be correctly brought up and no card will be detected. Signed-off-by: Icenowy Zheng --- arch/riscv/boot/dts/spacemit/k1-x_deb1.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/boot/dts/spacemit/k1-x_deb1.dts b/arch/riscv/boot/dts/spacemit/k1-x_deb1.dts index 20458d4c8..c136fca9a 100644 --- a/arch/riscv/boot/dts/spacemit/k1-x_deb1.dts +++ b/arch/riscv/boot/dts/spacemit/k1-x_deb1.dts @@ -818,6 +818,7 @@ &pcie1_rc { &pcie2_rc { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pcie2_4>; + num-lanes = <1>; status = "okay"; }; -- Gitee