From patchwork Wed Oct 9 10:35:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Jacques Hiblot X-Patchwork-Id: 1173739 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ti.com header.i=@ti.com header.b="WX3vLyc4"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 46p9cS6QwWz9s7T for ; Wed, 9 Oct 2019 21:36:24 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 9133DC21FBC; Wed, 9 Oct 2019 10:35:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 7B36CC21FBD; Wed, 9 Oct 2019 10:35:48 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 74631C21FC0; Wed, 9 Oct 2019 10:35:38 +0000 (UTC) Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by lists.denx.de (Postfix) with ESMTPS id D5526C21FA5 for ; Wed, 9 Oct 2019 10:35:35 +0000 (UTC) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id x99AZRLS041979; Wed, 9 Oct 2019 05:35:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1570617327; bh=0Ioj4EfKK/4TAgmXeCQU21GCoPH2wybbI4eBXtdkGcs=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=WX3vLyc4c/no8foIF4LSzF1HD4yGleRgmmI5HhLiADJiJAt66832Vmrx2phHgWXIW +qjWEEdbuxaoTs8N3MU8sbYjm+rfPj90cFj7OkAF4w3GfDzce1HOeR5cbyezwIyWtm NPGBjDF2k7/25a3qbPL9urv1zAoaRRnITdTzJ/TU= Received: from DLEE104.ent.ti.com (dlee104.ent.ti.com [157.170.170.34]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x99AZR2F043313 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 9 Oct 2019 05:35:27 -0500 Received: from DLEE104.ent.ti.com (157.170.170.34) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 9 Oct 2019 05:35:23 -0500 Received: from lelv0326.itg.ti.com (10.180.67.84) by DLEE104.ent.ti.com (157.170.170.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5 via Frontend Transport; Wed, 9 Oct 2019 05:35:23 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id x99AZQ2t008489; Wed, 9 Oct 2019 05:35:26 -0500 From: Jean-Jacques Hiblot To: Date: Wed, 9 Oct 2019 12:35:18 +0200 Message-ID: <20191009103520.18109-2-jjhiblot@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191009103520.18109-1-jjhiblot@ti.com> References: <20191009103520.18109-1-jjhiblot@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Cc: u-boot@lists.denx.de, Evgeniy Paltsev , Tom Rini Subject: [U-Boot] [RESEND PATCH v1 1/3] ARM: dts: dra7: Add usb peripheral nodes in spl X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" From: Faiz Abbas Add usb peripheral and usb phy nodes in spl to enable SPL_DFU bootmode. Signed-off-by: Faiz Abbas Signed-off-by: Jean-Jacques Hiblot --- arch/arm/dts/dra7-evm-u-boot.dtsi | 17 +++++++++++++++++ arch/arm/dts/dra71-evm-u-boot.dtsi | 17 +++++++++++++++++ arch/arm/dts/dra72-evm-revc-u-boot.dtsi | 17 +++++++++++++++++ arch/arm/dts/dra72-evm-u-boot.dtsi | 23 +++++++++++++++++++++++ arch/arm/dts/dra76-evm-u-boot.dtsi | 17 +++++++++++++++++ arch/arm/dts/omap5-u-boot.dtsi | 1 + 6 files changed, 92 insertions(+) create mode 100644 arch/arm/dts/dra72-evm-u-boot.dtsi diff --git a/arch/arm/dts/dra7-evm-u-boot.dtsi b/arch/arm/dts/dra7-evm-u-boot.dtsi index badaebc76f..f06c701dbd 100644 --- a/arch/arm/dts/dra7-evm-u-boot.dtsi +++ b/arch/arm/dts/dra7-evm-u-boot.dtsi @@ -32,3 +32,20 @@ &mmc2_iodelay_hs200_rev20_conf { u-boot,dm-spl; }; + +&omap_dwc3_1 { + u-boot,dm-spl; +}; + +&usb1 { + u-boot,dm-spl; + dr_mode = "peripheral"; +}; + +&usb2_phy1 { + u-boot,dm-spl; +}; + +&usb3_phy1 { + u-boot,dm-spl; +}; diff --git a/arch/arm/dts/dra71-evm-u-boot.dtsi b/arch/arm/dts/dra71-evm-u-boot.dtsi index f9da15f1c7..b56d4fc9d8 100644 --- a/arch/arm/dts/dra71-evm-u-boot.dtsi +++ b/arch/arm/dts/dra71-evm-u-boot.dtsi @@ -44,3 +44,20 @@ &mmc2_iodelay_hs200_rev20_conf { u-boot,dm-spl; }; + +&omap_dwc3_1 { + u-boot,dm-spl; +}; + +&usb1 { + u-boot,dm-spl; + dr_mode = "peripheral"; +}; + +&usb2_phy1 { + u-boot,dm-spl; +}; + +&usb3_phy1 { + u-boot,dm-spl; +}; diff --git a/arch/arm/dts/dra72-evm-revc-u-boot.dtsi b/arch/arm/dts/dra72-evm-revc-u-boot.dtsi index f9da15f1c7..b56d4fc9d8 100644 --- a/arch/arm/dts/dra72-evm-revc-u-boot.dtsi +++ b/arch/arm/dts/dra72-evm-revc-u-boot.dtsi @@ -44,3 +44,20 @@ &mmc2_iodelay_hs200_rev20_conf { u-boot,dm-spl; }; + +&omap_dwc3_1 { + u-boot,dm-spl; +}; + +&usb1 { + u-boot,dm-spl; + dr_mode = "peripheral"; +}; + +&usb2_phy1 { + u-boot,dm-spl; +}; + +&usb3_phy1 { + u-boot,dm-spl; +}; diff --git a/arch/arm/dts/dra72-evm-u-boot.dtsi b/arch/arm/dts/dra72-evm-u-boot.dtsi new file mode 100644 index 0000000000..6c868f75d1 --- /dev/null +++ b/arch/arm/dts/dra72-evm-u-boot.dtsi @@ -0,0 +1,23 @@ +// SPDX-License-Identifier: GPL-2.0+ +/* + * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ + */ + +#include "omap5-u-boot.dtsi" + +&omap_dwc3_1 { + u-boot,dm-spl; +}; + +&usb1 { + u-boot,dm-spl; + dr_mode = "peripheral"; +}; + +&usb2_phy1 { + u-boot,dm-spl; +}; + +&usb3_phy1 { + u-boot,dm-spl; +}; diff --git a/arch/arm/dts/dra76-evm-u-boot.dtsi b/arch/arm/dts/dra76-evm-u-boot.dtsi index f651f404e0..a4dfbe7e60 100644 --- a/arch/arm/dts/dra76-evm-u-boot.dtsi +++ b/arch/arm/dts/dra76-evm-u-boot.dtsi @@ -24,3 +24,20 @@ &mmc2_iodelay_hs200_conf { u-boot,dm-spl; }; + +&omap_dwc3_1 { + u-boot,dm-spl; +}; + +&usb1 { + u-boot,dm-spl; + dr_mode = "peripheral"; +}; + +&usb2_phy1 { + u-boot,dm-spl; +}; + +&usb3_phy1 { + u-boot,dm-spl; +}; diff --git a/arch/arm/dts/omap5-u-boot.dtsi b/arch/arm/dts/omap5-u-boot.dtsi index 1b1d765fae..39071e223d 100644 --- a/arch/arm/dts/omap5-u-boot.dtsi +++ b/arch/arm/dts/omap5-u-boot.dtsi @@ -22,6 +22,7 @@ ocp2scp@4a080000 { compatible = "ti,omap-ocp2scp", "simple-bus"; + u-boot,dm-spl; }; ocp2scp@4a090000 {