Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp772660rwl; Fri, 31 Mar 2023 02:04:20 -0700 (PDT) X-Google-Smtp-Source: AKy350YWZ7yWlr8G7q+WJ/XmRbG2N/Jb0lSZegb29enolBRL+vwZnmKK/y+WPnOhlyeu5fvDq9oa X-Received: by 2002:a17:906:18d:b0:92f:39d9:1e50 with SMTP id 13-20020a170906018d00b0092f39d91e50mr3563868ejb.3.1680253460532; Fri, 31 Mar 2023 02:04:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680253460; cv=none; d=google.com; s=arc-20160816; b=ltIVdgAHVElYhI8AdoZQyUX0A44WrbdRC+uFy1Dsg6nWZ0P2I9nSMC8cQ7ORAd2Vrc rjtfq1JcEyzP65edsd1uHIcqyAKb3+MD6xOJADA0sLXSXbdv+hxgGgQ2VTj5ay378g0m bO2ECIW+K0HFJatZdPKLopKuyJIdTQcI4RLZEzAOBMP/huNvAK92IVEq2E0/MrqXFddO t1I6JMAV0ydomI3oLjL0IXr/M/lN2lEd3BvT6pBKHREqD1gEHMZVul7c22Aa6zCS8Nb8 gBsMXiVYhQVy0uD/GIq/Q93WM+e6rbw4Bqopyy2LYd1SNT6f8LNbllPaljlX29mQNCiF GU8g== 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=SP1LII2vRcr7W1F02uieqgQrziMKgI7rUrs0o2kte+Q=; b=cnKxNdlyibKvOTGDvFyD25oOmt+1MQc2cIHbM0zD9UII6XHznvk/ivzw2E+uI0gZ5k Tyhly0nByNxa4//V+O6fUAQwud3DRl/sr4MlhH4l2gU7UEoThSTkcP+yXImqzbQWC5sn 6ZZcyQwayNAr8BJ7LyjxUt6PbvRefE1/FGQq0tY2Nl05YaQwK03yeTYnIRsFqTqUrAOZ QM1B6EGl7H2hl0QMfnkel1NDrlBH2+W5YlsjxETjDFR2MjIbXZG0ck62vpW4CQhRMCpZ Ee+lDyEu0A3ye4FwgRyz1yRp+W4E1sFOFCQqXZvjwxE3Q/KviJf5rKljSJNfjAuaPp/j YsNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=kWtoi7ye; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b16-20020a170906709000b0093d79dde8d1si1418856ejk.231.2023.03.31.02.03.55; Fri, 31 Mar 2023 02:04:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=kWtoi7ye; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231964AbjCaJB3 (ORCPT + 99 others); Fri, 31 Mar 2023 05:01:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231768AbjCaJBC (ORCPT ); Fri, 31 Mar 2023 05:01:02 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0FC271D913; Fri, 31 Mar 2023 02:01:00 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32V90lq1049577; Fri, 31 Mar 2023 04:00:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1680253247; bh=SP1LII2vRcr7W1F02uieqgQrziMKgI7rUrs0o2kte+Q=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=kWtoi7yeczGH840wKaamBJaxizzYptnKbacPCMFo5ybYI3BFIaUVRKLrqNLS2Snv9 92+rcOpkVYFWgHorHvpAFr4ByaHOvTlb71nl0co9OmXVSfQgQWWJ59zwMe3MVqlFAC 0qJdvjAHmoAAlDIoJKOiA5wFA+CNBTbYcO/OWEwE= Received: from DFLE105.ent.ti.com (dfle105.ent.ti.com [10.64.6.26]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32V90lq7032828 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 31 Mar 2023 04:00:47 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE105.ent.ti.com (10.64.6.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Fri, 31 Mar 2023 04:00:47 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Fri, 31 Mar 2023 04:00:47 -0500 Received: from uda0500640.dal.design.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32V90Suc125579; Fri, 31 Mar 2023 04:00:44 -0500 From: Ravi Gunasekaran To: , , , , , , , , CC: , , Subject: [PATCH v14 4/8] arm64: dts: ti: k3-j721s2-common-proc-board: Enable SERDES0 Date: Fri, 31 Mar 2023 14:30:24 +0530 Message-ID: <20230331090028.8373-5-r-gunasekaran@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230331090028.8373-1-r-gunasekaran@ti.com> References: <20230331090028.8373-1-r-gunasekaran@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Aswath Govindraju Configure first lane to PCIe, the second lane to USB and the last two lanes to eDP. Also, add sub-nodes to SERDES0 DT node to represent SERDES0 is connected to PCIe. Signed-off-by: Aswath Govindraju Signed-off-by: Matt Ranostay Signed-off-by: Ravi Gunasekaran --- I had reviewed this patch in the v5 series [0]. Since I'm taking over upstreaming this series, I removed the self Reviewed-by tag. [0] - https://lore.kernel.org/all/71ce4ecd-2a50-c69d-28be-f1a8d769970e@ti.com/ changes from v13: * No changes. Only rebased on top of linux-next Changes from v12: * Removed enabling of "serdes_wiz" node that is already enabled in [2/8] in this version Changes from v11: * No change Changes from v10: * Removed Link tag from commit message Changes from v9: * Enabled serdes related nodes Changes from v8: * No change Changes from v7: * No change Changes from v6: * No change Changes from v5: * Removed Cc tags from commit message Changes from v4: * No change Changes from v3: * No change Changes from v2: * No change Changes from v1: * No change .../dts/ti/k3-j721s2-common-proc-board.dts | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts index b4b9edfe2d12..1afefaf3f974 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts +++ b/arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts @@ -9,6 +9,9 @@ #include "k3-j721s2-som-p0.dtsi" #include +#include +#include +#include / { compatible = "ti,j721s2-evm", "ti,j721s2"; @@ -322,6 +325,26 @@ phy-handle = <&phy0>; }; +&serdes_ln_ctrl { + idle-states = , , + , ; +}; + +&serdes_refclk { + clock-frequency = <100000000>; +}; + +&serdes0 { + status = "okay"; + serdes0_pcie_link: phy@0 { + reg = <0>; + cdns,num-lanes = <1>; + #phy-cells = <0>; + cdns,phy-type = ; + resets = <&serdes_wiz0 1>; + }; +}; + &mcu_mcan0 { status = "okay"; pinctrl-names = "default"; -- 2.17.1