Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2432096rdb; Thu, 21 Sep 2023 20:20:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGAtAyLwXVLdwfG1FlmhNRZHQkylFXawih9lESTkIgHob3D49Qzx+6jDitftJYxHzGFjx0W X-Received: by 2002:a67:eb09:0:b0:44d:3f96:6c61 with SMTP id a9-20020a67eb09000000b0044d3f966c61mr7744732vso.30.1695352822556; Thu, 21 Sep 2023 20:20:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695352822; cv=none; d=google.com; s=arc-20160816; b=FivJfT5TVfV0fuArrTdgC04BOX0BoCYKa/jYk4H0iQ/4RDHgKRxvjKeAqaPa+evFyC zgvx0tGmSNNgfZczL8mvX/5KE0E5gFnlfEVfKFzl5hC6gNzfiaNPivFK6ThoPadcgWcR cM//wTV3nXgu6kVMYU15MgqdYBgxuvbJUU/i4qXRATrsr6ssNf8bKJTDImJnEJCQQtmh S3GEZK6dmuM4GpC71jYP/KXeJjquyvbkncFm/VU9KMTe46FYDWKkuevJDCLfYq2XZMWb ayt6FdCDjVxTIWmnCoi0TWXUM2cpKFsYExF5khxThXxz4RVMDS8j/OpK6clXDNAl9upQ zlQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=EsvOrBq7yihY3/OtNp4KrVyXfQle0crBb8XNiHbDFO0=; fh=KfCReZexigBnHyxZL38bWXevtehgUQIbbCGsebVFDdw=; b=NDpd5dg/FGWujWn/3jE0amp4HAs8Ix7TbiA32xG109SwjIqoj79u/WAevf2w50fQKn w1y5l3TVEERtav57t9lGAraRXVxpjRwTfn+tcV6vkzmN48+MTaoAYTPdwaGCp44FxQ7v UOZ/TUBxMC8JdXpF3jrG6JekbP//xnNSnmQwqGUYSFVwSaGwftOkbCwRqG6OIxmGtFRJ Z664fsYzRqCKhlsun9b/7FGDFyk9+YPV8wGw+XLJ9uXouNrs/dc0jZCnLkYudst+zRdG YmPy4y2s13F4KtFQN2nFrXNQUgmyolFkF9KdB/rmpnVl0zQ4SguC5PbR7UJ8UK9CvsVb izzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=oSAKg0QR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id 142-20020a630294000000b00578b6e32b5dsi2776353pgc.405.2023.09.21.20.20.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 20:20:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=oSAKg0QR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 3242583BB5BD; Thu, 21 Sep 2023 19:11:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230402AbjIVCLv (ORCPT + 99 others); Thu, 21 Sep 2023 22:11:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45978 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230386AbjIVCLu (ORCPT ); Thu, 21 Sep 2023 22:11:50 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3559FCE; Thu, 21 Sep 2023 19:11:44 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 38LA0oR8085102; Thu, 21 Sep 2023 05:00:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1695290450; bh=EsvOrBq7yihY3/OtNp4KrVyXfQle0crBb8XNiHbDFO0=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=oSAKg0QR5KV/xt9mePeF/2xZCVPOWmF2STv/s36X85SjJwXNBgY6w+AIrUO+5ovJ8 65wqZ8EtefNXVU/Ini2/NuzEtuwQTfOd3y9GcehwOaGD4MTwrB8JQvbBv9ZZgZZxJs zdGPjesgR41mhyHr4+wuBOKrjHiHxGB5YvBRpbBQ= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 38LA0olY024130 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 21 Sep 2023 05:00:50 -0500 Received: from DLEE115.ent.ti.com (157.170.170.26) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 21 Sep 2023 05:00:49 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 21 Sep 2023 05:00:49 -0500 Received: from uda0500640.dal.design.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 38LA0dD5060269; Thu, 21 Sep 2023 05:00:47 -0500 From: Ravi Gunasekaran To: , CC: , , , , , , , , Subject: [PATCH 2/3] arm64: dts: ti: k3-am68-sk: Add DT node for PCIe Date: Thu, 21 Sep 2023 15:30:38 +0530 Message-ID: <20230921100039.19897-3-r-gunasekaran@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230921100039.19897-1-r-gunasekaran@ti.com> References: <20230921100039.19897-1-r-gunasekaran@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 21 Sep 2023 19:11:49 -0700 (PDT) From: Sinthu Raja AM68 Starter kit features with one PCIe M.2 Key M connector interfaced via two SerDes lanes. Update the SerDes configuration for PCIe. Signed-off-by: Sinthu Raja Signed-off-by: Ravi Gunasekaran --- .../boot/dts/ti/k3-am68-sk-base-board.dts | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts index 5df5946687b3..81c2307c77f9 100644 --- a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts +++ b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts @@ -553,3 +553,32 @@ }; }; }; + +&serdes_ln_ctrl { + idle-states = , , + , ; +}; + +&serdes_refclk { + clock-frequency = <100000000>; +}; + +&serdes0 { + status = "okay"; + + serdes0_pcie_link: phy@0 { + reg = <0>; + cdns,num-lanes = <2>; + #phy-cells = <0>; + cdns,phy-type = ; + resets = <&serdes_wiz0 1>, <&serdes_wiz0 2>; + }; +}; + +&pcie1_rc { + status = "okay"; + reset-gpios = <&exp1 10 GPIO_ACTIVE_HIGH>; + phys = <&serdes0_pcie_link>; + phy-names = "pcie-phy"; + num-lanes = <2>; +}; -- 2.17.1