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 91ED1EB64D8 for ; Thu, 22 Jun 2023 14:38:02 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 86A778628F; Thu, 22 Jun 2023 16:37:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.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=baylibre-com.20221208.gappssmtp.com header.i=@baylibre-com.20221208.gappssmtp.com header.b="CKCeHeoE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8FAE78626D; Thu, 22 Jun 2023 16:34:45 +0200 (CEST) Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 31339862B9 for ; Thu, 22 Jun 2023 16:34:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jpanis@baylibre.com Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-988a2715b8cso130654066b.0 for ; Thu, 22 Jun 2023 07:34:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1687444482; x=1690036482; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=e4CJAd1DBzZJR2VvP5INMImjzwpGwT9LT8mhFG/78LM=; b=CKCeHeoEh98jvCsetypGdJ+EFuarqNvYok1UqFrDC7OViGpKLFIgTra3Hyq0AaJRfa fB4CoeaXCD4uI0FxW0Idn9pJiVkUewhfiUfLU1vR5FDUnWSfLiRv5Xz1bvtwy2KJSzkE Ekz8UARl0fO7AfnKljlptgdPVui0GOYLANYG4ZsCeTLpyk1W4J7xbQwv2FVYqHnySvmA RWDX9l+gdpHPva4qD5yExMjJNWYpqhLsKVVHkpsgBHtWRqejp2OsLO69imDOlZK/FRnc OdTiTGw4WUDIktQfP4X/QQk5bN00WNmoyUmWl650zrwDdpmmKBsopJn4FOgG+CtTQ+xm sXwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687444482; x=1690036482; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=e4CJAd1DBzZJR2VvP5INMImjzwpGwT9LT8mhFG/78LM=; b=ly2xAuwq6MgvQeK47HPUlHW6WKYKUJnka3zvNkOCwe6QTbftFINFFkvKojr9+kK2A5 WJEwVknC+rBEBaaiZ5uwB5fid458XycORT9pHpzXUB9pFllr0pXSQyY6hF8TUnAi66Kj CPEWcIB1Va/voW8jMQC2RSwysjiYH2y4ygFyxDODvF8VUvFT++Z2SAUgkl+LbwsWvP3A A4JgWdoWA0HTStVpr+HNVUwAZnIBnZ+4BAAwt7xz2Il53ErCmeILTXUstbzJQoXn4nCk CxSlh0r2RJTCJtiJwN2g1kVfWO0pn228J8jQY7no0T3kfIyX400lUIpeClyAPp7XcyVZ WO6Q== X-Gm-Message-State: AC+VfDxh48AvhwUPBU6vc1xPsXKEqP+hXBrfpmxP9MmcTErH9aQGWoye 12WyZBzBmag1JlmyxJ8N2rs2cy46vquHPgZDzA8= X-Google-Smtp-Source: ACHHUZ6KyHwI3ogRI5+KioK9z0vq7cpbKH0VOa9/kn8Cu9uYfmu1v9QxwBaj0BEpHjAFBMg9556LIw== X-Received: by 2002:a17:907:6e87:b0:987:86b8:9cdf with SMTP id sh7-20020a1709076e8700b0098786b89cdfmr16804441ejc.8.1687444482258; Thu, 22 Jun 2023 07:34:42 -0700 (PDT) Received: from [127.0.1.1] ([77.205.22.44]) by smtp.gmail.com with ESMTPSA id ju3-20020a17090798a300b0097381fe7aaasm4704912ejc.180.2023.06.22.07.34.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jun 2023 07:34:42 -0700 (PDT) From: Julien Panis Date: Thu, 22 Jun 2023 16:34:35 +0200 Subject: [PATCH v2 1/2] arm: dts: am335x-icev2-u-boot: Configure peripheral mode for usb0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230621-fix_usb_ether_init-v2-1-ff121f0e8d7a@baylibre.com> References: <20230621-fix_usb_ether_init-v2-0-ff121f0e8d7a@baylibre.com> In-Reply-To: <20230621-fix_usb_ether_init-v2-0-ff121f0e8d7a@baylibre.com> To: u-boot@lists.denx.de Cc: trini@konsulko.com, vigneshr@ti.com, Julien Panis X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687444480; l=554; i=jpanis@baylibre.com; s=20230526; h=from:subject:message-id; bh=5g3TsxnxEqcDvXE0XasXskRPSbAPUpomPtZXagtmQM4=; b=voMdsumVLb3gg7gQ4g3LKzN9lsF2X//FxioFLb7dn45UtMGtZ/qM/6fg5gCumaP7/LFowDNp+ eRIlvAm4RlJDAD8KnVKr7Lvh6kHOGmkenbiP6/YhpSmbiEm2dZE8/d2 X-Developer-Key: i=jpanis@baylibre.com; a=ed25519; pk=8eSM4/xkiHWz2M1Cw1U3m2/YfPbsUdEJPCWY3Mh9ekQ= X-Mailman-Approved-At: Thu, 22 Jun 2023 16:37:57 +0200 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 This patch configures usb0 dr_mode as peripheral on am335x-icev2 board. Signed-off-by: Julien Panis --- arch/arm/dts/am335x-icev2-u-boot.dtsi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/am335x-icev2-u-boot.dtsi b/arch/arm/dts/am335x-icev2-u-boot.dtsi index 67bfac916eee..7dcd5ec00605 100644 --- a/arch/arm/dts/am335x-icev2-u-boot.dtsi +++ b/arch/arm/dts/am335x-icev2-u-boot.dtsi @@ -22,3 +22,7 @@ xtal-load-pf = <0>; }; }; + +&usb0 { + dr_mode = "peripheral"; +}; -- 2.37.3