From patchwork Fri Aug 8 03:55:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kever Yang X-Patchwork-Id: 4693371 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 70F39C033A for ; Fri, 8 Aug 2014 04:00:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A5021201B4 for ; Fri, 8 Aug 2014 04:00:52 +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 D606A2018A for ; Fri, 8 Aug 2014 04:00:51 +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 1XFbKb-0001EY-Mm; Fri, 08 Aug 2014 03:59:05 +0000 Received: from mail-pd0-x242.google.com ([2607:f8b0:400e:c02::242]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XFbKZ-00019k-1E for linux-arm-kernel@lists.infradead.org; Fri, 08 Aug 2014 03:59:04 +0000 Received: by mail-pd0-f194.google.com with SMTP id fp1so1894456pdb.1 for ; Thu, 07 Aug 2014 20:58:41 -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=TutWa8VkzNuHLZtlSZ8XVLIehVhYcSvR+cnmVhq15LE=; b=I+yyLG1hns/k/rSqj5B6g6yCwvjYAmQrULvW4i09o+GImn4FQ+x3L73F/cDt3wtoLq iVcguIyz79MrGCu8ptqTBmYjrMlDy1JIq7Gw+IPOEwlZLF2jhrwRlaqRz0S5szLY0abj RCvuzz60tGeb0+7QucEFXBRNKPp1mJNK0xLgK3yX57C72gpHuzBT5oSt1yMuCst1orIB sCRhnQ/kAd36WsuXZnEjfqPrxDS/uSYoeJjzlQgIJzsweqovBgQotyXP8nyqscZO36LR ntKkARUupeczFNhyUG/jNFVBsDFO6A8r0BCYDxLeaQZc2LWiRcGTCXmukMfh3gpBqQS6 cGYg== X-Received: by 10.70.55.228 with SMTP id v4mr9218802pdp.117.1407470321785; Thu, 07 Aug 2014 20:58:41 -0700 (PDT) Received: from localhost.localdomain ([58.22.7.114]) by mx.google.com with ESMTPSA id ui8sm1363223pbc.84.2014.08.07.20.58.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Aug 2014 20:58:41 -0700 (PDT) From: Kever Yang To: Paul Zimmerman , heiko@sntech.de Subject: [PATCH v5 3/4] ARM: dts: add rk3288 dwc2 controller support Date: Fri, 8 Aug 2014 11:55:58 +0800 Message-Id: <1407470159-14722-4-git-send-email-kever.yang@rock-chips.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1407470159-14722-1-git-send-email-kever.yang@rock-chips.com> References: <1407470159-14722-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_205903_106126_5CBBDF07 X-CRM114-Status: GOOD ( 10.32 ) X-Spam-Score: 1.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=-0.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 add the dwc2 controller for otg and host1. Controller can works with usb PHY default setting and Vbus on. Signed-off-by: Kever Yang Reviewed-by: Doug Anderson Tested-by: Doug Anderson --- Changes in v5: - change the sort order of dwc2 in rk3288.dtsi 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 5950b0a..58167f1 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -206,6 +206,26 @@ /* NOTE: ohci@ff520000 doesn't actually work on hardware */ + 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"; + }; + usb_hsic: usb@ff5c0000 { compatible = "generic-ehci"; reg = <0xff5c0000 0x100>;