From patchwork Wed Jul 30 20:00:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 4651261 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0F6289F2B8 for ; Wed, 30 Jul 2014 20:02:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2E2BD201BC for ; Wed, 30 Jul 2014 20:02:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 436E820114 for ; Wed, 30 Jul 2014 20:02:47 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XCa3V-0006DQ-Ob; Wed, 30 Jul 2014 20:00:57 +0000 Received: from mail-oa0-f73.google.com ([209.85.219.73]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XCa3D-0005zP-0K for linux-arm-kernel@lists.infradead.org; Wed, 30 Jul 2014 20:00:39 +0000 Received: by mail-oa0-f73.google.com with SMTP id g18so516767oah.0 for ; Wed, 30 Jul 2014 13:00:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Bg3ItnFo7CK2Sk4do2WtFlw5dc+Ru0x0wpg7PBLTW3k=; b=H7w5cnWoU0eTjNJY3y97oCsQIEg6b4C42jqkoG8sva9FRBfLq/5WmMKkD3b+zQOuZO pXAqS63a9hxEpMZMgWI1UbQFzXWpD3pSI/pHs43DibB0XilPTIvzUlrTKZSsCHe+QEdR WbCgjpnznqXWWUVhz8CixbGJx2v+NiGoIcSiJ3FRNlXN4mwgJeTPxRuWRxEV5z7oz2Dg IoU2rcLUNclA0IZPVfthp2CxYxZHUrEphneIf8Xn/virTTR4UgVlUvSLDpUC/wt2Nl9d fe5zz6Cf8AqwWneG4Yl3GFakgcJhREYxrRaaW9N4E8A3ULJNOkqohRlzwxW7U1MU6n31 nDzg== X-Gm-Message-State: ALoCoQn1sUuKWQUfZFjpd7KFcwKtPIJ9m0AP/4AEsHj3CEmvLC+FEYfWHf8gV8In1zjAOHlkHCgC X-Received: by 10.182.29.10 with SMTP id f10mr2571837obh.23.1406750416453; Wed, 30 Jul 2014 13:00:16 -0700 (PDT) Received: from corp2gmr1-2.hot.corp.google.com (corp2gmr1-2.hot.corp.google.com [172.24.189.93]) by gmr-mx.google.com with ESMTPS id l23si209669yhg.1.2014.07.30.13.00.16 for (version=TLSv1.1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 30 Jul 2014 13:00:16 -0700 (PDT) Received: from tictac.mtv.corp.google.com (tictac.mtv.corp.google.com [172.22.162.15]) by corp2gmr1-2.hot.corp.google.com (Postfix) with ESMTP id 4B5795A4634; Wed, 30 Jul 2014 13:00:16 -0700 (PDT) Received: by tictac.mtv.corp.google.com (Postfix, from userid 121310) id DE48680BE0; Wed, 30 Jul 2014 13:00:15 -0700 (PDT) From: Doug Anderson To: Heiko Stuebner , Kever Yang Subject: [PATCH v2 2/3] ARM: dts: add rk3288 ehci usb devices Date: Wed, 30 Jul 2014 13:00:11 -0700 Message-Id: <1406750412-15592-3-git-send-email-dianders@chromium.org> X-Mailer: git-send-email 2.0.0.526.g5318336 In-Reply-To: <1406750412-15592-1-git-send-email-dianders@chromium.org> References: <1406750412-15592-1-git-send-email-dianders@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140730_130039_140146_40D7F128 X-CRM114-Status: GOOD ( 12.02 ) X-Spam-Score: -2.0 (--) Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, linux@arm.linux.org.uk, sergei.shtylyov@cogentembedded.com, Arnd Bergmann , ijc+devicetree@hellion.org.uk, linux-usb@vger.kernel.org, Doug Anderson , linux-kernel@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, galak@codeaurora.org, Sonny Rao , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kever Yang rk3288 has two kind of usb controller; this adds the ehci variant for host0 and hsic. At the moment we don't add any phys for these controllers, but the default settings seem to work OK. There is a hardware problem in ohci controller which make it unavailable and host0 controller can only support high-speed devices. Signed-off-by: Kever Yang Signed-off-by: Doug Anderson --- Changes in v2: - Kever is now the author - Node is now named usb arch/arm/boot/dts/rk3288.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 3ef8951..e7cb008 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -251,6 +251,26 @@ status = "disabled"; }; + usb_host0_ehci: usb@ff500000 { + compatible = "generic-ehci"; + reg = <0xff500000 0x100>; + interrupts = ; + clocks = <&cru HCLK_USBHOST0>; + clock-names = "usbhost"; + status = "disabled"; + }; + + /* NOTE: ohci@ff520000 doesn't actually work on hardware */ + + usb_hsic: usb@ff5c0000 { + compatible = "generic-ehci"; + reg = <0xff5c0000 0x100>; + interrupts = ; + clocks = <&cru HCLK_HSIC>; + clock-names = "usbhost"; + status = "disabled"; + }; + gic: interrupt-controller@ffc01000 { compatible = "arm,gic-400"; interrupt-controller;