From patchwork Sat Aug 7 11:17:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Matwey V. Kornilov" X-Patchwork-Id: 1514649 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=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=NZGFNF8p; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GhfwG36hXz9sSs for ; Sat, 7 Aug 2021 21:18:04 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B0D8582BD6; Sat, 7 Aug 2021 13:17:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.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=gmail.com header.i=@gmail.com header.b="NZGFNF8p"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0E08582BB2; Sat, 7 Aug 2021 13:17:53 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) (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 752E682BB2 for ; Sat, 7 Aug 2021 13:17:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=matwey.kornilov@gmail.com Received: by mail-lf1-x135.google.com with SMTP id x27so805054lfu.5 for ; Sat, 07 Aug 2021 04:17:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=S/zZpBeYpTBEgr4fmPm8uS7fIQxUhkShaxlPux2SfRw=; b=NZGFNF8pcrScr5hORUwuA+eCB15rI+4L8QQ4pDpfPCftGLSLMDEj3OdpLcEi8G6MYb /H1R46R6oBN1AKuyUSugdIjB/5YANsBEo/yzASr67n3MS2sUgd99Ve3naZXY2f2/kHn7 MtxrJRth3d85rqMbtVYTUFTXw+yOE45bmEB0CgmSZfq43m6q+TR9JHa2l3ejptSNG9yP L6d0R6yHzKn+4gzhon9gMDOX0XZ+6NNja4QYAFzp3q2JyTvWoeGvIO9Haf0L+lsLF16l DDghojaqmTa9O1mv7Ad1eu3ihNrg0GIxc7YUIJvk7UZrJWaODMPsNLGIlZkPD7CPJXsl 2e2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=S/zZpBeYpTBEgr4fmPm8uS7fIQxUhkShaxlPux2SfRw=; b=fGtqTtgCQrEGqC5p6FL3diu2sTjhSkz6No0TxSOb74S8F84+ShrMm7TW+Vfqg5p7PY SsgBvwEAmHwLj6ccU5PEcE0cs4ERfwzCD5rbGfT3q4RYKuh7PytVWXIA9Zmh6fYaf6ky mLgvyZu/xUvEBzGQ7gkP1pqvminz4NIOsd5Xa9Jkn/2s1qSusJ85579oYS7n6awis1Dv xmUKU30/Qfdg2reHHT4PgxWyRIaaVa9OCkwug26Gu3OoEQlpK/BJMxscabdlOBZeHLZT gEgdhgG4MYMF7Rg7A6cs2hEGaCdbdlUntUTtlOVBvleVlRUCR7AqoHU+JyMvPrcOX9qe jG4Q== X-Gm-Message-State: AOAM533dIJ4KNz6OippRlSH8Jc3AFxowQLWA6DNMoBPJkn9vYTWDE8l7 oUrzIi3lH0c+OuJjg+rJ+Mc= X-Google-Smtp-Source: ABdhPJzBodZYIS8RK/9qHZFjsg5mJXfrXRxRTciCUqlMB9714BBua5ZiG+J4hiXv/xVMDkF+MrBCZw== X-Received: by 2002:ac2:429a:: with SMTP id m26mr10999078lfh.80.1628335068707; Sat, 07 Aug 2021 04:17:48 -0700 (PDT) Received: from oak.local ([2001:470:28:561:645e:ed75:98bd:879]) by smtp.gmail.com with ESMTPSA id s2sm1112183lfs.263.2021.08.07.04.17.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Aug 2021 04:17:47 -0700 (PDT) From: "Matwey V. Kornilov" To: paul.barker@sancloud.com, dariobin@libero.it, hws@denx.de, pbrobinson@gmail.com, trini@konsulko.com Cc: u-boot@lists.denx.de, "Matwey V. Kornilov" Subject: [PATCH] am33xx: Fix USB for am335x boards Date: Sat, 7 Aug 2021 14:17:38 +0300 Message-Id: <20210807111738.8391-1-matwey.kornilov@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 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.103.2 at phobos.denx.de X-Virus-Status: Clean USB nodes were mistakenly disabled in commit 942853dd96df ("arm: dts: Resync BeagleBone device trees") This commit is to fix the following issue: starting USB... No working controllers found USB is stopped. Please issue 'usb start' first. starting USB... No working controllers found Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0782e8572ce43f521ed6ff15e4a7ab9aa5acdc85 Fixes: 942853dd96df ("arm: dts: Resync BeagleBone device trees") Signed-off-by: Matwey V. Kornilov Reviewed-by: Paul Barker --- arch/arm/dts/am33xx.dtsi | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/arm/dts/am33xx.dtsi b/arch/arm/dts/am33xx.dtsi index ce07cec846..b5093020ee 100644 --- a/arch/arm/dts/am33xx.dtsi +++ b/arch/arm/dts/am33xx.dtsi @@ -380,28 +380,24 @@ #address-cells = <1>; #size-cells = <1>; ti,hwmods = "usb_otg_hs"; - status = "disabled"; usb_ctrl_mod: control@44e10620 { compatible = "ti,am335x-usb-ctrl-module"; reg = <0x44e10620 0x10 0x44e10648 0x4>; reg-names = "phy_ctrl", "wakeup"; - status = "disabled"; }; usb0_phy: usb-phy@47401300 { compatible = "ti,am335x-usb-phy"; reg = <0x47401300 0x100>; reg-names = "phy"; - status = "disabled"; ti,ctrl_mod = <&usb_ctrl_mod>; #phy-cells = <0>; }; usb0: usb@47401000 { compatible = "ti,musb-am33xx"; - status = "disabled"; reg = <0x47401400 0x400 0x47401000 0x200>; reg-names = "mc", "control"; @@ -443,14 +439,12 @@ compatible = "ti,am335x-usb-phy"; reg = <0x47401b00 0x100>; reg-names = "phy"; - status = "disabled"; ti,ctrl_mod = <&usb_ctrl_mod>; #phy-cells = <0>; }; usb1: usb@47401800 { compatible = "ti,musb-am33xx"; - status = "disabled"; reg = <0x47401c00 0x400 0x47401800 0x200>; reg-names = "mc", "control";