Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp235206rwb; Mon, 26 Sep 2022 11:35:45 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6ThNmp85JZ9O4Q0q9SeoRgzFXBf5mW7bq0WqeiVmGGNWIlMHqGMHQArrJEqmBEFxivUECL X-Received: by 2002:a17:906:fe09:b0:73d:90ae:f801 with SMTP id wy9-20020a170906fe0900b0073d90aef801mr18009684ejb.699.1664217344767; Mon, 26 Sep 2022 11:35:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664217344; cv=none; d=google.com; s=arc-20160816; b=UHTJ5l6yCta33ASf1YAWUBcOnq0y08MPK1QaXcWuxV3ThuK6z1bwSnTS35aiEt/mxi E4EYHiU0uvpFMSRHRPbbRfSUA8jweF5Sn+GCyfeuD3CzColbVnkvEfDwQ2GBgZl/QPre G1aayknyHrPVO4V6UiP/K1voqpgGmjlMeRUUw3I4tnhnVPa/vwBSuHpF8Cx0/95BYqgh edau4DZNzMBZ0fpwK64KM693OMh6APdzz2sdL8hVh3qYLrmth53IY0sXD8FyPzNW79FH p4NTPyVYSSTvEAhNyRQyrZcSspzV/vM1CE4jVezouf8LUBnK+mGjrpz0nE95ZIREwQl7 EAXQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Co0w/dwwLYrzeSh/mW3hzZuf8CBfs7JUF3e6AAM4FLk=; b=B4A3iYi0rVSqAt9erw6ezbEVnvXvkuevGClZXrgCuSZ8gnE5c6uAAUdxK71YgwgDaN HrgJMd+xvTB2zThs1bT+xhYlfohqzrpjgxqOplYdFdH6cfqDGwcZHRv/s2krRbixOZaf U4vsN12algUiiHuVJdYMzD1y17YjwA5pKmyfuFXXIHDizlV9K7QTqM7UHpHbFJmaG2Bn UwYIMXy12nWb7FHGy58iRW2ygK5rZTOaHFeZG1yCVPfXCdeOIUeiWTsPjR9/SFCVGFws mmBbW65W3dHYJ75zh0obQ6u/y+8YcrE0wkvGt3/e5oO8Ea3icxXWBgNeBOUbNydBF+OR canw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=jmu.edu.cn Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dp14-20020a170906c14e00b007708400bee5si514180ejc.1003.2022.09.26.11.35.16; Mon, 26 Sep 2022 11:35:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=jmu.edu.cn Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230054AbiIZSWm (ORCPT + 99 others); Mon, 26 Sep 2022 14:22:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231139AbiIZSWQ (ORCPT ); Mon, 26 Sep 2022 14:22:16 -0400 Received: from mail-m121145.qiye.163.com (mail-m121145.qiye.163.com [115.236.121.145]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0CCD10FE5; Mon, 26 Sep 2022 11:18:47 -0700 (PDT) Received: from amadeus-VLT-WX0.lan (unknown [218.85.118.195]) by mail-m121145.qiye.163.com (Hmail) with ESMTPA id 839518000E7; Tue, 27 Sep 2022 02:01:26 +0800 (CST) From: Chukun Pan To: linux.amoon@gmail.com Cc: heiko@sntech.de, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, michael.riesch@wolfvision.net, robh+dt@kernel.org, Chukun Pan Subject: [PATCH 3/3] arm64: dts: rockchip: Add PCIe v3 nodes to rock-3a Date: Tue, 27 Sep 2022 02:01:02 +0800 Message-Id: <20220926180102.37614-4-amadeus@jmu.edu.cn> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220926180102.37614-1-amadeus@jmu.edu.cn> References: <20220926061420.1248-1-linux.amoon@gmail.com> <20220926180102.37614-1-amadeus@jmu.edu.cn> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWS1ZQUlXWQ8JGhUIEh9ZQVkaT0saVk1CTk4eSExNH05KGFUTARMWGhIXJBQOD1 lXWRgSC1lBWUlKQ1VDTlVKSkNVSkJOWVdZFhoPEhUdFFlBWU9LSFVKSktISkNVSktLVUtZBg++ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6Pj46KQw5LT0eIggcDCgRSSkt MAkaCw5VSlVKTU1PSUpOSUNMSk9MVTMWGhIXVRoWGh8eDgg7ERYOVR4fDlUYFUVZV1kSC1lBWUlK Q1VDTlVKSkNVSkJOWVdZCAFZQUlNS0M3Bg++ X-HM-Tid: 0a837af603ecb03akuuu839518000e7 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add Nodes to Radxa ROCK3 Model A board to support PCIe v3. Signed-off-by: Chukun Pan --- arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts index 1b195355da2a..458a12af1120 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-rock-3a.dts @@ -547,6 +547,19 @@ &pcie2x1 { status = "okay"; }; +&pcie30phy { + status = "okay"; +}; + +&pcie3x2 { + /* mPCIe slot */ + pinctrl-names = "default"; + pinctrl-0 = <&minipcie_reset_h>; + reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>; + vpcie3v3-supply = <&vcc3v3_pcie>; + status = "okay"; +}; + &pinctrl { cam { vcc_cam_en: vcc_cam_en { @@ -583,6 +596,10 @@ pcie_enable_h: pcie-enable-h { rockchip,pins = <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; }; + minipcie_reset_h: minipcie-reset-h { + rockchip,pins = <2 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>; + }; + ngffpcie_reset_h: ngffpcie-reset-h { rockchip,pins = <3 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>; }; -- 2.25.1