Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2773235rdb; Fri, 22 Sep 2023 08:03:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFpBOHsISYnLOkHEDo3m4AxLlxdS6xvu+iBqhUm9z+H0WXaVNete3YhvxqwkPUbpsIYk9ZY X-Received: by 2002:a05:6a00:22c9:b0:68e:4587:3da8 with SMTP id f9-20020a056a0022c900b0068e45873da8mr9689651pfj.21.1695395028229; Fri, 22 Sep 2023 08:03:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695395028; cv=none; d=google.com; s=arc-20160816; b=K0ta1X1t3ctOkVWRrG1Ig9y/zKklMAa/qTMTG1xLp45vU6tNvOWUORt8Kzr+Ndn4wf 4uZd91nROlM5I/utZMq2UihY1FeJp3K17oCk9MGMFOPf6X3sMAeEgEZiPjigrZYutEss ClZs6ugBv/6tcu/zD/NffpqWWVrtpIBKI+rGHODoNDKJEtN0x/0qrw17OYcC28jxnUDT s6drp8DBSPH16UmmFXG9LrhnNvg8W8nbe9gIMu0wrt70/pmL9hTR8ERmw6Twmm5XSiVW XFnyoZPtS/g9D4+/O6LiIxPZa4KW9hvq8Ch4NideCzyjZwC6e/BUdUy1t5SL73BUiTfw FjWg== 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=Qkoww/k25TgszooUgrPKS3E7tVrUzh5u0Uv5XvCYNmo=; fh=KfCReZexigBnHyxZL38bWXevtehgUQIbbCGsebVFDdw=; b=YklnTmNbxoSN517l0Woe79pELu06UJxAxHH6En7CMAR5FZ8Qj7zbrfOi3DdZ5fFFSn LqnnJofWoAfjfRL72FKNm4gGU05zixk9EGsfxcG3l+l81SmhG5nhRuhR2LUuVt5KS1bp Tah6PdBgFoTmuJrLCOorC/qU7+L6vItyfPx7O7vDROZrTfH6Sv8S+zPoq+kIodu5aaip Kz2HlMKujnTlaCtmf46aI9vheQqDALCR+jYj+7qZNQEm2LESyHI4IkarCwqNfO6vBSRk 6mVNyGxXAFFHdt477c4/mqBm6in/K2+ozfF0w8QJo99t2gyd+/usq/p29eBWrIXZVxoh Hv6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=k7H8NOXW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id u41-20020a056a0009a900b0068fdeb84453si4269146pfg.265.2023.09.22.08.03.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 08:03:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=k7H8NOXW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 06ECA82A6892; Thu, 21 Sep 2023 19:13:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229861AbjIVCNz (ORCPT + 99 others); Thu, 21 Sep 2023 22:13:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40156 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229668AbjIVCNv (ORCPT ); Thu, 21 Sep 2023 22:13:51 -0400 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F84918F; Thu, 21 Sep 2023 19:13:45 -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 38LA0sm4085113; Thu, 21 Sep 2023 05:00:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1695290454; bh=Qkoww/k25TgszooUgrPKS3E7tVrUzh5u0Uv5XvCYNmo=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=k7H8NOXWPgdULfUKNt6HBntwkvjKmtvB0jjCcD3BoQQbl7eu5tttnPchHvchM+BgE nMOTcFeushghOVxXfcEruPjpSPz3utax34E7KPp0PY2ZArWHk91wdRPu0L/DmpI56y IMsw//1R4WyigFghTB0u0rLqCzOnYmxvIKqU8RTw= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 38LA0sM4078214 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 21 Sep 2023 05:00:54 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) 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.23; Thu, 21 Sep 2023 05:00:53 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) 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.2507.23 via Frontend Transport; Thu, 21 Sep 2023 05:00:53 -0500 Received: from uda0500640.dal.design.ti.com (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 38LA0dD6060269; Thu, 21 Sep 2023 05:00:50 -0500 From: Ravi Gunasekaran To: , CC: , , , , , , , , Subject: [PATCH 3/3] arm64: dts: ti: k3-am68-sk: Add DT node for USB Date: Thu, 21 Sep 2023 15:30:39 +0530 Message-ID: <20230921100039.19897-4-r-gunasekaran@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230921100039.19897-1-r-gunasekaran@ti.com> References: <20230921100039.19897-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=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 21 Sep 2023 19:13:54 -0700 (PDT) From: Sinthu Raja AM68 Starter kit has a USB3 hub that connects to the SerDes0 Lane 2. Update the SerDes configuration to support USB3. Signed-off-by: Sinthu Raja Signed-off-by: Ravi Gunasekaran --- .../boot/dts/ti/k3-am68-sk-base-board.dts | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts index 81c2307c77f9..1e1a82f9d2b8 100644 --- a/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts +++ b/arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts @@ -573,6 +573,15 @@ cdns,phy-type = ; resets = <&serdes_wiz0 1>, <&serdes_wiz0 2>; }; + + serdes0_usb_link: phy@2 { + status = "okay"; + reg = <2>; + cdns,num-lanes = <1>; + #phy-cells = <0>; + cdns,phy-type = ; + resets = <&serdes_wiz0 3>; + }; }; &pcie1_rc { @@ -582,3 +591,21 @@ phy-names = "pcie-phy"; num-lanes = <2>; }; + +&usb_serdes_mux { + idle-states = <0>; /* USB0 to SERDES lane 2 */ +}; + +&usbss0 { + status = "okay"; + pinctrl-0 = <&main_usbss0_pins_default>; + pinctrl-names = "default"; + ti,vbus-divider; +}; + +&usb0 { + dr_mode = "host"; + maximum-speed = "super-speed"; + phys = <&serdes0_usb_link>; + phy-names = "cdns3,usb3-phy"; +}; -- 2.17.1