From patchwork Wed Feb 2 04:39:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aswath Govindraju X-Patchwork-Id: 12732617 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ADC51C433F5 for ; Wed, 2 Feb 2022 04:42:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=vIeA9e5JjVW5fsBl6yy6ZSQjW2xdZonhevMoJ0WOFuE=; b=RlBZnT3ZynhMIi QNcEHKWJkwlLJ8mOZnMmMrW5TVFyjICZSKA7m0dkyHY51+FU8XqAOd3LRVbjp28CJsdqV8EJ4Z1JO vtpHSA6EMlP3IHyr2BNlODQjY8C2OEJ/5OCeiL/9oJgmCtLlAg0Ls/uRPkgnhHToVcu7MMEDRhY/f 7ehJJfmySW4UcI0LH6KchwR5+cuE5lVSBT52nX8jQrFLnGv5+tLFYc2nnsFeKl5T4fccqf6m9R7RL wPHKPIC/LV4eezmN8PYSWQ1I36KkCs3hTS5oXhGCMo28JziwZXjXTCf8uC12OffvnsUIARS69nRBM YPkAucV53qer+SPGfzkw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nF7R8-00E8aH-Gl; Wed, 02 Feb 2022 04:40:06 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nF7R2-00E8Y3-Ff for linux-arm-kernel@lists.infradead.org; Wed, 02 Feb 2022 04:40:03 +0000 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 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= 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 From: Aswath Govindraju To: 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220201_204000_709918_D9628E3C X-CRM114-Status: GOOD ( 10.66 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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/arm64/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 @@ }; &serdes_ln_ctrl { - idle-states = , , + idle-states = , , , , , , , , @@ -757,8 +757,8 @@ }; &serdes0 { - assigned-clocks = <&serdes0 CDNS_SIERRA_PLL_CMNLC>; - assigned-clock-parents = <&wiz0_pll1_refclk>; + assigned-clocks = <&serdes0 CDNS_SIERRA_PLL_CMNLC>, <&serdes0 CDNS_SIERRA_PLL_CMNLC1>; + assigned-clock-parents = <&wiz0_pll1_refclk>, <&wiz0_pll1_refclk>; serdes0_pcie_link: phy@0 { reg = <0>; @@ -767,6 +767,15 @@ cdns,phy-type = ; resets = <&serdes_wiz0 1>; }; + + serdes0_qsgmii_link: phy@1 { + reg = <1>; + cdns,num-lanes = <1>; + #phy-cells = <0>; + cdns,phy-type = ; + resets = <&serdes_wiz0 2>; + }; + }; &serdes1 {