From patchwork Mon Mar 30 15:17:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 46523 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 031AF2159A for ; Mon, 30 Mar 2015 15:17:40 +0000 (UTC) Received: by wgtj4 with SMTP id j4sf12540275wgt.0 for ; Mon, 30 Mar 2015 08:17:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=xXcGh8kyWNUCN7egTyWAQUeJIqNNFZm6T4Pk6p637/I=; b=jBbpT4g1H7PRkhlGbJAs2WEJhsVtztIf/xlF0069aXGVheEdBNe0lXA+NjFIOMhYLj OfZUcoNvg7XICsbl0flg5FB+ubTxSeL9JkKnSc2FCQyGXttxLL4GxWxGHMvT7jKIRUv4 TQBtvvKqm8OkyWRr/HMcPLsk5mRUqOtgHjl0o5h4lqKqko95eoGeX8NMVdTLlnJxuAYg 5m88DMzn/MdKuRZ+y4fzHz2hurSLLIxtTD7usKF2wthn9wjGWl6rNJQMlSfO4kB21cT7 YR8lSkYJ0GZJNbUTMDXVFF2WccUBH4i8sHW4bL2ifZhELljCCeelcBKS+JhzXuf7g3c7 SclA== X-Gm-Message-State: ALoCoQk2KaqhFmKKRUQrKsU6B9UMXeTqSYr8gvb/sGSz0Ddnq4DzGO+AxrH070oMcGQDNnGXqUGC X-Received: by 10.180.88.196 with SMTP id bi4mr1247095wib.5.1427728659233; Mon, 30 Mar 2015 08:17:39 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.200 with SMTP id d8ls529124laa.34.gmail; Mon, 30 Mar 2015 08:17:38 -0700 (PDT) X-Received: by 10.112.8.76 with SMTP id p12mr23552812lba.29.1427728658856; Mon, 30 Mar 2015 08:17:38 -0700 (PDT) Received: from mail-la0-f42.google.com (mail-la0-f42.google.com. [209.85.215.42]) by mx.google.com with ESMTPS id sz5si7233610lbb.66.2015.03.30.08.17.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Mar 2015 08:17:38 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) client-ip=209.85.215.42; Received: by lahp7 with SMTP id p7so88060969lah.2 for ; Mon, 30 Mar 2015 08:17:38 -0700 (PDT) X-Received: by 10.112.218.5 with SMTP id pc5mr27873516lbc.32.1427728658695; Mon, 30 Mar 2015 08:17:38 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.57.201 with SMTP id k9csp1217547lbq; Mon, 30 Mar 2015 08:17:37 -0700 (PDT) X-Received: by 10.70.54.103 with SMTP id i7mr59805735pdp.114.1427728656274; Mon, 30 Mar 2015 08:17:36 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id fb3si15143952pbc.222.2015.03.30.08.17.35; Mon, 30 Mar 2015 08:17:36 -0700 (PDT) Received-SPF: none (google.com: devicetree-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753114AbbC3PR2 (ORCPT + 5 others); Mon, 30 Mar 2015 11:17:28 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:32880 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753089AbbC3PR0 (ORCPT ); Mon, 30 Mar 2015 11:17:26 -0400 Received: by wixm2 with SMTP id m2so89605401wix.0 for ; Mon, 30 Mar 2015 08:17:25 -0700 (PDT) X-Received: by 10.194.87.100 with SMTP id w4mr62653525wjz.65.1427728644958; Mon, 30 Mar 2015 08:17:24 -0700 (PDT) Received: from localhost.localdomain (cpc14-aztw22-2-0-cust189.18-1.cable.virginm.net. [82.45.1.190]) by mx.google.com with ESMTPSA id gt4sm16121494wib.21.2015.03.30.08.17.23 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 30 Mar 2015 08:17:24 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, srinivas.kandagatla@gmail.com, maxime.coquelin@st.com, patrice.chotard@st.com, kishon@ti.com, balbi@ti.com Cc: peter.griffin@linaro.org, lee.jones@linaro.org, devicetree@vger.kernel.org, robherring2@gmail.com Subject: [PATCH v2 4/6] ARM: DT: STi: STiH407: Add dwc3 usb3 DT node. Date: Mon, 30 Mar 2015 16:17:10 +0100 Message-Id: <1427728632-10846-5-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1427728632-10846-1-git-send-email-peter.griffin@linaro.org> References: <1427728632-10846-1-git-send-email-peter.griffin@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.griffin@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Now that both usb2 and usb3 phy drivers, and also the ST dwc3 glue code are all present upstream, we can add the dwc3 DT node and have a working usb3 controller on stih407-b2120 and stih410-b2020. Signed-off-by: Peter Griffin Acked-by: Lee Jones --- arch/arm/boot/dts/stih407-family.dtsi | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 186412d..a57c06e 100644 --- a/arch/arm/boot/dts/stih407-family.dtsi +++ b/arch/arm/boot/dts/stih407-family.dtsi @@ -7,6 +7,7 @@ * publishhed by the Free Software Foundation. */ #include "stih407-pinctrl.dtsi" +#include #include / { #address-cells = <1>; @@ -336,5 +337,29 @@ resets = <&softreset STIH407_MIPHY2_SOFTRESET>; }; }; + + st_dwc3: dwc3@8f94000 { + compatible = "st,stih407-dwc3"; + reg = <0x08f94000 0x1000>, <0x110 0x4>; + reg-names = "reg-glue", "syscfg-reg"; + st,syscfg = <&syscfg_core>; + resets = <&powerdown STIH407_USB3_POWERDOWN>, + <&softreset STIH407_MIPHY2_SOFTRESET>; + reset-names = "powerdown", "softreset"; + #address-cells = <1>; + #size-cells = <1>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb3>; + ranges; + + dwc3: dwc3@9900000 { + compatible = "snps,dwc3"; + reg = <0x09900000 0x100000>; + interrupts = ; + dr_mode = "host"; + phy-names = "usb2-phy", "usb3-phy"; + phys = <&usb2_picophy0>, <&phy_port2 PHY_TYPE_USB3>; + }; + }; }; };