Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp6880525rwb; Wed, 10 Aug 2022 02:51:38 -0700 (PDT) X-Google-Smtp-Source: AA6agR6PsRofpOe0t9+UVNA7JBOh46c3hC5PHyrtCeffFsycQl+zsEEgzwuySRlsYp68Ta+91TOb X-Received: by 2002:a05:6402:3550:b0:43d:e475:7d2f with SMTP id f16-20020a056402355000b0043de4757d2fmr25558584edd.166.1660125098225; Wed, 10 Aug 2022 02:51:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660125098; cv=none; d=google.com; s=arc-20160816; b=NIDCkqcVbgwU82VtV37h4lTdRqrPehtnhQdKIN6HFrXsziYxqSAiKUQjQ3TdcW7siV 6PLrCAY9geqC/MR0VBAOulTRsQ19kYUf/p5TJAcwUlucmQIKz4hajiiGJsrsKxHdsLdM gOOdY9p4QBDSAarNqjGAlyb6CIcAl5R3P5YDw6UNmkXZ96+VOacPDQSPkmH+6MpNrvOZ 7JKG1F0HdFT+93QFCGCznpFjz5p+nFE49FJFeMRb+qryqUiehBW9n0qeE6MnkJl2RdLS io/NPH7C9C+yTSuEfCB2Yeyqmpirk+MqNMw9SChBi/J7PP6bDIUHGqDEx1m+ImrYUiFx +9HQ== 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=c4wa9RpMuPiHBywns80ZMiL6lrIV/LxU496xZ59lWAk=; b=yfy10vMixXiEYhSYUeSpmPbDI4E/uJgTst0qDJNdwNLmFd7CrWJ841/bA/maU7ACBS IxjN5tVo0gGgo1ZwMSMqfzAX/7bZ/x05QtR7ojdCkouyxlRLgtwfAoAr+LAfHBwTUqFW FRaiUeeO2rfpaEmnkhxZM9HjGvJmDP0rf6OtAGsjfj8sXkXfLKA1ceFfNHNqa/pv2Zjr 1kybrHP1/FV/JkBRZQN4iAdsSZOURUFYBoRoW9QQh9F6lSRsfk4r8+Ua2677Lbn/qTHr DVkh6ocgEeOyuSjftm0kzjwc3Q7DO4yPYCn2/7orRe+hQUeJhHdzqBS9h41KbzmXmdQ9 V0Nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=R2EfbYpQ; 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 mp26-20020a1709071b1a00b0072f66504cc1si4579550ejc.334.2022.08.10.02.51.11; Wed, 10 Aug 2022 02:51:38 -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=R2EfbYpQ; 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 S232180AbiHJJlI (ORCPT + 99 others); Wed, 10 Aug 2022 05:41:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232198AbiHJJkj (ORCPT ); Wed, 10 Aug 2022 05:40:39 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 938A631C; Wed, 10 Aug 2022 02:40:35 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 27A9eWFd091627; Wed, 10 Aug 2022 04:40:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1660124432; bh=c4wa9RpMuPiHBywns80ZMiL6lrIV/LxU496xZ59lWAk=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=R2EfbYpQrofygYDzDWKJfCfk+OXgG9lriDo+zSYo7Outk4vmHVd87+qNdAAjcw6Ug pw9EvZ2I2V/DSav4UWJs/ZzlgtkGNFq7+rKyTxxb45gk6pkd1vojOqSkqNOTs/bt9J DDv/I/WYxNiWX9OthxDTe98o+WpdF6OBEYMSjuYY= Received: from DLEE114.ent.ti.com (dlee114.ent.ti.com [157.170.170.25]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 27A9eWX3061928 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 10 Aug 2022 04:40:32 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE114.ent.ti.com (157.170.170.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Wed, 10 Aug 2022 04:40:32 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE103.ent.ti.com (157.170.170.33) 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; Wed, 10 Aug 2022 04:40:32 -0500 Received: from ubuntu.ent.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 27A9e2Pr121822; Wed, 10 Aug 2022 04:40:26 -0500 From: Matt Ranostay To: CC: , , , Nishanth Menon , Matt Ranostay Subject: [PATCH RESEND 4/6] arm64: dts: ti: k3-j721s2-common-proc-board: Enable SERDES0 Date: Wed, 10 Aug 2022 02:39:58 -0700 Message-ID: <20220810094000.248487-4-mranostay@ti.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220810094000.248487-1-mranostay@ti.com> References: <20220810094000.248487-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=-5.0 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.36.1