Skip to content
This repository was archived by the owner on Mar 29, 2021. It is now read-only.

Commit 1ff1111

Browse files
committed
arm: dts: pinebookpro: Add PCIe definitions
1 parent e8be135 commit 1ff1111

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

arch/arm/dts/rk3399-pinebook-pro.dts

+29
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,19 @@
234234
vin-supply = <&dc_12v>;
235235
};
236236
*/
237+
238+
vcc3v3_pcie: vcc3v3-pcie-regulator {
239+
compatible = "regulator-fixed";
240+
enable-active-high;
241+
gpio = <&gpio1 RK_PD0 GPIO_ACTIVE_HIGH>;
242+
pinctrl-names = "default";
243+
pinctrl-0 = <&pcie_pwr_en>;
244+
regulator-name = "vcc3v3_pcie";
245+
regulator-min-microvolt = <3300000>;
246+
regulator-max-microvolt = <3300000>;
247+
vin-supply = <&dc_12v>;
248+
};
249+
237250
vcc1v8_sdio: vcca1v8_sdio: vcc1v8-sdio {
238251
u-boot,dm-pre-reloc;
239252
compatible = "regulator-fixed";
@@ -341,6 +354,21 @@
341354
status = "okay";
342355
};
343356

357+
&pcie_phy {
358+
status = "okay";
359+
};
360+
361+
&pcie0 {
362+
ep-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>;
363+
num-lanes = <4>;
364+
max-link-speed = <2>;
365+
pinctrl-names = "default";
366+
pinctrl-0 = <&pcie_clkreqn_cpm>;
367+
vpcie3v3-supply = <&vcc3v3_pcie>;
368+
bus-scan-delay-ms = <1000>;
369+
status = "okay";
370+
};
371+
344372
&sdio0 {
345373
u-boot,dm-pre-reloc;
346374
clock-frequency = <50000000>;
@@ -360,6 +388,7 @@
360388
vqmmc-supply = <&vcc1v8_sdio>; /* IO line */
361389
vmmc-supply = <&vcc3v0_sdio>; /* card's power */
362390
status = "okay";
391+
defer_pcie = <2000>;
363392
};
364393

365394
&sdmmc {

0 commit comments

Comments
 (0)