From patchwork Thu Apr 30 13:30:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 47847 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 98FAE2121F for ; Thu, 30 Apr 2015 13:31:16 +0000 (UTC) Received: by wiun10 with SMTP id n10sf4687228wiu.1 for ; Thu, 30 Apr 2015 06:31:15 -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=MrTlBI3Mh9mlJpr2RqkORkg+Xc+13pRLu8F4hVK/vrk=; b=fdod5KURzqxD8j2YyUWYXnYRCe3ufMeusK0nGMA56c0G6bmC2twoUo6fqyTurPEAES B+quQCVr2wvr+URaT510KTZ6hzVMRXrPDqkJGc296BYXAW2EiWcMgcE1Z7qYc2rb58FV wiYuLelivZiYgjKpBZNCjBdm+pjDGdEPqHcnOVyPmzu0R2ONjenSiO6S8I5PLQiaF5Vd cp/LD1N1UxXQOHmUQ0M4baY9dNShUwUpfSIG+IaKivW9oYfXIPpQ+ugOCuntlWZ6EUq4 xfGaTJ64t4sgNPZQ0tG3h25d2hj/wDcue9E7ZY7+w+vYhuNGfCNIaver6BWGg8jxpUQH 0kaw== X-Gm-Message-State: ALoCoQlbzsQpuc6MK5ZlPSjVAL8+ldBm3H2udAOZuCSwbv/1JbUrKdR1e/JCIDNJSGV00QqzCVWA X-Received: by 10.180.106.10 with SMTP id gq10mr1768515wib.0.1430400675959; Thu, 30 Apr 2015 06:31:15 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.184.8 with SMTP id eq8ls413086lac.91.gmail; Thu, 30 Apr 2015 06:31:15 -0700 (PDT) X-Received: by 10.152.43.110 with SMTP id v14mr3873087lal.4.1430400675764; Thu, 30 Apr 2015 06:31:15 -0700 (PDT) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com. [209.85.217.182]) by mx.google.com with ESMTPS id dy9si1774727lac.58.2015.04.30.06.31.15 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Apr 2015 06:31:15 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.182 as permitted sender) client-ip=209.85.217.182; Received: by lbcga7 with SMTP id ga7so44600863lbc.1 for ; Thu, 30 Apr 2015 06:31:15 -0700 (PDT) X-Received: by 10.112.16.196 with SMTP id i4mr3822352lbd.72.1430400675659; Thu, 30 Apr 2015 06:31:15 -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.67.65 with SMTP id l1csp3117437lbt; Thu, 30 Apr 2015 06:31:14 -0700 (PDT) X-Received: by 10.68.219.201 with SMTP id pq9mr2815577pbc.97.1430400673885; Thu, 30 Apr 2015 06:31:13 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rk12si3569788pab.5.2015.04.30.06.31.12; Thu, 30 Apr 2015 06:31:13 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-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 S1751543AbbD3NbJ (ORCPT + 28 others); Thu, 30 Apr 2015 09:31:09 -0400 Received: from mail-wg0-f54.google.com ([74.125.82.54]:35022 "EHLO mail-wg0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751455AbbD3NbF (ORCPT ); Thu, 30 Apr 2015 09:31:05 -0400 Received: by wgyo15 with SMTP id o15so62471934wgy.2 for ; Thu, 30 Apr 2015 06:31:04 -0700 (PDT) X-Received: by 10.180.84.97 with SMTP id x1mr5561442wiy.1.1430400664127; Thu, 30 Apr 2015 06:31:04 -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 ei4sm2480353wib.22.2015.04.30.06.31.02 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 30 Apr 2015 06:31:03 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, maxime.coquelin@st.com, patrice.chotard@st.com, balbi@ti.com, srinivas.kandagatla@gmail.com Cc: peter.griffin@linaro.org, lee.jones@linaro.org, devicetree@vger.kernel.org Subject: [PATCH v3 2/6] ARM: DT: STi: STiH407: Add dwc3 usb3 DT node. Date: Thu, 30 Apr 2015 14:30:48 +0100 Message-Id: <1430400652-3366-3-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1430400652-3366-1-git-send-email-peter.griffin@linaro.org> References: <1430400652-3366-1-git-send-email-peter.griffin@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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.217.182 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 Acked-by: Maxime Coquelin --- arch/arm/boot/dts/stih407-family.dtsi | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arch/arm/boot/dts/stih407-family.dtsi index 186412d..821598e 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,32 @@ 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; + + status = "disabled"; + + 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>; + }; + }; }; };