Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2166510pxb; Thu, 28 Oct 2021 17:55:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDjcObLV0FPydhccfOiZltErEKLouVhqs/y4S+j+1QfzbxIUA6Obn4WFzQq9XYwK9Pc8pN X-Received: by 2002:a17:90a:7bc9:: with SMTP id d9mr3753895pjl.31.1635468906550; Thu, 28 Oct 2021 17:55:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635468906; cv=none; d=google.com; s=arc-20160816; b=BaT9sCt+K2rNQaGJLHTxJsTLy97z5k9jNZ7X2bG9UmazY0skBSIM++AgbX3N+Kj4F5 6v1Ooo/Bb8vOqTzHF2dpotzp1CmOGCIuARCNxKgw6f+jQGHnj6eqxMR0/TtW8mbnoh+r Ag9TOfIC19qN2Zu/kFN58EcJq0OMfRDyM5ASPr7sEdWQuOY/Xn2OZvlFSFZcQQHxrosq dFg52Cu0ERI5CFGksMO2oEcQ/vfBylkNASIcfFet56Q0cfmPROvEBs1ihdP/tnm+CI9U fkNDyaNx8Clmn6Bzrk8DNZHlN+/AXjUHu+agnl5rl6mBV7sqS8wK+8rGvUq7wK+NLl4s f0Yw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=eo6UYnZwUTssCdnmrv67GJ2sHUnck1SIMVJqaxKytiA=; b=cdcsiYxb8V2EH+Gqexsrm7biw8hObA6119b2MReBCKXBZE7b/syGRckq1pR2wK2LO/ fCNjgSood2tkrOZL1iD1f7VxAvMpmUyQTrtNpVr5mPZcywTzDfGLkz/IVpKUSo2jo57T nnr9ro2biTdesolNKAu2B5vng3enFyk6CH+5IFG05DXIaaLOOSouVvvBan2EbTlcF0hi NU1REbjjnrJ9VXSe6H9ThNqAEZBm2aNQCVPt3Ivk+Gd8QoGr2plGHTOAwufM6rOd48tW 0Q2iZkJH7J9xdQf/HQpUdPYF7LHM7uNY/1o1vvsbgN8qECK4VelXlWj0jA9D7bssan2j WN4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=bwrGw7x4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s207si6303846pgs.116.2021.10.28.17.54.53; Thu, 28 Oct 2021 17:55:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=bwrGw7x4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231286AbhJ2A4K (ORCPT + 99 others); Thu, 28 Oct 2021 20:56:10 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:30870 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230211AbhJ2A4H (ORCPT ); Thu, 28 Oct 2021 20:56:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635468819; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=eo6UYnZwUTssCdnmrv67GJ2sHUnck1SIMVJqaxKytiA=; b=bwrGw7x42YZQfWik1GTktK0R9dbd7a18eN+1yetx9t0ptV0tIwKo9w4rKaxpCADH8Xxdp0 g4L2aWcQSujcL1AzNdFUPgw4ATcsrhtOpzCF41ir1dpqEz/jkwbw5juABTpfmF0QbMwLd8 L+fcnwsm4EbWF3dBLgdNk5z+i2N/8ec= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-259-YhhcfY9EPbeJ7J7o3OhQMw-1; Thu, 28 Oct 2021 20:53:34 -0400 X-MC-Unique: YhhcfY9EPbeJ7J7o3OhQMw-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3649210A8E01; Fri, 29 Oct 2021 00:53:31 +0000 (UTC) Received: from dreyauc.ausil.us.com (unknown [10.22.32.92]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4D47A4180; Fri, 29 Oct 2021 00:53:27 +0000 (UTC) From: Dennis Gilmore To: linux-rockchip@lists.infradead.org Cc: dgilmore@redhat.com, Rob Herring , Heiko Stuebner , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Florian Klink , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:ARM/Rockchip SoC support), linux-kernel@vger.kernel.org (open list) Subject: [PATCH] arm64: dts: rockchip: helios64: add variables for pcie completion Date: Thu, 28 Oct 2021 19:53:19 -0500 Message-Id: <20211029005323.144652-1-dgilmore@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts b/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts index 9c2b45012daa..1e4042a7fdc3 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts @@ -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>; -- 2.32.0