Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5992163ybi; Wed, 29 May 2019 00:49:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqyWSmfvbdoY0MAYtqQEU5SktO0qYJlGNmpLZcIR03l/IrJp+r/0/Xb4+8D+bSOxxg3MBkAM X-Received: by 2002:a63:5014:: with SMTP id e20mr133007737pgb.2.1559116170881; Wed, 29 May 2019 00:49:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559116170; cv=none; d=google.com; s=arc-20160816; b=LY2esskmQFZJyC4qwUWUxL3ZzR3jUMKK/51jhyCH/qnN1ytzBm5Dz93GxLpzxsNJJ8 A7ReyfujAtBFk/gj99Wph2VyutPeed4QOAeOKBPFhXj6MUFvynLtp9Dznw6eMKCMVrbH RTmOdMKGIAI3f88JZipG2i46Son0mhvaPOq0MVGhiFRoKY0WqwL8iF/8Eyi8kqiq2uGT 4oim+ih1Kijvun7Tcskb+F+ApCYmqCkL9mddrgkMD9Thbrn79XIVvG47UVdDE3xjm/hC oiOw1enzAsTAzHcyXMxu/Qyj22Qfbaz7BxZS2VXQFgrbpX8aIqgyHE9EptTyHCHdbWyi OxSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=YfGSjUie3lnmSudoe2SH3RHySwkt3eJ6/H22CuEY1P0=; b=RzlA+TerEf39EaoxiW8fyqktwzF9bjVYySj1F5HpugN23wxDtTywIS7IqkfKchw6T9 m2ivp0EdHwFysGU9LRmUJTPw9JlaH4e1W+1k6Xg3Sv5VpoX998/TMIvOeRs1AdJFiSe7 eAS3MBxFmraNifUtlirM/B5Fkb//0pSvpHAfHG+X7gdvNUoYuXX69vKXk+KG0IEg7d6s KVaKEBQlknosry59T4Cb5YX2Kqs0GWQByt4DhcpJN9M6aiVz7jZy3wA7bhH00u8sNMsI YHHWfHcyi3867JyQfITSKOSC+iSGDGAnFqAn6sj9k5FZgJ+p8rQI01Qyz+wdD3bX4dSD kM+g== 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 n33si22876406pgl.403.2019.05.29.00.49.15; Wed, 29 May 2019 00:49:30 -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 S1726752AbfE2HsG (ORCPT + 99 others); Wed, 29 May 2019 03:48:06 -0400 Received: from regular1.263xmail.com ([211.150.70.198]:53544 "EHLO regular1.263xmail.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725895AbfE2HsG (ORCPT ); Wed, 29 May 2019 03:48:06 -0400 Received: from jay.xu?rock-chips.com (unknown [192.168.167.83]) by regular1.263xmail.com (Postfix) with ESMTP id DE17130E; Wed, 29 May 2019 15:47:57 +0800 (CST) X-263anti-spam: KSV:0;BIG:0; X-MAIL-GRAY: 0 X-MAIL-DELIVERY: 1 X-KSVirus-check: 0 X-ADDR-CHECKED4: 1 X-ABS-CHECKED: 1 X-SKE-CHECKED: 1 X-ANTISPAM-LEVEL: 2 Received: from localhost.localdomain (unknown [58.22.7.114]) by smtp.263.net (postfix) whith ESMTP id P11557T140190921455360S1559116073988880_; Wed, 29 May 2019 15:47:56 +0800 (CST) X-IP-DOMAINF: 1 X-UNIQUE-TAG: <2eda5746483fc101b21695d172a79742> X-RL-SENDER: jay.xu@rock-chips.com X-SENDER: xjq@rock-chips.com X-LOGIN-NAME: jay.xu@rock-chips.com X-FST-TO: xjq@rock-chips.com X-SENDER-IP: 58.22.7.114 X-ATTACHMENT-NUM: 0 X-DNS-TYPE: 0 From: Jianqun Xu To: jay.xu@rock-chips.com, heiko@sntech.de, mark.rutland@arm.com, robh+dt@kernel.org Cc: 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: [PATCH v2 1/1] arm64: dts: rockchip: add core dtsi file for RK3399Pro SoCs Date: Wed, 29 May 2019 15:47:52 +0800 Message-Id: <20190529074752.19388-1-jay.xu@rock-chips.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190528044850.23703-1-jay.xu@rock-chips.com> References: <20190528044850.23703-1-jay.xu@rock-chips.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds core dtsi file for Rockchip RK3399Pro SoCs, include rk3399.dtsi. Also enable these nodes: - pcie/pcie_phy - sdhci/sdio/emmc/sdmmc Signed-off-by: Jianqun Xu --- changes since v1: - remove dfi and dmc arch/arm64/boot/dts/rockchip/rk3399pro.dtsi | 74 +++++++++++++++++++++ 1 file changed, 74 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..b6d433ffa67d --- /dev/null +++ b/arch/arm64/boot/dts/rockchip/rk3399pro.dtsi @@ -0,0 +1,74 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +// Copyright (c) 2019 Fuzhou Rockchip Electronics Co., Ltd. + +#include "rk3399.dtsi" + +/ { + compatible = "rockchip,rk3399pro"; + + xin32k: xin32k { + compatible = "fixed-clock"; + clock-frequency = <32768>; + clock-output-names = "xin32k"; + #clock-cells = <0>; + }; +}; + +&emmc_phy { + status = "okay"; +}; + +&pcie_phy { + status = "okay"; +}; + +&pcie0 { + ep-gpios = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>; + num-lanes = <4>; + pinctrl-names = "default"; + pinctrl-0 = <&pcie_clkreqn_cpm>; + status = "okay"; +}; + +&sdhci { + bus-width = <8>; + mmc-hs400-1_8v; + supports-emmc; + non-removable; + keep-power-in-suspend; + mmc-hs400-enhanced-strobe; + status = "okay"; +}; + +&sdio0 { + clock-frequency = <150000000>; + clock-freq-min-max = <200000 150000000>; + supports-sdio; + bus-width = <4>; + disable-wp; + cap-sd-highspeed; + cap-sdio-irq; + keep-power-in-suspend; + mmc-pwrseq = <&sdio_pwrseq>; + non-removable; + num-slots = <1>; + pinctrl-names = "default"; + pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>; + sd-uhs-sdr104; + status = "okay"; +}; + +&sdmmc { + clock-frequency = <150000000>; + clock-freq-min-max = <400000 150000000>; + supports-sd; + bus-width = <4>; + cap-mmc-highspeed; + cap-sd-highspeed; + disable-wp; + num-slots = <1>; + vqmmc-supply = <&vccio_sd>; + pinctrl-names = "default"; + pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_bus4>; + status = "okay"; +}; -- 2.17.1