From nobody Thu Apr 18 14:55:13 2024 Delivered-To: importer2@patchew.org Received-SPF: pass (zohomail.com: domain of vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; envelope-from=linux-kernel-owner@vger.kernel.org; helo=vger.kernel.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail(p=quarantine dis=quarantine) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mx.zohomail.com with SMTP id 164377680989194.13529626169247; Tue, 1 Feb 2022 20:40:09 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244486AbiBBEkF (ORCPT ); Tue, 1 Feb 2022 23:40:05 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:38288 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242010AbiBBEkE (ORCPT ); Tue, 1 Feb 2022 23:40:04 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 2124dsTV004752; Tue, 1 Feb 2022 22:39:54 -0600 Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2124dsgv068180 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 1 Feb 2022 22:39:54 -0600 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Tue, 1 Feb 2022 22:39:53 -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.2308.14 via Frontend Transport; Tue, 1 Feb 2022 22:39:53 -0600 Received: from gsaswath-HP-ProBook-640-G5.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 2124dnm2068932; Tue, 1 Feb 2022 22:39:49 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1643776794; bh=MIjtlT3LVVFPZOZkCNssvMeg8BFmBRKFOpHzYs2Kje8=; h=From:To:CC:Subject:Date; b=g9yfXQJttCYy4CBX1isel6Le0C/bwwCkKjnOuqHh7mbeNHlQh78JgTfu0Wk6UTKoB jL/dII1awy+wz1w2L0792JFKqWGuE/IhD3iWW0NtCqZ+IVaNDVg3uTVyffAuup+W32 iX/8K28R8DQ+ydCRrgfHKKa1r+l1rF7RIZdLVgEo= From: Aswath Govindraju CC: Aswath Govindraju , Swapnil Jakhade , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , , , Subject: [PATCH v2] arm64: dts: ti: k3-j721e-common-proc-board: Enable PCIe + QSGMII multilink configuration Date: Wed, 2 Feb 2022 10:09:44 +0530 Message-ID: <20220202043944.11351-1-a-govindraju@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1643776812847100001 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Swapnil Jakhade The zeroth instance of SerDes on J721E common processor board will be shared between PCIe and QSGMII. Therefore, add support for enabling this. Signed-off-by: Swapnil Jakhade Signed-off-by: Aswath Govindraju --- changes since v1: - Fixed the commit message. .../boot/dts/ti/k3-j721e-common-proc-board.dts | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts b/arch/a= rm64/boot/dts/ti/k3-j721e-common-proc-board.dts index 2d7596911b27..157d86dc2824 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 @@ -431,7 +431,7 @@ }; =20 &serdes_ln_ctrl { - idle-states =3D , , + idle-states =3D , , , , , , , , @@ -757,8 +757,8 @@ }; =20 &serdes0 { - assigned-clocks =3D <&serdes0 CDNS_SIERRA_PLL_CMNLC>; - assigned-clock-parents =3D <&wiz0_pll1_refclk>; + assigned-clocks =3D <&serdes0 CDNS_SIERRA_PLL_CMNLC>, <&serdes0 CDNS_SIER= RA_PLL_CMNLC1>; + assigned-clock-parents =3D <&wiz0_pll1_refclk>, <&wiz0_pll1_refclk>; =20 serdes0_pcie_link: phy@0 { reg =3D <0>; @@ -767,6 +767,15 @@ cdns,phy-type =3D ; resets =3D <&serdes_wiz0 1>; }; + + serdes0_qsgmii_link: phy@1 { + reg =3D <1>; + cdns,num-lanes =3D <1>; + #phy-cells =3D <0>; + cdns,phy-type =3D ; + resets =3D <&serdes_wiz0 2>; + }; + }; =20 &serdes1 { --=20 2.17.1