From patchwork Thu Aug 7 09:34:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kever Yang X-Patchwork-Id: 4690521 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 41AA29F37E for ; Thu, 7 Aug 2014 09:37:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 66B57201DD for ; Thu, 7 Aug 2014 09:37:43 +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 939802018E for ; Thu, 7 Aug 2014 09:37:42 +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 1XFK76-0006Ki-Tp; Thu, 07 Aug 2014 09:36:00 +0000 Received: from mail-ig0-x22c.google.com ([2607:f8b0:4001:c05::22c]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XFK74-0006CG-4X for linux-arm-kernel@lists.infradead.org; Thu, 07 Aug 2014 09:35:58 +0000 Received: by mail-ig0-f172.google.com with SMTP id h15so10066497igd.17 for ; Thu, 07 Aug 2014 02:35:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=6q8WaiW5zNdXKHWI0ylo+0Vuvf2MNDQlxs7iNGVK7NE=; b=FUdgQ3SMGrxGD2CNK/ADaIEyoyUS6UnOo0Cq8YXaJqG+B+FMZT1frjOsRJHto0NYc/ VqDBdWQwPLlQWyhWdthx2UwIHPoh43MsIfvTOJTjQJbqH5vXHnVWd1HYJkL3w1CLc3ld SUCbE+6lnmRTLQgg2UZv3w08pJDYe3b109ppPhnCLwQFeVTWyeg5B3FwF2Sj4su7nmDM S2C9ZOu8Kjr5uQHsMTJg+eUsrZi3kq4ofgvEe5ZvNoeZ6j1FYONUFkYhKLycIoOEQHQs mSDHZlisNisn1Hwwy944QTRYqA1I4V+QmzHVKqdcTLka3gennl9p5NXnqDcHS9NjLtBZ LIpQ== X-Received: by 10.50.142.97 with SMTP id rv1mr68157225igb.13.1407404137058; Thu, 07 Aug 2014 02:35:37 -0700 (PDT) Received: from localhost.localdomain ([184.154.200.150]) by mx.google.com with ESMTPSA id ka6sm33301464igb.8.2014.08.07.02.35.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Aug 2014 02:35:36 -0700 (PDT) From: Kever Yang To: Paul Zimmerman , heiko@sntech.de Subject: [PATCH v4 3/4] ARM: dts: add rk3288 dwc2 controller support Date: Thu, 7 Aug 2014 17:34:54 +0800 Message-Id: <1407404095-3265-4-git-send-email-kever.yang@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1407404095-3265-1-git-send-email-kever.yang@rock-chips.com> References: <1407404095-3265-1-git-send-email-kever.yang@rock-chips.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140807_023558_218816_B8477993 X-CRM114-Status: UNSURE ( 9.33 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) Cc: huangtao@rock-chips.com, Mark Rutland , addy.ke@rock-chips.com, Russell King , Pawel Moll , Ian Campbell , linux-kernel@vger.kernel.org, dianders@chromium.org, Rob Herring , Kever Yang , cf@rock-chips.com, devicetree@vger.kernel.org, xjq@rock-chips.com, lyz@rock-chips.com, Kumar Gala , olof@lixom.net, wulf@rock-chips.com, hj@rock-chips.com, sonnyrao@chromium.org, 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.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham 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 add the dwc2 controller for otg and host1. Controller can works with usb PHY default setting and Vbus on. Signed-off-by: Kever Yang Tested-by: Doug Anderson Reviewed-by: Doug Anderson --- Changes in v4: None Changes in v3: - EHCI and HSIC move new for version 3. Changes in v2: None 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 e7cb008..9713054 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -156,6 +156,26 @@ status = "disabled"; }; + usb_host1: usb@ff540000 { + compatible = "rockchip,rk3288-usb", "rockchip,rk3066-usb", + "snps,dwc2"; + reg = <0xff540000 0x40000>; + interrupts = ; + clocks = <&cru HCLK_USBHOST1>; + clock-names = "otg"; + status = "disabled"; + }; + + usb_otg: usb@ff580000 { + compatible = "rockchip,rk3288-usb", "rockchip,rk3066-usb", + "snps,dwc2"; + reg = <0xff580000 0x40000>; + interrupts = ; + clocks = <&cru HCLK_OTG0>; + clock-names = "otg"; + status = "disabled"; + }; + uart2: serial@ff690000 { compatible = "rockchip,rk3288-uart", "snps,dw-apb-uart"; reg = <0xff690000 0x100>;