diff options
author | Matwey V. Kornilov <matwey@sai.msu.ru> | 2019-11-17 13:15:37 +0300 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2019-12-09 11:44:21 +0300 |
commit | 526ba2e2cf61cfae1c20c55e6fb0a2528751501c (patch) | |
tree | 300fa0a3f31b7ee13d17ecaff3f52e82e544f2b6 /arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts | |
parent | 635f9a6d9cdcabfbd76de24f2bccb2d7924abf59 (diff) | |
download | linux-526ba2e2cf61cfae1c20c55e6fb0a2528751501c.tar.xz |
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 <matwey@sai.msu.ru>
Link: https://lore.kernel.org/r/20191117101545.6406-1-matwey@sai.msu.ru
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts')
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts index 188d9dfc297b..45b6c0eeb5cd 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-rock-pi-4.dts @@ -463,6 +463,20 @@ pmu1830-supply = <&vcc_3v0>; }; +&pcie_phy { + status = "okay"; +}; + +&pcie0 { + ep-gpios = <&gpio4 RK_PD3 GPIO_ACTIVE_HIGH>; + max-link-speed = <2>; + num-lanes = <4>; + pinctrl-0 = <&pcie_clkreqnb_cpm>; + pinctrl-names = "default"; + vpcie3v3-supply = <&vcc3v3_pcie>; + status = "okay"; +}; + &pinctrl { bt { bt_enable_h: bt-enable-h { |