arm64: dts: rockchip: add variables for pcie completion to helios64
authorDennis Gilmore <dgilmore@redhat.com>
Fri, 29 Oct 2021 00:53:19 +0000 (19:53 -0500)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 21 Nov 2021 17:54:07 +0000 (18:54 +0100)
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

Signed-off-by: Dennis Gilmore <dgilmore@redhat.com>
Acked-By: Florian Klink <flokli@flokli.de>
Link: https://lore.kernel.org/r/20211029005323.144652-1-dgilmore@redhat.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts

index 8767dd2..ac193e5 100644 (file)
 };
 
 &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>;