Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp145870pxu; Tue, 5 Jan 2021 07:18:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJyH31lf8Eqg/dcIWwv5g/wyg0HLk+OYcjuzS0a50b9nyLfk/1ZNOztub7wKRBrmAbCEcuSN X-Received: by 2002:aa7:db56:: with SMTP id n22mr273676edt.4.1609859889880; Tue, 05 Jan 2021 07:18:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609859889; cv=none; d=google.com; s=arc-20160816; b=O8Ct1kzYkwHGsyHbVbsDq4i8twPZUH20L3Xcn68H5mFstY8M6KP93IB+qDeXuthEh8 G4rLsQpl+kcoTaYjb+Rh+tAWVX/h2RY4WyMIv2AYgDTbrXSMjkYgnu0urBTPVov/5XXd oemcv3Jj7Qrk8Bfd3l5peTIjMq6hrryumQzYzVy2asAbLbZxOfosWCEcFy8NUbDDljKb bzE48sAwAOgIQgkESmw56X+bxnecqUF5r68p5FNh/u5w2GzA5+u+0XdPixCPuoJCW9S4 XoCzdVmg0PrzVPQXL1VbZSMvqpPCOFB2J+6f/a0AggCKfKrh/2CQeZRh0LMxzLyu1J/2 NUwA== 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=YUgwzsXoL+kdMkmrrrnMb9j2ZR+3GfMRMCu8CxU4H7BIA/jeirQrND0DSnam3jaSUP G+RngoOBu58wD9rMRRDBYyVGOpjW8lS5gXT+hMZRAN2a5XjcVSfVy0oGB4h4tGdIi9VL qjaVUNDYGMxfYayIyGdpIZwAecPrTvEU1FIa2jzCwY+Qk9egBjjh6OVD1bRHLWdm0MdU dlg3+iPVJPv+0OTAeI+AWtDYHb+Yq+je6Lue0MIQ9i2HW+AoNn9b0y+sic+CZSRjMLyP ZT/YF3AmeBX0wFyXOzKRC7q5THpn8GAQKLRA81iKaYjs4TftuhAMRRjnOlxcvlXh/m3P JleA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=O7tPnp9N; 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 a15si37481548edr.433.2021.01.05.07.17.35; Tue, 05 Jan 2021 07:18: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=O7tPnp9N; 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 S1727036AbhAEPP1 (ORCPT + 99 others); Tue, 5 Jan 2021 10:15:27 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:40086 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726846AbhAEPP1 (ORCPT ); Tue, 5 Jan 2021 10:15:27 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 105FEhll012893; Tue, 5 Jan 2021 09:14:43 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1609859683; bh=TCT4o2ep6cw3Hu4jevsOOwo8iY51in45dTp+iGuuPKs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=O7tPnp9NQCr9YC7yiyzwdL3jSvHX6fnD18e+S03q61f9WcmLkTJlpfmftTi5w8lDz XszMJ94cRDVW7pmfJHQCLaqSopf0diCZJNVQE5OeJmcXAuhmZ6AIy3FWpEr72X2x9G NfBvx5rZvk2mrDKdZerl/N80r8cSsfxra8IdzuyY= Received: from DFLE100.ent.ti.com (dfle100.ent.ti.com [10.64.6.21]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 105FEhES098537 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 5 Jan 2021 09:14:43 -0600 Received: from DFLE115.ent.ti.com (10.64.6.36) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Tue, 5 Jan 2021 09:14:43 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) 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; Tue, 5 Jan 2021 09:14:43 -0600 Received: from a0393678-ssd.ent.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 105FEPOH005961; Tue, 5 Jan 2021 09:14:41 -0600 From: Kishon Vijay Abraham I To: Nishanth Menon , Rob Herring , Kishon Vijay Abraham I CC: , , Subject: [PATCH v4 5/6] arm64: dts: ti: k3-j7200-common-proc-board: Enable SERDES0 Date: Tue, 5 Jan 2021 20:44:20 +0530 Message-ID: <20210105151421.23237-6-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210105151421.23237-1-kishon@ti.com> References: <20210105151421.23237-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