Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1196010pxf; Fri, 19 Mar 2021 01:02:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyL98t99BdowSNpQ7Hg81EnRTtpN9D8jQmy0KvZpTzRkeBREXT3COxSwFze2EXKrgNt5eb7 X-Received: by 2002:a17:906:948d:: with SMTP id t13mr2842313ejx.402.1616140947151; Fri, 19 Mar 2021 01:02:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616140947; cv=none; d=google.com; s=arc-20160816; b=B52SMp15wfDPtek6mKm1QgjMqrWJ1t5MTLoaKk2BdjGvbofu+XErVCgSQju6MSsW1w 39ugZvGToD7SsYMuriMDWcy8ulzTExIwo9OILacX0Go3opwsranOtYqr27YyzbPg71QV /wFg7wDNuCdMoU2HLHmGmEjQOX0L8uEMNo1WBCDsjD/NwZGQAz8X2aSobxtS6t0rOgdE J5LVnKLqysO8qNyBf0u7+4hOJcmU1Qw+Q+WiwDnVvedcp1juwCJMqk3dhpmjSChB0usx jZOqNlpIAd0wSlR+PYtVhCqx6XtEk3t8rMTWkJu9IFJZ0uRXtEkYHEfkR/76RDUD6r4Q AD0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:mime-version:references:in-reply-to :message-id:date:subject:cc:from:dkim-signature; bh=xTQJDTqnOBsJjzy5Hs+gAx5tqx5PWdpTz1zSae7Yy/E=; b=ke6hKUSOJQhPK32b4OSawb1ce7prlfqzAAL/88oxek2n2FPld/n9PnJVEKC57x1Sjn qvtWwD9rCuv8cBCWFFF7X7x29iZkBz1wlc3Lebt/5TerwDzmhz4wXrfplbOC7v/n02FQ zNYxzrGn5Lqe2O8YXL0u27LFG2L1NWFBq27QTgVxYaT3hwGV1bNlRrnoRMpdoejzg0zK vMUBjea2gXQTJrGvCXAqvo7iU5VNoYp+TujdpCzStH+r0zwZWbu4TsHxcFqfWmIq4ylD Z/PSdwurA/hW8U/tQlgOEWA+JwBuJQt3lAHNJCeO/glcwMisV5BA8X/lERZbSM4xp8IK EQHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ti.com header.s=ti-com-17Q1 header.b=L2cByV+S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dr7si3521561ejc.126.2021.03.19.01.02.05; Fri, 19 Mar 2021 01:02:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@ti.com header.s=ti-com-17Q1 header.b=L2cByV+S; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234266AbhCSIBL (ORCPT + 99 others); Fri, 19 Mar 2021 04:01:11 -0400 Received: from fllv0015.ext.ti.com ([198.47.19.141]:39482 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234158AbhCSIA6 (ORCPT ); Fri, 19 Mar 2021 04:00:58 -0400 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 12J80qxZ004920; Fri, 19 Mar 2021 03:00:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1616140852; bh=xTQJDTqnOBsJjzy5Hs+gAx5tqx5PWdpTz1zSae7Yy/E=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=L2cByV+Sd7yTJUGiMKOXX+ogR2Inj37dC+Pn+FsciuGO3UIDDKmnC2KOP6HEiiabP eV3Iz2NqB6QgWZGJwo13NpnDevzPB6L9/1ppyGKkIhnLlF51HgK3Riyu4wPWMOd4E9 tCmi+G7DsejUbKs25TPH5pserw1opYsAdwpXham8= Received: from DLEE105.ent.ti.com (dlee105.ent.ti.com [157.170.170.35]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 12J80qN5028282 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 19 Mar 2021 03:00:52 -0500 Received: from DLEE103.ent.ti.com (157.170.170.33) by DLEE105.ent.ti.com (157.170.170.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Fri, 19 Mar 2021 03:00:52 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) 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.2176.2 via Frontend Transport; Fri, 19 Mar 2021 03:00:52 -0500 Received: from gsaswath-HP-ProBook-640-G5.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 12J80eJs086082; Fri, 19 Mar 2021 03:00:49 -0500 From: Aswath Govindraju CC: Vignesh Raghavendra , Lokesh Vutla , Kishon Vijay Abraham I , Aswath Govindraju , Nishanth Menon , Tero Kristo , Rob Herring , , , Subject: [PATCH 2/2] arm64: dts: ti: k3-am642-sk: Enable USB Super-Speed HOST port Date: Fri, 19 Mar 2021 13:30:38 +0530 Message-ID: <20210319080038.10521-3-a-govindraju@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210319080038.10521-1-a-govindraju@ti.com> References: <20210319080038.10521-1-a-govindraju@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kishon Vijay Abraham I Enable USB Super-Speed HOST port. Signed-off-by: Kishon Vijay Abraham I Signed-off-by: Aswath Govindraju --- arch/arm64/boot/dts/ti/k3-am642-sk.dts | 39 ++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am642-sk.dts b/arch/arm64/boot/dts/ti/k3-am642-sk.dts index 3a5bee4b0b0c..f193ec630d18 100644 --- a/arch/arm64/boot/dts/ti/k3-am642-sk.dts +++ b/arch/arm64/boot/dts/ti/k3-am642-sk.dts @@ -5,6 +5,8 @@ /dts-v1/; +#include +#include #include #include #include "k3-am642.dtsi" @@ -85,6 +87,12 @@ >; }; + main_usb0_pins_default: main-usb0-pins-default { + pinctrl-single,pins = < + AM64X_IOPAD(0x02a8, PIN_OUTPUT, 0) /* (E19) USB0_DRVVBUS */ + >; + }; + main_i2c1_pins_default: main-i2c1-pins-default { pinctrl-single,pins = < AM64X_IOPAD(0x0268, PIN_INPUT_PULLUP, 0) /* (C18) I2C1_SCL */ @@ -230,6 +238,37 @@ disable-wp; }; +&serdes_ln_ctrl { + idle-states = ; +}; + +&serdes_wiz0 { + status = "okay"; +}; + +&serdes0 { + serdes0_usb_link: phy@0 { + reg = <0>; + cdns,num-lanes = <1>; + #phy-cells = <0>; + cdns,phy-type = ; + resets = <&serdes_wiz0 1>; + }; +}; + +&usbss0 { + ti,vbus-divider; +}; + +&usb0 { + dr_mode = "host"; + maximum-speed = "super-speed"; + pinctrl-names = "default"; + pinctrl-0 = <&main_usb0_pins_default>; + phys = <&serdes0_usb_link>; + phy-names = "cdns3,usb3-phy"; +}; + &cpsw3g { pinctrl-names = "default"; pinctrl-0 = <&mdio1_pins_default -- 2.17.1