From patchwork Thu Dec 10 13:07:46 2020 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: 341046 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp5515835jai; Thu, 10 Dec 2020 05:13:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJwLT1KwaeICbBubBkfskS8EGTp1YcGncCaYRB9eKm4V/GNDX+c4ROtNUuXnYGgKP3BL0OlC X-Received: by 2002:a17:906:5213:: with SMTP id g19mr2748394ejm.383.1607606011479; Thu, 10 Dec 2020 05:13:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607606011; cv=none; d=google.com; s=arc-20160816; b=lnyTE/YCy5ks4IbcBrmfTPhIaM7rR2JQBZqdb5/KyGc015juItWPhWQ67VqCLnTymd 97ony1LwQMRcvs8bij3UEx2Z39YMTRCyiofrwKZNJuWx7x0yRzEQocDYzCEEB0IjHkvK 0cgdiLPIhlGrWVanf1fn89CpcBxMuVbBUGn3jSkjngMBS8pjnfaXPwriiqWrvfVeB5k3 dGd5RycW82Y6jlBkRMx4PuoegCJngInHYZqqKnGWdkH/qEGr8hN7tN8mY5Nu+tHiTtOQ 75BLGfnlThl+LRx67XFfqeE+LSFWZPh9oO9Of7RD3ZdgDndeSdKronA978xoSzaJabJ2 SxWg== 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=TCT4o2ep6cw3Hu4jevsOOwo8iY51in45dTp+iGuuPKs=; b=rcXNzBMVX9rAsM0b40DfS2LDQJ+hRa27Jv/EnbQqGfFlr39T0/p4rAeizJD0eZ3Ot9 F3EdxelQgwHnqQqbZzz+Zfn87SCa3UVcQENXFASVvq/51oFJsxI2v+BhlTTa70AFBB87 RMB44FLt/DF//tKhfwh3Hii2Erxba3Q4pK4cg+54aEuzqbMippLvA8XcPZzUPAFm5ftE cnLvfQtP9h1/wJEDVdwHj2LJa+Y+GdahzgQQ5WROH34PgybSeVsy6r+mvstY220uLmmW NlFyKVXIcOHxRCb2bRuAZ3kVOBVEWGxDUuNza01+BTGZ2dZvR8sGt5NWgoOiFODVwAty LIGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=A4DlwS+b; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l2si2663639ede.232.2020.12.10.05.13.31; Thu, 10 Dec 2020 05:13:31 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=A4DlwS+b; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S2389076AbgLJNKZ (ORCPT + 6 others); Thu, 10 Dec 2020 08:10:25 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:49922 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388184AbgLJNKE (ORCPT ); Thu, 10 Dec 2020 08:10:04 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 0BAD8PLO053153; Thu, 10 Dec 2020 07:08:25 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1607605705; bh=TCT4o2ep6cw3Hu4jevsOOwo8iY51in45dTp+iGuuPKs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=A4DlwS+b7ungpetVIM7WDtIVVL49FwInQLHseUNAkpt1L5OYouWr0QDkbM07CC4ox 5VtvBE3KLrNoeTOHi6N4CL0tS1qqHN+qjkyER0vv/27gcGU/1ytcDnyQN5xgL4Tdm3 AYvOWM7ElNf4Rn+yJRnOF4eF8YTPLnJ3i9cWy2nA= Received: from DFLE107.ent.ti.com (dfle107.ent.ti.com [10.64.6.28]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 0BAD8PNe094229 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 10 Dec 2020 07:08:25 -0600 Received: from DFLE105.ent.ti.com (10.64.6.26) 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.1979.3; Thu, 10 Dec 2020 07:08:25 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Thu, 10 Dec 2020 07:08:25 -0600 Received: from a0393678-ssd.dal.design.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 0BAD7rak098988; Thu, 10 Dec 2020 07:08:22 -0600 From: Kishon Vijay Abraham I To: Tero Kristo , Nishanth Menon , Rob Herring , Kishon Vijay Abraham I CC: , , Subject: [PATCH v2 5/6] arm64: dts: ti: k3-j7200-common-proc-board: Enable SERDES0 Date: Thu, 10 Dec 2020 18:37:46 +0530 Message-ID: <20201210130747.25436-6-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201210130747.25436-1-kishon@ti.com> References: <20201210130747.25436-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add sub-nodes to SERDES0 DT node to represent SERDES0 is connected to PCIe and QSGMII (multi-link SERDES). Signed-off-by: Kishon Vijay Abraham I --- .../dts/ti/k3-j7200-common-proc-board.dts | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) -- 2.17.1 diff --git a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts index 331b388e1d1b..def98f563336 100644 --- a/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts +++ b/arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts @@ -8,6 +8,7 @@ #include "k3-j7200-som-p0.dtsi" #include #include +#include / { chosen { @@ -218,3 +219,25 @@ ti,adc-channels = <0 1 2 3 4 5 6 7>; }; }; + +&serdes_refclk { + clock-frequency = <100000000>; +}; + +&serdes0 { + serdes0_pcie_link: phy@0 { + reg = <0>; + cdns,num-lanes = <2>; + #phy-cells = <0>; + cdns,phy-type = ; + resets = <&serdes_wiz0 1>, <&serdes_wiz0 2>; + }; + + serdes0_qsgmii_link: phy@1 { + reg = <2>; + cdns,num-lanes = <1>; + #phy-cells = <0>; + cdns,phy-type = ; + resets = <&serdes_wiz0 3>; + }; +};