Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 85EFDC7618D for ; Thu, 6 Apr 2023 18:57:14 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 52BD586116; Thu, 6 Apr 2023 20:56:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=collabora.com header.i=@collabora.com header.b="hf6Vl+AY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 98A8D860CF; Thu, 6 Apr 2023 20:56:03 +0200 (CEST) Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id DB678860EF for ; Thu, 6 Apr 2023 20:55:48 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjoerd@collabora.com Received: from beast.luon.net (unknown [IPv6:2a10:3781:2531:1:a28c:fdff:fed8:b41f]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: sjoerd) by madras.collabora.co.uk (Postfix) with ESMTPSA id 66B9066031CB; Thu, 6 Apr 2023 19:55:48 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680807348; bh=jQlWdZfdG+78d25SNZAHqb9bYti4/MoKfgBfdtlsKnk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hf6Vl+AYafNPEO16vzDcIH/z94kNFNhbd+Rs+xkP0pv275/VQk8xbd1PeYxYJkwJP UVPrX1bgRwkyT4K9285D067LHLZ4Hv0wMDkRe4p5YWeEMiuBWcV7mo3DBKXp7OqerW mfSXE0jaIyUxTzxOEx6dtQI7uyrRUEHNhFg/ZgfXlx3n+7JS1AGQWUZoIe+2RukBdL fgu8Fa2GZo8tgXtkp74VDc0ZiWP8JhkfRir9bCU0fW4jVrdLlU9oIWWnA2OhPFpvxy KSOIOSoUz54NDjvJl1skGeVWjcHpKsjgGvSiR0weZ40DB2DxGUxX+pYKMpZvB5Txws 7nmTqiD6QxtTA== Received: by beast.luon.net (Postfix, from userid 1000) id 66BC47DBB60A; Thu, 6 Apr 2023 20:55:45 +0200 (CEST) From: Sjoerd Simons To: u-boot@lists.denx.de Cc: Aswath Govindraju , Dhruva Gole , Georgi Vlaev , Nishanth Menon , Simon Glass , Tom Rini Subject: [PATCH v2 7/8] arm: dts: k3-am625-sk: Enable usb ports in u-boot Date: Thu, 6 Apr 2023 20:55:41 +0200 Message-Id: <20230406185542.1179073-8-sjoerd@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230406185542.1179073-1-sjoerd@collabora.com> References: <20230406185542.1179073-1-sjoerd@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.8 at phobos.denx.de X-Virus-Status: Clean Enable both usb0 as a peripheral for use with DFU and Signed-off-by: Sjoerd Simons --- Changes in v2: - Only enable usb port 0 DFU in SPL arch/arm/dts/k3-am625-sk-u-boot.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/dts/k3-am625-sk-u-boot.dtsi b/arch/arm/dts/k3-am625-sk-u-boot.dtsi index 5f90a4b56f1..2746451572d 100644 --- a/arch/arm/dts/k3-am625-sk-u-boot.dtsi +++ b/arch/arm/dts/k3-am625-sk-u-boot.dtsi @@ -154,3 +154,14 @@ &cpsw_port2 { status = "disabled"; }; + +&usbss0 { + bootph-pre-ram; +}; + +&usb0 { + dr_mode = "peripheral"; + /* Since role switching is not supported in U-Boot */ + /delete-property/ extcon; + bootph-pre-ram; +}; -- 2.40.0