From patchwork Tue Mar 9 12:27:43 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 395980 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp2558753jai; Tue, 9 Mar 2021 04:55:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJyClzyVIhesx2vfRfHGL0vpG1vqrLkxSPJ+v25ATyBp+63OmoVjwhIX5xprP8yVeTeOzarR X-Received: by 2002:a17:906:2bd7:: with SMTP id n23mr20198989ejg.502.1615294557377; Tue, 09 Mar 2021 04:55:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615294557; cv=none; d=google.com; s=arc-20160816; b=04xx+X8YXOe/qcXylad+Wojgk3n2jfG+8fnpAKPsiJgFxGbdYDQcNgbZdgce5JWfRY cuo4DzuAzTEsyJTvpqQAooLxD5glUbla1DIg23BReSUDk/mLbHl9NyZZNEZiK8gLcb+i 8hSZIwyez/prr/k5cHEYO0WqHmZDNqBmBP+mXGBfBbYuXM9suUQDLJQIkGFcO7WZMFh2 uWwhn9L6T/ywTgfP6bTjpBb9sJQXVB0SG7ZEGozlSgG0eUxroePMB08OLX5DofgMh8Bt rZ8ZHcFZxiOaNExEXWqBoH0uzY/ByhGwmo8l7+OuXyyvMz3OOJ8Jf9KChKKpWSfxbEg3 Cbhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=Jx2QEmOtRG9p+fNopMTE9UoitniGvQe5WYj8HKh9nV8=; b=MUdCd4BcejFf05vJ+szrM28pmjhfxemYT8Sc9QFvTJE8V8a9XQH6rpMJmlQA+5pd5T PWs8EXvuKDUXblKA7WrekJSIaIfdxQm3rFZIJRlE7HMHeqFAU3ctbiy0FKiUxZT8vDZl 3XxInEqIYLLGrF9zUIy8yJes5TBVDyIevmkpuyt0WQy5YZYTu8nG6YXcZtICE50figc5 ue5G6H8aOKc0YNA0tepIVPAqYI/GmIHATcRljIolLtNoAx00OUBsXFhzkJJ/HpHrP6da PnybcgJvdiflvM3Tg+WxXENart73t17GXtsJafOOiowzoiwg+7+9bFfZJ74LV3r3SPT3 7T6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=j3jU+qr0; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id m22si9158249ejr.463.2021.03.09.04.55.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Mar 2021 04:55:57 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=j3jU+qr0; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 021B582887; Tue, 9 Mar 2021 13:54:00 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="j3jU+qr0"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6E70A827A8; Tue, 9 Mar 2021 13:28:23 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CC9108143F for ; Tue, 9 Mar 2021 13:28:20 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=kishon@ti.com Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 129CSJD7123622; Tue, 9 Mar 2021 06:28:19 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1615292899; bh=Jx2QEmOtRG9p+fNopMTE9UoitniGvQe5WYj8HKh9nV8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=j3jU+qr0Ev6wbk8VrweuFGZ3UzcoG5r7FeeZwwqcYCKXqODiuwgx9xhGf/HrOKdSI AA3XblQ4xZw5GGsYksElD1wd99VjoHR42C0YbVPWRD46FYTRmdC0o9FAf4F9LQpmyD dVelltGK581rRFnBdR4CNGwDZmgd864ikBW0SSDo= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 129CSJcQ076043 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 9 Mar 2021 06:28:19 -0600 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Tue, 9 Mar 2021 06:28:19 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Tue, 9 Mar 2021 06:28:19 -0600 Received: from a0393678-ssd.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 129CRncY119584; Tue, 9 Mar 2021 06:28:17 -0600 From: Kishon Vijay Abraham I To: Lokesh Vutla , Simon Glass , Aswath Govindraju CC: Subject: [PATCH 11/16] arm: dts: k3-j7200-common-proc-board: Enable SERDES DT Date: Tue, 9 Mar 2021 17:57:43 +0530 Message-ID: <20210309122748.31842-12-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210309122748.31842-1-kishon@ti.com> References: <20210309122748.31842-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Mailman-Approved-At: Tue, 09 Mar 2021 13:53:37 +0100 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean From: Aswath Govindraju Add default lane function for torrent serdes. Signed-off-by: Aswath Govindraju Signed-off-by: Kishon Vijay Abraham I --- arch/arm/dts/k3-j7200-common-proc-board.dts | 23 +++++++++++++++++++++ 1 file changed, 23 insertions(+) -- 2.17.1 diff --git a/arch/arm/dts/k3-j7200-common-proc-board.dts b/arch/arm/dts/k3-j7200-common-proc-board.dts index 5120711d4f..f0440cda1a 100644 --- a/arch/arm/dts/k3-j7200-common-proc-board.dts +++ b/arch/arm/dts/k3-j7200-common-proc-board.dts @@ -9,6 +9,7 @@ #include #include #include +#include / { chosen { @@ -281,3 +282,25 @@ ti,adc-channels = <0 1 2 3 4 5 6 7>; }; }; + +&serdes_refclk { + clock-frequency = <100000000>; +}; + +&serdes0 { + serdes0_pcie_link: link@0 { + reg = <0>; + cdns,num-lanes = <2>; + #phy-cells = <0>; + cdns,phy-type = ; + resets = <&serdes_wiz0 1>, <&serdes_wiz0 2>; + }; + + serdes0_qsgmii_link: link@1 { + reg = <2>; + cdns,num-lanes = <1>; + #phy-cells = <0>; + cdns,phy-type = ; + resets = <&serdes_wiz0 3>; + }; +};