Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp13780933pxu; Mon, 4 Jan 2021 04:27:09 -0800 (PST) X-Google-Smtp-Source: ABdhPJwSBNzUrPI4wSezbpd/eqDgPBRLMyx83Ew3I2BXXzWiNa4+HvVykaaBtw4KdrJIGCLe0pMr X-Received: by 2002:a50:f307:: with SMTP id p7mr69881769edm.368.1609763229487; Mon, 04 Jan 2021 04:27:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609763229; cv=none; d=google.com; s=arc-20160816; b=g3fHmno+O6bnlkmWc5NDUpOTLw16tG4wh+x6gxRa96uKeUCyeI1i9c3ENNGAGyUtkO PknVISCVOpyH5U7SkSbZwqB0d1OyfuUMB38cf1KAWQ8hicFzHZVqL06XpNDjWrXNVHq/ jGt1RXiJVeT1Y2+rN5LDd/e6GO67YuziAL9o1eVMryp0/RFuYMpiGkHgrjAJ1iLZTkBD vxxh1jJsrX64tlgQPEgmyPFkVT7G7BPyjJ638tR397242h5i49oHWw6iv3WMgdwbWAjU v+y9v1PQZSJ16twM0djNisT0yF53cNJsRxVaVWbb/jGKYCb2ROb7swjSmgj7hoURRqqQ HCnw== 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=Y643PBALiqXbFeiPVeQEqG127xJhCxG1e3WHockSpEPOTyT/scuhNEivSQe2CNBuBs qWuxmm35nxmSGMlfFamICB6BsXimYSIr3YlXsOAMJGmVYKBdul3calD0sRH1fe9xBQCN dHL/Bh5sSPHV89hr7KrJ8OAfEMnmZKwBHSG8CJlJbu8OtaIvwgx39bqzI2vZLxa6JESV FYvKRC2eJGwEXpCpYVVTkG797Z8AuUfJ8U3UM95+qXbLJafsFBb4KecFhcQ+1YDHtg4Z oDnGqrhM7JIIQu91sSQTEno5i+va68zWvISawB+r1ShHv1PbXdCOb+o+2ROf7WKf3GI0 F8KQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=e6Eu5Nb7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ch17si31149129edb.430.2021.01.04.04.26.46; Mon, 04 Jan 2021 04:27:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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=e6Eu5Nb7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727017AbhADMYe (ORCPT + 99 others); Mon, 4 Jan 2021 07:24:34 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:59438 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726960AbhADMYb (ORCPT ); Mon, 4 Jan 2021 07:24:31 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 104CMqZg009286; Mon, 4 Jan 2021 06:22:52 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1609762972; bh=TCT4o2ep6cw3Hu4jevsOOwo8iY51in45dTp+iGuuPKs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=e6Eu5Nb70SaIy1T7HLn1Rf2ACFm/yXFSJ/g5q7WAHM80yAN4EyKhzwhVIXUA2+CKk 6nL4+AQKjpzkDBCAbt9RabRf/L/l8Z2twziSQ0pmJABn9jmGFh8nOAL/pOooEsjt2F MJ+wKpyORccIil3tI54y9LVauoaT8Sf3bpIAM2Yo= Received: from DFLE101.ent.ti.com (dfle101.ent.ti.com [10.64.6.22]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 104CMqW6068590 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 4 Jan 2021 06:22:52 -0600 Received: from DFLE115.ent.ti.com (10.64.6.36) 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.1979.3; Mon, 4 Jan 2021 06:22:52 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE115.ent.ti.com (10.64.6.36) 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; Mon, 4 Jan 2021 06:22:52 -0600 Received: from a0393678-ssd.ent.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 104CMZhR002211; Mon, 4 Jan 2021 06:22:50 -0600 From: Kishon Vijay Abraham I To: Nishanth Menon , Rob Herring , Kishon Vijay Abraham I CC: , , Subject: [PATCH v3 5/6] arm64: dts: ti: k3-j7200-common-proc-board: Enable SERDES0 Date: Mon, 4 Jan 2021 17:52:31 +0530 Message-ID: <20210104122232.24071-6-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210104122232.24071-1-kishon@ti.com> References: <20210104122232.24071-1-kishon@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(+) 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>; + }; +}; -- 2.17.1