arm64: dts: rockchip: Fix the num-lanes of pcie3x4 on Cool Pi CM5 EVB
authorAndy Yan <andyshrk@163.com>
Thu, 1 Feb 2024 12:11:06 +0000 (20:11 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 4 Feb 2024 10:09:32 +0000 (11:09 +0100)
The 4 lane pcie30 phy is shared by pcie3x4 and pcie3x2, so
the num-lanes of pcie3x4 should be 2.

Fixes: 791c154c3982 ("arm64: dts: rockchip: Add support for rk3588 based board Cool Pi CM5 EVB")
Signed-off-by: Andy Yan <andyshrk@163.com>
Link: https://lore.kernel.org/r/20240201121106.1471301-4-andyshrk@163.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5-evb.dts

index 609f35ee4b0ee68e1146a896e76df434fd5d3cdc..a4946cdc3bb34ef7bc084f74ae0a4ac8424994df 100644 (file)
        status = "okay";
 };
 
+/* Standard pcie */
 &pcie3x2 {
        reset-gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>;
        vpcie3v3-supply = <&vcc3v3_sys>;
 
 /* M.2 M-Key ssd */
 &pcie3x4 {
+       num-lanes = <2>;
        reset-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>;
        vpcie3v3-supply = <&vcc3v3_sys>;
        status = "okay";