Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp4761371rwb; Tue, 20 Sep 2022 20:26:49 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6nBl1jyWzY/KPSwToB/69C/H4BwgWOrk5pHmT8SNFXxKsGXODd4+fwrAmsAtF2WdB8joMl X-Received: by 2002:a05:6402:ea0:b0:454:38bf:aa3d with SMTP id h32-20020a0564020ea000b0045438bfaa3dmr9825157eda.291.1663730808923; Tue, 20 Sep 2022 20:26:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663730808; cv=none; d=google.com; s=arc-20160816; b=sgEHJgsDIqkaj13Gd4NQ6+tJV06j6Y/Y5GVm9G0KD455+CtvA4euwo3r2rIbIIH6aq sOU7Q60Wq0SoPgmBPLgjVvKSZiIaCf/xrmMounltqfaZAmKQdeMeC+1VnLzxojMtblr8 z/eyTL2Jrh6vVoNXOPh5EVjOZOPz32Ml/2+8EKskNC6OOr4Udgn1X5H8ZS+7COi5XbPn nKukcNktJ7LEfovpOvoh/AcK+T5NDTeGRE5pyxxt1WjJrmUTOHGjldL+cMn9F+sgrh51 b2WVUXNe9x3CYp/8nnrxlDyoAD6RGVohT0izK+sgLn4zjeKIaazfRa9mjpyaX8Dk8d9w xaHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4USz15EscPrhZXEZj5iD4JTv7qfTP2nH8DHZYb8coM8=; b=iBjYlwydapYflO3pmMhr5Cd8TXjojA1UKqUfeEU55ZWiIG9dvHv/tiJzeF6Ba3fLBc UNe3n3uDeSeYFqVYbpJukeCkOSBnRfz85B4NhsNLNpb6vW/0yB/nheNMeKERZ3V8OvD7 2CiNPJ5MVUA3uRskYxvRTWXVwYJInXFmwc1fmawmQY49LUd3FgLX2qMaeICABj92xjrj OkaR5Se84xGl/gJup+m+QW1pu8nXbjMl05fHPEJgBMPRValsGMJSveujgDQ4hCcZS2D2 MJlnJI7TM+qAbNzNEeQ24wY8TE/Vrh2FnujUHCBBXvLZJfs9v941lKz6Q1D7Y/a6Itc3 9Dpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=JdZCgyq6; 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 dn8-20020a17090794c800b007419cc73107si1467857ejc.757.2022.09.20.20.26.23; Tue, 20 Sep 2022 20:26:48 -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=JdZCgyq6; 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 S230456AbiIUDOO (ORCPT + 99 others); Tue, 20 Sep 2022 23:14:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230527AbiIUDNw (ORCPT ); Tue, 20 Sep 2022 23:13:52 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DAAB7E312; Tue, 20 Sep 2022 20:13:50 -0700 (PDT) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 28L3DjiW040831; Tue, 20 Sep 2022 22:13:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1663730025; bh=4USz15EscPrhZXEZj5iD4JTv7qfTP2nH8DHZYb8coM8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=JdZCgyq6rJCBgI+UikOubcDW8Xy0kfrCLk+3NA9FGSDjY/iHUjnoe0yAKZSybpZrp PBkHV7s41mfA9QoYM+Bu/o8iXcs1cBBsAPlXABPPaXIMgR3vLGti9+knLVv/asiG/X EPFtEXvClunYVzbpjNoMQRz9l8EzfPSwELBf7DII= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 28L3Dj7V044232 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 20 Sep 2022 22:13:45 -0500 Received: from DLEE112.ent.ti.com (157.170.170.23) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Tue, 20 Sep 2022 22:13:44 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Tue, 20 Sep 2022 22:13:44 -0500 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 28L3DgxO074383; Tue, 20 Sep 2022 22:13:43 -0500 From: Matt Ranostay To: , , CC: , , , Matt Ranostay Subject: [PATCH v3 4/9] arm64: dts: ti: k3-j721s2-common-proc-board: Enable SERDES0 Date: Tue, 20 Sep 2022 20:13:22 -0700 Message-ID: <20220921031327.4135-5-mranostay@ti.com> X-Mailer: git-send-email 2.38.0.rc0.52.gdda7228a83 In-Reply-To: <20220921031327.4135-1-mranostay@ti.com> References: <20220921031327.4135-1-mranostay@ti.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham 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. Cc: Vignesh Raghavendra Cc: Nishanth Menon Acked-by: Matt Ranostay Signed-off-by: Aswath Govindraju --- .../dts/ti/k3-j721s2-common-proc-board.dts | 22 +++++++++++++++++++ 1 file changed, 22 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 b210cc07c539..791f235bd95f 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"; @@ -350,6 +353,25 @@ &cpsw_port1 { phy-handle = <&phy0>; }; +&serdes_ln_ctrl { + idle-states = , , + , ; +}; + +&serdes_refclk { + clock-frequency = <100000000>; +}; + +&serdes0 { + serdes0_pcie_link: phy@0 { + reg = <0>; + cdns,num-lanes = <1>; + #phy-cells = <0>; + cdns,phy-type = ; + resets = <&serdes_wiz0 1>; + }; +}; + &mcu_mcan0 { pinctrl-names = "default"; pinctrl-0 = <&mcu_mcan0_pins_default>; -- 2.37.2