Received: by 2002:a05:6358:c22:b0:b5:95e5:7f42 with SMTP id f34csp13078rwj; Wed, 7 Sep 2022 18:36:26 -0700 (PDT) X-Google-Smtp-Source: AA6agR79+2YOWKQt5XZVY+sZdzG9dyiQ3s/F01MzcF727CNZ4jGFZzchLTCVI0g/y4gt9ca0F1l6 X-Received: by 2002:a17:907:3f04:b0:741:4bf4:fe42 with SMTP id hq4-20020a1709073f0400b007414bf4fe42mr4430862ejc.664.1662600986385; Wed, 07 Sep 2022 18:36:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662600986; cv=none; d=google.com; s=arc-20160816; b=R+8WVsnJiEiElT6YMFUi63z+QNXQZ6XvANK6g+mAVxNYEexl8z0I9VAM445EfT8hex kMWWzErMRwv7/hcEVcPiAhST4BwXAMyn2MJu3EmMSMmTh/ouODhIrCfQqkQiAtZjMREI 2jjmYpzvHEB63mR0IsL/HJne3rLFnTlmz1KwbvJReDs3gvQSenSEUmSXHCG2i2xGpOiU RpqAxQYcGJJM+6coeLUuIHQmA83Z/0CZsrdjdAMWiqSBetHWfNg0b0RvTKSOB3iVD6qv 1lYezUzCVflFCrn5q9g4dnb19Yrr5FNu7lpxbYShsHD2G3GOqusWSEnHZWLY5bsEOvui jnew== 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=62OK8Dd4YH/7ZhSRsqTkoXZBSV79+iiRosyVCNLWSss=; b=VGbMaqz9K4Mlgh1KHbuhJv9cTlYnGvRzrBlDhURyM58CcQlUPAtoduMitYaZl01mDy vOEQf/6T2m8uJ3jJC2upDkaXlRzFZg+TGxZD9mDAZUjHJ3+VGvbDW/KsplH1S9D0mtjr DtL/YMJxqg7mwxUq2BVAAv4PEt4lAqK2lZC1uNZvVSbCx7V2KXDceipIEV2AnX/yIb65 KcpWRTB5kAiCUlCRBh21Hl7CJZyYvbukjk33jJq8M0lPjctKOfX2N8ChMAnvRWVY44vf 1xtXVR06KUk4UB/nsUFCHNvYvMKrj7vEgWw6jXdBcjDjzDzLxgGLiVoybgdrhj+50LCr oxhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Yv9Ex9G6; 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 qb29-20020a1709077e9d00b00730c7c6322dsi752446ejc.932.2022.09.07.18.36.02; Wed, 07 Sep 2022 18:36:26 -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=Yv9Ex9G6; 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 S230453AbiIHBVJ (ORCPT + 99 others); Wed, 7 Sep 2022 21:21:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230061AbiIHBVH (ORCPT ); Wed, 7 Sep 2022 21:21:07 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 611651BE93; Wed, 7 Sep 2022 18:21:05 -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 2881L2MT077480; Wed, 7 Sep 2022 20:21:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1662600062; bh=62OK8Dd4YH/7ZhSRsqTkoXZBSV79+iiRosyVCNLWSss=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Yv9Ex9G6aaOFExmvWY8mfdyjvPd0m/3P8li9GOfvtAyCpP6anyIqQ6deq8cJTPxmT 0l9Y5O+neC82Y/T0cunVMkqCSR8gJGZZHkByCHMwTX/dgjfqPFOtVMGXF/sKHlZ60c 1QIaVetm+CWG7DAg8wS+xSxVmWhCvPEfaXijECu4= Received: from DLEE107.ent.ti.com (dlee107.ent.ti.com [157.170.170.37]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 2881L2x2093426 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 7 Sep 2022 20:21:02 -0500 Received: from DLEE110.ent.ti.com (157.170.170.21) by DLEE107.ent.ti.com (157.170.170.37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Wed, 7 Sep 2022 20:21:02 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE110.ent.ti.com (157.170.170.21) 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; Wed, 7 Sep 2022 20:21:02 -0500 Received: from ubuntu.ent.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 2881KXFf009016; Wed, 7 Sep 2022 20:20:56 -0500 From: Matt Ranostay To: , CC: , , , Matt Ranostay Subject: [PATCH v2 4/6] arm64: dts: ti: k3-j721s2-common-proc-board: Enable SERDES0 Date: Wed, 7 Sep 2022 18:20:29 -0700 Message-ID: <20220908012031.3354-4-mranostay@ti.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220908012031.3354-1-mranostay@ti.com> References: <20220908012031.3354-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,T_SCC_BODY_TEXT_LINE 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.30.2