Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3360564pxb; Mon, 9 Nov 2020 09:09:58 -0800 (PST) X-Google-Smtp-Source: ABdhPJz8LBngWAtLvFCxpiqdRV+UYpWPuPkaY+iG8A+WbCKERn+YRahFGFedsrQhqMbRCa1RA+Wd X-Received: by 2002:a17:906:22c7:: with SMTP id q7mr16562056eja.291.1604941797191; Mon, 09 Nov 2020 09:09:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604941797; cv=none; d=google.com; s=arc-20160816; b=UcGGiE4/XIiz9trHnJFmbXWQ1Oi8N7W3U4mmugu2pjRTcwHgu8U7mF2rD0mxj3jZC9 CzM4SKBhhKQ1Q0vVRhjB5Ydg7LXyEX6IxF+xGN/GZ3VBIk37L2OIx3I9Rh1TtzeYjKY6 yAFhktd+F28vfFf9vbvepgUAIDj4TIptJ1yXKk61wznUl4iZ7pQ7eSwvN/WGM7ToIyCC eIUc6evUhRnFKyrKjuUucqDbihM/RlzzPiKnIUTeD918OWFdkEyw4aa2kqY9v/E2cA9x xdXBjcnRT3aYY9S/E4ouOepMEbxzGzDLdzCNMQEVzcpKV9CX0/0eVY9UDYU3DTvZLc1Z zTjA== 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=XsJOYnvNSR7HhZllcSP7IYnD3fRD0hSvJgs7hXmpfVYbTUyA9m3HMTMesTehcU8Xaf dS2qPD67KdqlH6q93lqFsd2oYLJ2FCJJCFHa7seD2mshDzhrGpPcndZ1cXu1T9/FaDSp UG4NGUsvHFCwDjIRzopp/IAp4trvMROo003Ky1bjIET9HotO2FvKPFNCNuK69sjG+ibQ qpIs64L7nOuVd+TG5zlGElxnpquZzF3+9FdXqQh77GQPrrfWjyh2JCYzBkYkWb5GNZGb ZYsEDiFxn08nMUx1Bz/yHLHi8LSJ2jS3ULa/5YX8iIVy1Z+CSUc/kUeT94KHoKkgg3Ql L3cw== 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 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 oi23si7341124ejb.676.2020.11.09.09.09.32; Mon, 09 Nov 2020 09:09:57 -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="TonV/vJK"; 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 S1731292AbgKIRE5 (ORCPT + 99 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 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 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>; + }; +}; -- 2.17.1