Skip to content

Commit 0522cd8

Browse files
aiamadeusmmind
authored andcommitted
arm64: dts: rockchip: Add PCIe v3 nodes to rock-3a
Add Nodes to Radxa ROCK3 Model A board to support PCIe v3. Tested-by: Anand Moon <linux.amoon@gmail.com> Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> Link: https://lore.kernel.org/r/20221006152524.502445-3-amadeus@jmu.edu.cn Signed-off-by: Heiko Stuebner <heiko@sntech.de>
1 parent 49665ab commit 0522cd8

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,37 @@
6767
regulator-boot-on;
6868
};
6969

70+
pcie30_avdd0v9: pcie30-avdd0v9-regulator {
71+
compatible = "regulator-fixed";
72+
regulator-name = "pcie30_avdd0v9";
73+
regulator-always-on;
74+
regulator-boot-on;
75+
regulator-min-microvolt = <900000>;
76+
regulator-max-microvolt = <900000>;
77+
vin-supply = <&vcc3v3_sys>;
78+
};
79+
80+
pcie30_avdd1v8: pcie30-avdd1v8-regulator {
81+
compatible = "regulator-fixed";
82+
regulator-name = "pcie30_avdd1v8";
83+
regulator-always-on;
84+
regulator-boot-on;
85+
regulator-min-microvolt = <1800000>;
86+
regulator-max-microvolt = <1800000>;
87+
vin-supply = <&vcc3v3_sys>;
88+
};
89+
90+
/* pi6c pcie clock generator */
91+
vcc3v3_pi6c_03: vcc3v3-pi6c-03-regulator {
92+
compatible = "regulator-fixed";
93+
regulator-name = "vcc3v3_pi6c_03";
94+
regulator-always-on;
95+
regulator-boot-on;
96+
regulator-min-microvolt = <3300000>;
97+
regulator-max-microvolt = <3300000>;
98+
vin-supply = <&vcc5v0_sys>;
99+
};
100+
70101
vcc3v3_pcie: vcc3v3-pcie-regulator {
71102
compatible = "regulator-fixed";
72103
enable-active-high;
@@ -546,6 +577,19 @@
546577
status = "okay";
547578
};
548579

580+
&pcie30phy {
581+
phy-supply = <&vcc3v3_pi6c_03>;
582+
status = "okay";
583+
};
584+
585+
&pcie3x2 {
586+
pinctrl-names = "default";
587+
pinctrl-0 = <&pcie30x2m1_pins>;
588+
reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>;
589+
vpcie3v3-supply = <&vcc3v3_pcie>;
590+
status = "okay";
591+
};
592+
549593
&pinctrl {
550594
cam {
551595
vcc_cam_en: vcc_cam_en {

0 commit comments

Comments
 (0)