From patchwork Tue Jul 29 23:24:32 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 4643711 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9505EC033A for ; Tue, 29 Jul 2014 23:27:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BEE5C20149 for ; Tue, 29 Jul 2014 23:27:18 +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 08C1C2011B for ; Tue, 29 Jul 2014 23:27:18 +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 1XCGle-0003zo-0y; Tue, 29 Jul 2014 23:25:14 +0000 Received: from mail-qg0-f74.google.com ([209.85.192.74]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XCGlU-0002pZ-ML for linux-arm-kernel@lists.infradead.org; Tue, 29 Jul 2014 23:25:06 +0000 Received: by mail-qg0-f74.google.com with SMTP id z60so20194qgd.5 for ; Tue, 29 Jul 2014 16:24:43 -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=19PXzmI20Us3n0654TavtomEGcWxM4at5SMsuIktaUA=; b=CdK/cFdURr/7vFCGjlcT52eIhIZCdq4dC97S8EGH7+cO9bUnYuTMPnZ5L/RsCfxC8C a1NvHxocmPGIuCA/3CrLdZvm4oFzXEI86UWVykeudgNG2cWQ2FR6wCKkVMVPNQPSJf8H 9iSNe+BS8HK9VMLtwJoWD26ff9Ho5cdyBDSKTUId8tlXr23KW9C7/geZOFO/Jx134FUQ NjzCfgyUVC8csXFut6iTaHTfmUzucnNh7d5F/6jxPIF0LAtHunbld69rJd4ohy3CCzoG RTQBmKGdZKMEgObE2grmfCoRcvkEZpwURSrlaL8873d9KqKl4ieW1aVIzhf8HMOr/u4C NUdA== X-Gm-Message-State: ALoCoQkcunXQLFlPGXzYvGtpMQYrwl+ecSja+7vD1vawHAAF3iW/Jjf0q3xb1Ga/pGidnQnHxUSk X-Received: by 10.236.1.198 with SMTP id 46mr172665yhd.16.1406676283124; Tue, 29 Jul 2014 16:24:43 -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 l23si29301yhg.1.2014.07.29.16.24.43 for (version=TLSv1.1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 29 Jul 2014 16:24:43 -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 F1ADE5A4631; Tue, 29 Jul 2014 16:24:42 -0700 (PDT) Received: by tictac.mtv.corp.google.com (Postfix, from userid 121310) id 9A68F80799; Tue, 29 Jul 2014 16:24:42 -0700 (PDT) From: Doug Anderson To: Heiko Stuebner , Kever Yang Subject: [PATCH 2/3] ARM: dts: add rk3288 ehci usb devices Date: Tue, 29 Jul 2014 16:24:32 -0700 Message-Id: <1406676273-20701-3-git-send-email-dianders@chromium.org> X-Mailer: git-send-email 2.0.0.526.g5318336 In-Reply-To: <1406676273-20701-1-git-send-email-dianders@chromium.org> References: <1406676273-20701-1-git-send-email-dianders@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140729_162504_800777_2DD42EA6 X-CRM114-Status: GOOD ( 11.26 ) X-Spam-Score: -0.3 (/) Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, linux@arm.linux.org.uk, pawel.moll@arm.com, Arnd Bergmann , ijc+devicetree@hellion.org.uk, linux-usb@vger.kernel.org, Doug Anderson , linux-kernel@vger.kernel.org, robh+dt@kernel.org, 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=-0.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY,URIBL_BLACK autolearn=no 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 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 --- 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..0bb4480 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -251,6 +251,26 @@ status = "disabled"; }; + usb_host0_ehci: ehci@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: ehci@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;