Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4753931pxu; Mon, 21 Dec 2020 23:09:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJzkudbv8mCr8EExb0V/VhAKdhvpgPTuS4zMofeTUptt1bg3pyvJaRYccrufdOfFsKk6QmZ9 X-Received: by 2002:a17:906:d8a3:: with SMTP id qc3mr18677758ejb.443.1608620966131; Mon, 21 Dec 2020 23:09:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608620966; cv=none; d=google.com; s=arc-20160816; b=rrnRtZRVjshxRy49BgVAJW1UjDCZ/Hf6HovPXjUhqpyln7USjix+5NDW6bSFmiXRH7 Dqbgv6enbhQXcsx7V7/IdM8yN8H+eMg07KCpslwQUiVwMqp3V6mtrk9UIJMbcgWv5QYk hKEIecedq3y3883rStyYB0T3DlxOfBzdlgcjMDKcussKJi8O43wiTnAJNSykpbB7u4wf +IH6sh0jx9osLavZdijKrbUNQYHuHSaEYmgTb+gAGFTG82YXTqtciX8c11FDEJa0MJaL rBI2qb5H8IfrC6N5BC+F3pK+2Swgg7MdQde84GbT19A9Dr/KMxMxksB2vmPTgWuxOOJP LDtw== 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=14cbnSxHB44iZkpTWbvcT9c4bCPw1pt8QKkVr6DRwOw=; b=JzCDFza8gxabR/4RZ1qvOTkdLLiX8ZHMYBAtdQU4V+bcid+8VBMU775x8OXn0Cxa86 nI5PrZDwyBXZHmubgxoJuEd6JYwyfIemsX1jeuXuS4xwn8fZYBu6mgb46JLkJUhvLyDS A0cBKUV+iiNxLssLtze9uYGAUjcoU4xioAsticbG+ahIo8Zvi6pLLKj1Ph1eYZ1Nf25V ZUFYKCRBgLoQngi6lalIQ6t+UgXCflT0+Mlos4u6SLquPOBl6a/jv62uLvmWFJ+AeRvZ UlFKKRLhgRj1719AIyXCKNVV6K59ZX+OZB7sm7Dd7VKs+eoeKlK9iuLu8UMDvTiGlSB/ d3Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=vR+rr+Zo; 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 s21si11846885edc.368.2020.12.21.23.09.04; Mon, 21 Dec 2020 23:09:26 -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=vR+rr+Zo; 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 S1726485AbgLVHHT (ORCPT + 99 others); Tue, 22 Dec 2020 02:07:19 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:54106 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725885AbgLVHHR (ORCPT ); Tue, 22 Dec 2020 02:07:17 -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 0BM76Dei064338; Tue, 22 Dec 2020 01:06:13 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1608620773; bh=14cbnSxHB44iZkpTWbvcT9c4bCPw1pt8QKkVr6DRwOw=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=vR+rr+Zo9MLESkQRQA67Sk6S3ilWJuNq0VwR9tEt+70u0mwTWOwOLTcCUQDiXTWlH tIOXclliAv+AzLDJV5I7y6af6pkTkKY5aV1kyHfS2T+S4zlHtbwdffHVIpweF6lvrT g4/uw9mIJP3y4ADuhYUvIwCzHF2m3SaHxr1BI8oE= Received: from DLEE103.ent.ti.com (dlee103.ent.ti.com [157.170.170.33]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 0BM76DvR109324 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 22 Dec 2020 01:06:13 -0600 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE103.ent.ti.com (157.170.170.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Tue, 22 Dec 2020 01:06:12 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE108.ent.ti.com (157.170.170.38) 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, 22 Dec 2020 01:06:12 -0600 Received: from a0393678-ssd.dal.design.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 0BM75N7M050344; Tue, 22 Dec 2020 01:06:09 -0600 From: Kishon Vijay Abraham I To: Kishon Vijay Abraham I , Vinod Koul , Rob Herring , Swapnil Jakhade , , , CC: Nishanth Menon , Philipp Zabel Subject: [PATCH v2 13/14] arm64: dts: ti: k3-j721e-common-proc-board: Use external clock for SERDES Date: Tue, 22 Dec 2020 12:35:19 +0530 Message-ID: <20201222070520.28132-14-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201222070520.28132-1-kishon@ti.com> References: <20201222070520.28132-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 Use external clock for all the SERDES used by PCIe controller. This will make the same clock used by the local SERDES as well as the clock provided to the PCIe connector. Signed-off-by: Kishon Vijay Abraham I --- .../dts/ti/k3-j721e-common-proc-board.dts | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts index 86f7ab511ee8..788126daf91c 100644 --- a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts +++ b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts @@ -639,6 +639,51 @@ clock-frequency = <100000000>; }; +&wiz0_pll1_refclk { + assigned-clocks = <&wiz0_pll1_refclk>; + assigned-clock-parents = <&cmn_refclk1>; +}; + +&wiz0_refclk_dig { + assigned-clocks = <&wiz0_refclk_dig>; + assigned-clock-parents = <&cmn_refclk1>; +}; + +&serdes0_pll_cmnlc { + assigned-clocks = <&serdes0_pll_cmnlc>; + assigned-clock-parents = <&serdes0_refrcv1>; +}; + +&wiz1_pll1_refclk { + assigned-clocks = <&wiz1_pll1_refclk>; + assigned-clock-parents = <&cmn_refclk1>; +}; + +&wiz1_refclk_dig { + assigned-clocks = <&wiz1_refclk_dig>; + assigned-clock-parents = <&cmn_refclk1>; +}; + +&serdes1_pll_cmnlc { + assigned-clocks = <&serdes1_pll_cmnlc>; + assigned-clock-parents = <&serdes1_refrcv1>; +}; + +&wiz2_pll1_refclk { + assigned-clocks = <&wiz2_pll1_refclk>; + assigned-clock-parents = <&cmn_refclk1>; +}; + +&wiz2_refclk_dig { + assigned-clocks = <&wiz2_refclk_dig>; + assigned-clock-parents = <&cmn_refclk1>; +}; + +&serdes2_pll_cmnlc { + assigned-clocks = <&serdes2_pll_cmnlc>; + assigned-clock-parents = <&serdes2_refrcv1>; +}; + &serdes0 { serdes0_pcie_link: link@0 { reg = <0>; -- 2.17.1