From patchwork Mon Nov 9 17:04:08 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: 320939 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp1896883ilc; Mon, 9 Nov 2020 09:04:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJzILRdBB4tjrn8DyYAeRJOUTb9D9PVOx2YdWUG0bXqGDoyUkK4sHgsZje8Mreuzu8tTfmBZ X-Received: by 2002:a5d:474f:: with SMTP id o15mr18478568wrs.377.1604941498003; Mon, 09 Nov 2020 09:04:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604941497; cv=none; d=google.com; s=arc-20160816; b=rMSvTAf/c3y0u2dKSc59UNffEVwanBsmcEHv1mCtWpTvxtOCdgZtiYsN7O7m26Xz7l ZgjlP4UH7lB3ZrBj/N82uWWOxt+nA+WEcOwCxXXiDrzQUofS3Rl6IeYFSLT+04LTGrJ0 yweO30qofV/JVRCzHOc5CnJZkNQG7uXGIgOTw4/k/fPxYumMgrPjJO39+G0W1FJFS1up 2tt389GEevXoDp/fAjh0JYCtH1EWzd4EClurKW9Yf4AuGETYObAeW3jupk1XXf6McNiv eHU3qUZRAR+DZM+5AJCWfdpLB1jCn9PeT19+6ar8kYdnoKHjc5ThYuFg6ScLfTYhrCmJ 727g== 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=GYtAOEut/0FFiR6xZ9eTzNKBNpdk6Wpn5qkaz83y1S8=; b=ezlKcGRcImxVg5HtrbfT4vbTM9O6z/jv1PTu1sUpg0kNd31BI0zXEgcSxvhfNGBOCs bY2rqP9d38PYUM+36lfyd2Jz4WGggNz1VCLNrH2DyaLdBP76gSksgzxNpzgQr2MGW/vx CQ7stbIQjKgYuqTBirmHJgbGkPe8hz22LJ7PERoSIEybeVqHm85Zsp1Eh5Ff3/b35XKS l2MMKAPdWpYSh6kp+vEH0fMDclqI/5ki18LpLJHG6ULFr8VOdiPhTuCj4/ta4A2+D3DF /NeRw/HmBwIrTTXq8F98QSB6QT8QGdIg1ivzXsCKLHxQcwjfW3xBEwz7CCFxX4VQ+Fx3 53Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="TonV/vJK"; 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 z19si7571795edx.461.2020.11.09.09.04.57; Mon, 09 Nov 2020 09:04:57 -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="TonV/vJK"; 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 S1731247AbgKIRE5 (ORCPT + 6 others); Mon, 9 Nov 2020 12:04:57 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:45386 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730841AbgKIRE4 (ORCPT ); Mon, 9 Nov 2020 12:04:56 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 0A9H4m8D001885; Mon, 9 Nov 2020 11:04:48 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1604941488; bh=GYtAOEut/0FFiR6xZ9eTzNKBNpdk6Wpn5qkaz83y1S8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=TonV/vJKGbdqtU1104JfrGIa6SR3uAyBW9ju0O/olnfPtw7yMquhAwIYbfuTqq1/a IInXyLdOJud5lXti08/OtL6Lp9sj+nLaRfpBezr+UQTMK9Qfu+XmDmKUfl+rDuO009 SoWVY2y9hmWn3F7VQXKQfE5YXyOd+lwKTVR4avq0= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 0A9H4mnQ096597 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 9 Nov 2020 11:04:48 -0600 Received: from DLEE111.ent.ti.com (157.170.170.22) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Mon, 9 Nov 2020 11:04:47 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE111.ent.ti.com (157.170.170.22) 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, 9 Nov 2020 11:04:47 -0600 Received: from a0393678-ssd.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 0A9H4AwZ036684; Mon, 9 Nov 2020 11:04:42 -0600 From: Kishon Vijay Abraham I To: Tero Kristo , Nishanth Menon , Rob Herring , Roger Quadros , Lee Jones CC: Kishon Vijay Abraham I , , , Bjorn Helgaas , , Subject: [PATCH v2 6/7] arm64: dts: ti: k3-j7200-common-proc-board: Enable SERDES0 Date: Mon, 9 Nov 2020 22:34:08 +0530 Message-ID: <20201109170409.4498-7-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201109170409.4498-1-kishon@ti.com> References: <20201109170409.4498-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 ef03e7636b66..65a2e5aeb050 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 { @@ -213,3 +214,25 @@ dr_mode = "otg"; maximum-speed = "high-speed"; }; + +&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>; + }; +};