Skip to content

Commit dcc6785

Browse files
Nicolas Frattarolimmind
authored andcommitted
arm64: dts: rockchip: fix second M.2 slot on ROCK 5T
The Radxa ROCK 5T has two M.2 slots, much like the Radxa Rock 5B+. As it stands, the board won't be able to use PCIe3 if the second M.2 slot is in use. Fix this by adding the necessary node enablement and data-lanes property to the ROCK 5T device tree, mirroring what's in the ROCK 5B+ device tree. Reported-by: FUKAUMI Naoki <[email protected]> Closes: https://libera.catirclogs.org/linux-rockchip/2025-08-25#38610630; Fixes: 0ea651d ("arm64: dts: rockchip: add ROCK 5T device tree") Signed-off-by: Nicolas Frattaroli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 63ddc0a commit dcc6785

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

arch/arm64/boot/dts/rockchip/rk3588-rock-5t.dts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,22 @@
6868
status = "okay";
6969
};
7070

71+
&pcie30phy {
72+
data-lanes = <1 1 2 2>;
73+
};
74+
75+
&pcie3x2 {
76+
pinctrl-names = "default";
77+
pinctrl-0 = <&pcie3x2_rst>;
78+
reset-gpios = <&gpio4 RK_PB0 GPIO_ACTIVE_HIGH>;
79+
vpcie3v3-supply = <&vcc3v3_pcie30>;
80+
status = "okay";
81+
};
82+
83+
&pcie3x4 {
84+
num-lanes = <2>;
85+
};
86+
7187
&pinctrl {
7288
hdmirx {
7389
hdmirx_hpd: hdmirx-5v-detection {
@@ -90,6 +106,12 @@
90106
};
91107
};
92108

109+
pcie3 {
110+
pcie3x2_rst: pcie3x2-rst {
111+
rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
112+
};
113+
};
114+
93115
sound {
94116
hp_detect: hp-detect {
95117
rockchip,pins = <4 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>;

0 commit comments

Comments
 (0)