Skip to contentSkip to conversation

arm64: dts: rockchip: helios64: add variables for pcie completion

PATCH Applied Dennis Gilmore 3 participants 3 messages Oct 29, 2021 – Nov 21, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: rockchip: helios64: add variables for pcie completion

without ep-gpios defined u-boot does not initialise PCIe rockchip_pcie pcie@f8000000: failed to find ep-gpios property

additionally set max-link-speed and pinctrl-names for completeness

with this patch and the ones from Florian Klink applied to the dts file in u-boot sata drives show up in both u-boot and linux

---
 arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts | 3 +++
 1 file changed, 3 insertions(+)
arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts +3 -0
index 9c2b45012daa..1e4042a7fdc3 100644
@@ -534,7 +534,10 @@ &pcie_phy {
 };
 
 &pcie0 {
+	ep-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>;
+	max-link-speed = <2>;
 	num-lanes = <2>;
+	pinctrl-names = "default";
 	status = "okay";
 
 	vpcie12v-supply = <&vcc12v_dcin>;
Signature · 1 line
2.32.0
Acked-by on v1 1/1
#1 lore raw
Quoted 30 lines · Dennis Gilmore

without ep-gpios defined u-boot does not initialise PCIe rockchip_pcie pcie@f8000000: failed to find ep-gpios property

additionally set max-link-speed and pinctrl-names for completeness

with this patch and the ones from Florian Klink applied to the dts file in u-boot sata drives show up in both u-boot and linux

---
arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts | 3 +++

1 file changed, 3 insertions(+)
arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts +3 -0
index 9c2b45012daa..1e4042a7fdc3 100644
@@ -534,7 +534,10 @@ &pcie_phy {
 };
 
 &pcie0 {
+	ep-gpios = <&gpio2 RK_PD4 GPIO_ACTIVE_HIGH>;
+	max-link-speed = <2>;
 	num-lanes = <2>;
+	pinctrl-names = "default";
 	status = "okay";
 
 	vpcie12v-supply = <&vcc12v_dcin>;
Signature · 1 line
2.32.0
Signature · 6 lines
Florian Klink

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip
maintainer Applied
#2 lore raw
In reply to Dennis Gilmore
Quoted 7 lines · Dennis Gilmore

without ep-gpios defined u-boot does not initialise PCIe rockchip_pcie pcie@f8000000: failed to find ep-gpios property

additionally set max-link-speed and pinctrl-names for completeness

with this patch and the ones from Florian Klink applied to the dts file in u-boot sata drives show up in both u-boot and linux

Applied, thanks!

[1/1] arm64: dts: rockchip: helios64: add variables for pcie completion

      commit: 755fff528b1b760c700dbf39928ff3dda825f748

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>