Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp757141ybi; Fri, 14 Jun 2019 02:53:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqzuEIT+F0itrNLrZduZbXEn3tlCtxw49uTKv7CBaGjY9maqilIK5HiTgD6zAzfiQkqpU19h X-Received: by 2002:a17:902:27a8:: with SMTP id d37mr92862035plb.150.1560505984073; Fri, 14 Jun 2019 02:53:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560505984; cv=none; d=google.com; s=arc-20160816; b=pRTyCMAQ/LVtKY4rYHEI0u9g+FzhyAb9ZyT0iYdzkwH0nW34sItSbD5I7bixLNat3q H4tk5/Uyzm87AF8hMDZorInvk3TabPlakIhBnLdTwDKnieGSxc58fO0SPwFAUHUjp+J1 0luQ7xW/jqe2IyFArd4PboEvmfhjHuMll67Z+m/Nz26/7K1QtsHFVK/hx6AGww1FmPZW ERSf6WeC+6OHKxB7GtItfdlju59e5z+FMqLBHu9+2V+Qzed4F6XCtmzX75pg6JMQ8AZb iaYS23fwjXufowO2/wdPamAuYrzG5PHPI1Hq3ezWVD94k7b0maNINek+9mDNE+q9bquk KCgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=9VSJqXFeg9rFXzqGR8GCSAsSdzp3Xxt21wBUP1Dfmek=; b=U9uLPSL/Y6wn1DZBDOqV76qGDkf7zqRt6+HOcjfexjJDztots5E9mReuxcR3wdnNjP Liq/zjHTXPWhuLasaX/g0Ekl+C1yR+At/pt8ZKuRrhlmzmT5YaZLKm2/LaeFtXeYHSRR d3aRGXvOLhzAwYMYWa7nA6CpCinEDmkZn6v5nyYUI5e0ygNQtLHBzxboVXy9dAj04kA+ xIgAnowfaPiXQI10S7QUMCTnDnC4dg9KrnfymDHZaZTa8xaKg+iw+aYpa2RXZqovIVqD 39kXicuKzDreuGFxV6yMeA6031qGk4fajqRupGFxdvQMjhgz4zRO0qI62zS8gmobilWe iliw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id go9si1773266plb.268.2019.06.14.02.52.48; Fri, 14 Jun 2019 02:53:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727232AbfFNJwb (ORCPT + 99 others); Fri, 14 Jun 2019 05:52:31 -0400 Received: from gloria.sntech.de ([185.11.138.130]:38468 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726900AbfFNJwb (ORCPT ); Fri, 14 Jun 2019 05:52:31 -0400 Received: from we0305.dip.tu-dresden.de ([141.76.177.49] helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hbisk-0004H9-GQ; Fri, 14 Jun 2019 11:52:26 +0200 From: Heiko Stuebner To: Jianqun Xu Cc: mark.rutland@arm.com, robh+dt@kernel.org, zhangzj@rock-chips.com, manivannan.sadhasivam@linaro.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v3 1/1] arm64: dts: rockchip: add core dtsi file for RK3399Pro SoCs Date: Fri, 14 Jun 2019 11:52:25 +0200 Message-ID: <3309819.J5kelTtX6q@phil> In-Reply-To: <20190530000848.28106-1-jay.xu@rock-chips.com> References: <20190529074752.19388-1-jay.xu@rock-chips.com> <20190530000848.28106-1-jay.xu@rock-chips.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jianqun, Am Donnerstag, 30. Mai 2019, 02:08:48 CEST schrieb Jianqun Xu: > This patch adds core dtsi file for Rockchip RK3399Pro SoCs, > include rk3399.dtsi. Also enable pciei0/pcie_phy for AP to > talk to NPU part inside SoC. > > Signed-off-by: Jianqun Xu could you add the necessary pinctrl entry, as suggested by Manivannan? Thanks Heiko > --- > changes since v2: > - only enable pcie0 and pcie_phy nodes, thanks for Heiko and manivannan > > changes since v1: > - remove dfi and dmc > > arch/arm64/boot/dts/rockchip/rk3399pro.dtsi | 22 +++++++++++++++++++++ > 1 file changed, 22 insertions(+) > create mode 100644 arch/arm64/boot/dts/rockchip/rk3399pro.dtsi > > diff --git a/arch/arm64/boot/dts/rockchip/rk3399pro.dtsi b/arch/arm64/boot/dts/rockchip/rk3399pro.dtsi > new file mode 100644 > index 000000000000..bb5ebf6608b9 > --- /dev/null > +++ b/arch/arm64/boot/dts/rockchip/rk3399pro.dtsi > @@ -0,0 +1,22 @@ > +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) > +// Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd. > + > +#include "rk3399.dtsi" > + > +/ { > + compatible = "rockchip,rk3399pro"; > +}; > + > +/* Default to enabled since AP talk to NPU part over pcie */ > +&pcie_phy { > + status = "okay"; > +}; > + > +/* Default to enabled since AP talk to NPU part over pcie */ > +&pcie0 { > + ep-gpios = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>; > + num-lanes = <4>; > + pinctrl-names = "default"; > + pinctrl-0 = <&pcie_clkreqn_cpm>; > + status = "okay"; > +}; >