Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A5156C47082 for ; Mon, 7 Jun 2021 03:45:32 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 059F960C3E for ; Mon, 7 Jun 2021 03:45:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 059F960C3E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 97D76826AA; Mon, 7 Jun 2021 05:45:22 +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="n4eRZ597"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 51E5982D40; Mon, 7 Jun 2021 05:45:21 +0200 (CEST) Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) (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 E9710826AA for ; Mon, 7 Jun 2021 05:45:16 +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=email2tema@gmail.com Received: by mail-pj1-x1035.google.com with SMTP id pi6-20020a17090b1e46b029015cec51d7cdso9498674pjb.5 for ; Sun, 06 Jun 2021 20:45:16 -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=D7GBSXou6m3GCAP/NFwYFzE6EA75/oTLvMY6Bga1QlQ=; b=n4eRZ5974AclRkg3WbXTW1Q8KUckFrrTem+Q18sZ60UiFIMfGXkM+lEk++yFgVzc3T TYsE4ubpS8GOJx/5J2oo1W0ZdikZ/g29TpbwtZ3i9Y1tXj4eK5SPLfXNzG7SXWNS6nTM ohk/A3BdDPJjE3OhuK3acuzAI4ld9Ja5r5YzI9lPBptYod9u3S+MGnm0Gq8/jagnynT4 Mfq9JIpQ0+G+pJegxACTb1vzZA+zNT4c4QgPssUnzOnmHfQGUlc0LlIISsrdYek0380I mqSkHXPh4QS1pTsCIuJs92DGxfBiDHjPK/WDpwfUrZQtr4kLoLcH6XckgariRE+sEmsi 7gpg== 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=D7GBSXou6m3GCAP/NFwYFzE6EA75/oTLvMY6Bga1QlQ=; b=tNvurS08bHt5KHropZPu7H0tsE08O+Dsj4DcQMqzvui3wXdH1HxM5Xc4+UIjm9MW8c 6SKnr2UBaAXM2xlZz3aEvyelwOizkgASC+ziI9Nr+5B2GuDugglgWjMl8AFNcAZWlTlg oSOlTMBZmTFF8gk6pPQmxAEPxBdgYVk9daPZFJWtvZIP9CmjL4KfJGLcEU8Ypr7Ak+gT Xis6ph4TtVNp5h+wU+C02lJ+kwqM8+Jm1FChGzzbN+E8gPcfcd3ydC+Bjuvk9CPaZjWa uK7adGiozF1C6TlUy8Rut58bd1I8HmPBzkUEHGdFs2mK9AsQLPh7nKEgzEqktotRr80L X0Ew== X-Gm-Message-State: AOAM530vRvyDnFmvW8UGzAR9IDNrGxqIhpC0PeAuPJ5xZ353QVfNz7Dt AvbjQLEuYEzU2+Fwe/3gCqw= X-Google-Smtp-Source: ABdhPJzT5TYeH+nD05XHvueaa1kcCmZOgcnt+utHnUFY7iaoJobmUJ9ZnxjkWCeqkpSWJRseNdhMwA== X-Received: by 2002:a17:903:22c6:b029:10e:b813:eb37 with SMTP id y6-20020a17090322c6b029010eb813eb37mr16103732plg.47.1623037515461; Sun, 06 Jun 2021 20:45:15 -0700 (PDT) Received: from localhost.localdomain (199.19.111.227.16clouds.com. [199.19.111.227]) by smtp.gmail.com with ESMTPSA id ev11sm10728476pjb.36.2021.06.06.20.45.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 06 Jun 2021 20:45:15 -0700 (PDT) From: Artem Lapkin X-Google-Original-From: Artem Lapkin To: kever.yang@rock-chips.com Cc: sjg@chromium.org, philipp.tomsich@theobroma-systems.com, jagan@amarulasolutions.com, sunil@amarulasolutions.com, u-boot@lists.denx.de, art@khadas.com, nick@khadas.com, gouwa@khadas.com Subject: [PATCH 1/2] ARM64: rockchip: evb_rk3399: add usb ohci definations Date: Mon, 7 Jun 2021 11:45:04 +0800 Message-Id: <20210607034505.3020821-2-art@khadas.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210607034505.3020821-1-art@khadas.com> References: <20210607034505.3020821-1-art@khadas.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Problem: USB2.0 port can recognize any USB1.1 devices (like usb keyboard) Add missed USB OHCI configuration USB device tree: 1 Hub (480 Mb/s, 0mA) u-boot EHCI Host Controller 1 Hub (12 Mb/s, 0mA) | U-Boot Root Hub | +-2 Human Interface (1.5 Mb/s, 100mA) Dell KB216 Wired Keyboard Signed-off-by: Artem Lapkin --- include/configs/evb_rk3399.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/evb_rk3399.h b/include/configs/evb_rk3399.h index b7e850370b..492b7b4df1 100644 --- a/include/configs/evb_rk3399.h +++ b/include/configs/evb_rk3399.h @@ -15,4 +15,7 @@ #define SDRAM_BANK_SIZE (2UL << 30) +#define CONFIG_USB_OHCI_NEW +#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2 + #endif -- 2.25.1