Skip to content

Commit 526ba2e

Browse files
matweymmind
authored andcommitted
arm64: dts: rockchip: Enable PCIe for Radxa Rock Pi 4 board
Radxa Rock Pi 4 is equipped with M.2 PCIe slot, so enable PCIe for the board. The changes has been tested with Intel SSD 660p series device. 01:00.0 Class 0108: Device 8086:f1a8 (rev 03) Signed-off-by: Matwey V. Kornilov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 635f9a6 commit 526ba2e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,20 @@
463463
pmu1830-supply = <&vcc_3v0>;
464464
};
465465

466+
&pcie_phy {
467+
status = "okay";
468+
};
469+
470+
&pcie0 {
471+
ep-gpios = <&gpio4 RK_PD3 GPIO_ACTIVE_HIGH>;
472+
max-link-speed = <2>;
473+
num-lanes = <4>;
474+
pinctrl-0 = <&pcie_clkreqnb_cpm>;
475+
pinctrl-names = "default";
476+
vpcie3v3-supply = <&vcc3v3_pcie>;
477+
status = "okay";
478+
};
479+
466480
&pinctrl {
467481
bt {
468482
bt_enable_h: bt-enable-h {

0 commit comments

Comments
 (0)