From patchwork Tue Nov 22 10:16:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Ranostay X-Patchwork-Id: 24239 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2116537wrr; Tue, 22 Nov 2022 02:18:23 -0800 (PST) X-Google-Smtp-Source: AA0mqf6pHwk2Q/1A0SlMlGgCIAXmtyWceQqq28LHeS66uyVsHj5jWSpqcddPoEfmwCGft/cMlsHi X-Received: by 2002:a17:902:ca14:b0:187:3fc8:986e with SMTP id w20-20020a170902ca1400b001873fc8986emr5208755pld.4.1669112303219; Tue, 22 Nov 2022 02:18:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669112303; cv=none; d=google.com; s=arc-20160816; b=p7CIvCtS67Ppliu3ogfBnm5GT71wZr+8hpHS3XwXu0gmvAepQ5i4Hg2T3Z0XF6S4Ou pF+9swr90fJ6u/269KdIJ2Gm8AxBmUOIsjrJrojtjaqexsNMMr1wnFd4oXdzapnwCAJM NCFlUWAOvhcYJFFf21W5YNkqMfz7EQSfpHQEGmxruDR6tVh4F+D4/Ow/T9TL6fTTAfGK 9jBReJEeutT5WVuqb17s0h2tvEH1rQslCvcq9sOPAskptzlnFT3kTcy+pCi4FHxrlSaQ 7wT3MIOkHFwn9sR5rXysEFujb7dJOgPegFT2xk6uosIaAN3YW/gc+eiAVFQMYxxwV2N0 n23Q== 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 :dkim-signature; bh=O161wI64MkqL1bXQrEKXqqHqqSz8Rg1odY1/d9cyRhc=; b=lGO32kLZliGIw6/005OEj3QCVzdbh+4uvL+0nWDc+8FtM2cGEDt4l6k6Ut/MxST8yt yVEAhr6WghlfAdvb4CEfBPFy4aI0ETssTn5AUn8Yxr+6b3Rg5ShT2MGEuRNBNDuN6jKH Gt9N7TaXiSY9ak3qU5p1vjytkz+UN87f4TNqDaao5N3Sz2sLGFw/ONhPOmNGnZp1wj/w nwLO+PZzmXeiX0d5cPCLtDadHAfmeorFonsSgayBM5pTylIFuutho32oh9UtQA+o+w2B 0ckOYfGWHQqWtfLAgDv3FmZL9IhhJdU6bJRiWt2WEzN6wYK2arGVBdjNlD55JlDQCP+f 5JYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=iE6yi9OP; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c3-20020a170903234300b0018542a1b588si15710531plh.196.2022.11.22.02.18.09; Tue, 22 Nov 2022 02:18:23 -0800 (PST) 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; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=iE6yi9OP; 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=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233069AbiKVKRe (ORCPT + 99 others); Tue, 22 Nov 2022 05:17:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233161AbiKVKQ4 (ORCPT ); Tue, 22 Nov 2022 05:16:56 -0500 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E937C56540; Tue, 22 Nov 2022 02:16:45 -0800 (PST) Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 2AMAGerc116927; Tue, 22 Nov 2022 04:16:40 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1669112200; bh=O161wI64MkqL1bXQrEKXqqHqqSz8Rg1odY1/d9cyRhc=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=iE6yi9OPjfMSL/QeaNvw2OsHPBeW8UCSkjgzm3zAqQW9cQleFR+RoinztIc3WotI0 5omkiInNyiSiMAtnjJ1B9NNFWfGcGwSasWEnRzBX2QHPQfutYP4cyyugRuElAAU6Wa h92lkTysL4su7tAiPjbESnzj5x4kXpu48dNRs+8A= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2AMAGeHQ057008 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 22 Nov 2022 04:16:40 -0600 Received: from DFLE107.ent.ti.com (10.64.6.28) by DFLE101.ent.ti.com (10.64.6.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Tue, 22 Nov 2022 04:16:40 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE107.ent.ti.com (10.64.6.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Tue, 22 Nov 2022 04:16:40 -0600 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 2AMAGbrI030043; Tue, 22 Nov 2022 04:16:39 -0600 From: Matt Ranostay To: , , , , , , , CC: , , Subject: [PATCH v7 4/8] arm64: dts: ti: k3-j721s2-common-proc-board: Enable SERDES0 Date: Tue, 22 Nov 2022 02:16:12 -0800 Message-ID: <20221122101616.770050-5-mranostay@ti.com> X-Mailer: git-send-email 2.38.GIT In-Reply-To: <20221122101616.770050-1-mranostay@ti.com> References: <20221122101616.770050-1-mranostay@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750191102460633857?= X-GMAIL-MSGID: =?utf-8?q?1750191102460633857?= From: Aswath Govindraju Configure first lane to PCIe, the second lane to USB and the last two lanes to eDP. Also, add sub-nodes to SERDES0 DT node to represent SERDES0 is connected to PCIe. Reviewed-by: Ravi Gunasekaran Signed-off-by: Aswath Govindraju Signed-off-by: Matt Ranostay --- .../dts/ti/k3-j721s2-common-proc-board.dts | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts index a7aa6cf08acd..c3a397484c70 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts +++ b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts @@ -9,6 +9,9 @@ #include "k3-j721s2-som-p0.dtsi" #include +#include +#include +#include / { compatible = "ti,j721s2-evm", "ti,j721s2"; @@ -296,6 +299,25 @@ &cpsw_port1 { phy-handle = <&phy0>; }; +&serdes_ln_ctrl { + idle-states = , , + , ; +}; + +&serdes_refclk { + clock-frequency = <100000000>; +}; + +&serdes0 { + serdes0_pcie_link: phy@0 { + reg = <0>; + cdns,num-lanes = <1>; + #phy-cells = <0>; + cdns,phy-type = ; + resets = <&serdes_wiz0 1>; + }; +}; + &mcu_mcan0 { status = "okay"; pinctrl-names = "default";