From patchwork Thu Feb 1 12:11:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Yan X-Patchwork-Id: 13540958 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 39996C4828C for ; Thu, 1 Feb 2024 12:12:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ydJ0q7PFnWCRw2iyxZqLWs/w6N0eHW9jw9Q0zFa2zxo=; b=3YI3MpoAhYnBMH MZyz6ibQVc3VYmyDa8my+MmOi3sN100+KuVrnO7qp9qP5aJg5zamwmzmgHrh+Pc6+FLFu0evTpVsL tKUTd2v6aJs6azzvR68CMIrY9N5C1GiNsK+zK8EF4bjSCH8BCGxhufsZFH5hGKkYmPjQK9Xb4udcE II62F8gcjyLXfIfO4kscDFQVqlxeWGklxqnShihKgFkOTxCekADb09xy9QEWT/cc0fDy/3JxcQrvT mMk4i+cFuhSG1MtNeWE5S5Et5++ke0vN9VCtY7whST5l9n2jQi73FXm82440PCYpV3zRcb83/zopH 7gqLXLLhixk3BYiKGaXg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVVvE-00000007hjF-1kqy; Thu, 01 Feb 2024 12:12:00 +0000 Received: from m16.mail.163.com ([220.197.31.5]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVVvB-00000007hge-1UVD; Thu, 01 Feb 2024 12:11:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id:MIME-Version; bh=L5rj2 e6lcmrpI804Cx6MRfru0SWmxeEJZFimAHJKc74=; b=nIbA7+1z3YYoyxn1LXZe8 AQAFosc+qpAsAyOMVizE2vPJPPRUNAHcA92Qf+l/eiWU4TkgWwxJ6oRyh49w4tzz fgGuawTFz1gvD6C3zO009hChECRbpLMxjj4dq4v3ywSjioZvZx9xQMtqamZL57Zy t8F8fvmoKgtz+ujMfInNZM= Received: from ProDesk.. (unknown [58.22.7.114]) by gzga-smtp-mta-g1-0 (Coremail) with SMTP id _____wDX_35birtlKEO5AA--.30092S5; Thu, 01 Feb 2024 20:11:15 +0800 (CST) From: Andy Yan To: heiko@sntech.de Cc: krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Andy Yan Subject: [PATCH v2 4/4] arm64: dts: rockchip: Fix the num-lanes of pcie3x4 on Cool Pi CM5 EVB Date: Thu, 1 Feb 2024 20:11:06 +0800 Message-Id: <20240201121106.1471301-4-andyshrk@163.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240201121106.1471301-1-andyshrk@163.com> References: <20240201121106.1471301-1-andyshrk@163.com> MIME-Version: 1.0 X-CM-TRANSID: _____wDX_35birtlKEO5AA--.30092S5 X-Coremail-Antispam: 1Uf129KBjvdXoW7Gw4DuryfJF17JrWDJFW5Wrg_yoWDtrg_ta yxW3W8XF4rGrn0g3s8Aa9rG3yfK39F9ayxJa1UZF4DAF9xtayDJFyrtFW2qw15Kr429a1f Aa9rJa18C3Z8CjkaLaAFLSUrUUUUjb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUvcSsGvfC2KfnxnUUI43ZEXa7xRiiSdPUUUUU== X-Originating-IP: [58.22.7.114] X-CM-SenderInfo: 5dqg52xkunqiywtou0bp/xtbB0gd3XmWXv1CSDAAAs- X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240201_041157_780619_F35FC75A X-CRM114-Status: UNSURE ( 9.59 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The 4 lane pcie30 phy is shared by pcie3x4 and pcie3x2, so the num-lanes of pcie3x4 should be 2. Fixes: 791c154c3982 ("arm64: dts: rockchip: Add support for rk3588 based board Cool Pi CM5 EVB") Signed-off-by: Andy Yan --- (no changes since v1) arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5-evb.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5-evb.dts b/arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5-evb.dts index 9c0f408ef339..d6366e7b57bb 100644 --- a/arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5-evb.dts +++ b/arch/arm64/boot/dts/rockchip/rk3588-coolpi-cm5-evb.dts @@ -126,6 +126,7 @@ &pcie30phy { status = "okay"; }; +/* Standard pcie */ &pcie3x2 { reset-gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>; vpcie3v3-supply = <&vcc3v3_sys>; @@ -134,6 +135,7 @@ &pcie3x2 { /* M.2 M-Key ssd */ &pcie3x4 { + num-lanes = <2>; reset-gpios = <&gpio4 RK_PB6 GPIO_ACTIVE_HIGH>; vpcie3v3-supply = <&vcc3v3_sys>; status = "okay";