From patchwork Tue Mar 9 12:27:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 395978 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp2558523jai; Tue, 9 Mar 2021 04:55:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJyk3zS9TWZfUuBnKY8EO2TXnokq44Q3LtVVvbSHb1DdwkCWzjTSZNOy4Q5NREewvY4+9EEW X-Received: by 2002:a05:6402:181a:: with SMTP id g26mr3901076edy.225.1615294535123; Tue, 09 Mar 2021 04:55:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615294535; cv=none; d=google.com; s=arc-20160816; b=Zvwv4UNqtgWUiqlGVaJ6OPvm901Ex/0vGsdikXGzPO9tEAoKVV83RQBlE3Rqdt3Yh1 Z3L+xba2cKUEQrbaAWglcCT4pndMfXocwE96UqN2UGnHOlC70kis6cMuXIO/E4yOMwep fl/rGQEksYQMwHCarRWOfoxY06aE6yYod3eQeZE+Ey+XKXYfvxVZdQ3SFy4759zn62SI L+uLA4fSFw4V0YOYHMvTMWLJqR8hYyVA3S4O7Dix0TD8fIkpirXwxKBKxFmkCIfixT4h mxNrKwuiATcGdsXQu97SAAsWjZQye/noGqwO3rj6PabIMOlzg3uwAWi40+7n3yN+7djZ gviw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature; bh=ARUKQxLN4zjIDPSx/OjB9shO9Gs4Fijnu5ZETozhJno=; b=hErP8RvgacfxGMc97/d1O3ceKGJ4f6IrZa5mZN6VcUtB2bRrZoKj25mkZ+s1GGtjlv 5YC4pYiVkSxsobKMEx1fQeyfS2fU5fGlU759psSGBsmfksyqpGXl4onkaF37BeUVVh3h AfNBo5sgbyxLWyAqh1QV8VCZ40RBMv+Ov1UCpWs/qIv7Zvv9rqj1y6tYE/GQTqhkuha7 4lb3uDQMJATimovS8b41wBUERIXy+00pQ1mroQjeDQY9/BCLdYZ9t9gb/6acO+zrqc88 nQc/D3Nd/d9URpOh3dfxJq/muA47kYccKSTMaf4BXXfF5hH5AiQhvWMKsqPQaBWY5H5I KN2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="Unx0UQ/2"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id h7si9455705edt.553.2021.03.09.04.55.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Mar 2021 04:55:35 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="Unx0UQ/2"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CD40482850; Tue, 9 Mar 2021 13:53:56 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="Unx0UQ/2"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 91E03827AA; Tue, 9 Mar 2021 13:28:18 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id AE51F82794 for ; Tue, 9 Mar 2021 13:28:15 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=kishon@ti.com Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 129CSEML123605; Tue, 9 Mar 2021 06:28:14 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1615292894; bh=ARUKQxLN4zjIDPSx/OjB9shO9Gs4Fijnu5ZETozhJno=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Unx0UQ/2BXuYdSTMl/kxIroTLVJgrwivFE8jCIAcxsLdqdmZHnwM9Wyr6txjIBPby CvB/q/atVzSMbVXP7isgiyI3UI/yX4BGLKJNyPa1BrvQIbSOUPfb/tBN4i5QRUCazz GTIjgM2f++3PBKniw/cRKjKRrWey/O8P9fQFxglg= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 129CSEkL103174 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 9 Mar 2021 06:28:14 -0600 Received: from DLEE108.ent.ti.com (157.170.170.38) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Tue, 9 Mar 2021 06:28:14 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE108.ent.ti.com (157.170.170.38) 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; Tue, 9 Mar 2021 06:28:14 -0600 Received: from a0393678-ssd.dhcp.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 129CRncW119584; Tue, 9 Mar 2021 06:28:12 -0600 From: Kishon Vijay Abraham I To: Lokesh Vutla , Simon Glass , Aswath Govindraju CC: Subject: [PATCH 09/16] ARM: dts: k3-j721e: Add the entries required for USB3 support on USB0 Date: Tue, 9 Mar 2021 17:57:41 +0530 Message-ID: <20210309122748.31842-10-kishon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210309122748.31842-1-kishon@ti.com> References: <20210309122748.31842-1-kishon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Mailman-Approved-At: Tue, 09 Mar 2021 13:53:37 +0100 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean Partially sync with Linux's dts to add the entries required for USB3 support on USB0. Note that the default mode is still "peripheral" not "host". USB3 is supported only for the host mode. Signed-off-by: Jean-Jacques Hiblot Signed-off-by: Vignesh Raghavendra Signed-off-by: Kishon Vijay Abraham I --- .../k3-j721e-common-proc-board-u-boot.dtsi | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) -- 2.17.1 diff --git a/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi b/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi index 3384ed9f3a..3b2e40c13d 100644 --- a/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi +++ b/arch/arm/dts/k3-j721e-common-proc-board-u-boot.dtsi @@ -115,13 +115,17 @@ u-boot,dm-spl; }; +&wiz3_pll1_refclk { + assigned-clocks = <&wiz3_pll1_refclk>, <&wiz3_pll0_refclk>; + assigned-clock-parents = <&k3_clks 295 0>, <&k3_clks 295 9>; +}; + &main_usbss0_pins_default { u-boot,dm-spl; }; &usbss0 { u-boot,dm-spl; - ti,usb2-only; }; &usb0 { @@ -193,3 +197,16 @@ &mcu_fss0_ospi1_pins_default { u-boot,dm-spl; }; + +&wiz3_pll1_refclk { + assigned-clocks = <&wiz3_pll1_refclk>, <&wiz3_pll0_refclk>; + assigned-clock-parents = <&k3_clks 295 0>, <&k3_clks 295 9>; +}; + +&serdes_ln_ctrl { + u-boot,mux-autoprobe; +}; + +&usb_serdes_mux { + u-boot,mux-autoprobe; +};