Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4773180pxu; Thu, 10 Dec 2020 05:16:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJxqDSyz788vVS0T6RJOmFo/7Pc7zbYIHmmP1nyYC7wY0bl+mfd79nKs5ucQL++3wyMVpns8 X-Received: by 2002:a05:6402:1d9a:: with SMTP id dk26mr6760818edb.283.1607606215539; Thu, 10 Dec 2020 05:16:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607606215; cv=none; d=google.com; s=arc-20160816; b=sxpZn8WqDe8CFuouWZAs+7GEvpQxZ0kPn9t7XqOQ3i5hp/HpPcxIp1p8puQOWbxNy6 3SwIY/I41WNz/OO83Oah1TE/GRdRxwRlRcyIfDzDVe6iFpEnnHvgj3A79No/p0geRwc3 kFR/OTO1agdvCL0drI7xtgqlaDdXKzWwy4v9pE3JgqBG5HKuPwbVHHHbNUPOQm2gfoaW AK8SV6OvPR2h91WuaWRDVqdbYYbsJNbwcV0YeXzsA/+2P8cshBuaFysp2uS0KHAYQjif dAxPwM2zAwM7gLIMajbUaoA9c+LAwL8JHI+abHNhxboqzsfRAiQoiFr3xUSZKTkCpLiI zOmg== 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=b0rb2G2BLBpKfowNczROGnV7iJQ10T8qFDsoF85dM8vQQ24bpDOM9MHgX1QPy7SEh0 INGCVw91vc9eODP7Jh6Qb0GbvoRYMM1c/cmxYtnEKw5FrO/cOeOswij7iy8FyRQ/peYY d5Gadf9PrX/E55bt8KLSFlAbQ590/sgMdS/varu5lrhXxoL33E6fgu6VXkBQLQYcsFWf wGmKZjVtR6NgyE8AiRW2GvvI77D+g76o5x18eJIpFTPJsCVZ0BNRc2snP/kHmoUnhI9e X4gdfdFQIASQ4YOgyu9f2WFyk97vp9r9Mc0PqO7WHZdUHFGrfWnwji2gSrYW8RG4jWNm ZETg== 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 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 r15si2701560edx.70.2020.12.10.05.16.33; Thu, 10 Dec 2020 05:16:55 -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=A4DlwS+b; 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 S2389144AbgLJNKx (ORCPT + 99 others); Thu, 10 Dec 2020 08:10:53 -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 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