From patchwork Mon Jan 4 12:22:31 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: 356371 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp14924410jai; Mon, 4 Jan 2021 04:24:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJyE5ES2X4ukzjlVS9OFlzwGmZ5y8IQHtiAr/pjViCqieOuPEvNvQQWAPG0AGD2aSlYnhg9+ X-Received: by 2002:a17:906:b08f:: with SMTP id x15mr67034749ejy.36.1609763086642; Mon, 04 Jan 2021 04:24:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609763086; cv=none; d=google.com; s=arc-20160816; b=HSDzxwkqiuqmIbyJlsiHK5KUGF5Dttwb6B3doHYjJZsxM1qJg/K7u8vzQIsErgtQcF TAdnokUu09hooHXxbzXgW8Zre2Z7uD1xT6bVrZDKuN5DLHhYQKyn+LRQ16jVQOoEE8/0 e33Oe8Ly+UPgRGX7AxfBCYtUPoUrX+AyXAFUga+NoTyq1cF9fz/JqlbrsFnkZGhB6a0l xLc356k9Mlx87cgYRGBgEiNuie4M9p8g07TLgmxh33hvcCi0VXbaf+8rfijDCCIOARZD aSi4f0Q4TV4yvqHMeFT7cyxJJl4H1uY3sRJ4k4m1VhAe+vhpekx7kfH+/ClcxWlFDxFi Fs/Q== 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=Hq50Eeh4llj3n40ZeECy94v1HbbOT5tb6QnU0cuSzLAeyhPKtHuw8E1yG6qo6/aSmW NhIVGQsVH4dHOA5+7Qxz3x9qbdFAIB6wa2Qiuhn06Zu/+2NnavcEh1BCx3pf7Ds0wfcM lpuB8hNg5CmXQaAkJkoqZdQKAeNuKZP5fOCfWNqUJkbewxP7TBCZo7nqVVoj9/+UGJjC Yt6uLXOe7YnGCFGQi49PQ2pBcy/GyHHNoJ2kk0QT0e9grHbjK2d8kQO+FdqBsRzPvGqv J75kCZ2o++Lyu16FLCs/F2nEv9BMsSP2nSFq2ohNAwTrWtRP2hX4TTpzNhYwuXvww6T1 HSbg== 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 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 m10si32308434eda.139.2021.01.04.04.24.46; Mon, 04 Jan 2021 04:24:46 -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=e6Eu5Nb7; 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 S1726984AbhADMYc (ORCPT + 6 others); Mon, 4 Jan 2021 07:24:32 -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 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>; + }; +};