From patchwork Fri Nov 7 11:57:52 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 40386 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 50D22240F7 for ; Fri, 7 Nov 2014 11:59:04 +0000 (UTC) Received: by mail-wg0-f70.google.com with SMTP id x13sf1773430wgg.9 for ; Fri, 07 Nov 2014 03:59:03 -0800 (PST) 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=ZhDp0Tc2f8UtKL+o4IsPZAEhVpMXMNe9HD8mIpiIsoM=; b=cgFrE9T0EPIrUqMxo1JEOxUFmFiUIiPIfTZUWBmx6DWF/BjgyPse22nPPJM/QQERd5 qjdfjsthW+Ro6SRXNj1cqOOG4BdkxVWlf8CWh6raKq7XXkHQdrCz4mgLz5iIRpwuahst YS6beNNUDSvySD2RTjpidcKZG+AxxgCh4zR99uFXLvLkGOsJx+fAentcpYNDd0Nz8AVM 7et8/V0WWkI2pu+MphG+1vk9sDC0kVi/T41cvucK8ohJ2Cjw+seWpGn9paB0zPS0IJYo LsRP6y8PeNn/To1zwAcQO7CgTkFz9iYs2TlLswEQyDzoL24wOOBmNh4ZO9N14APhyKXp fuMw== X-Gm-Message-State: ALoCoQlZZfbuo4pDNfJT1jKWJzhmyZTy0+4fSxed6lhSBTCw2b5LxKvd4wnpaflYNRNM0zWaaLHf X-Received: by 10.152.7.73 with SMTP id h9mr472931laa.6.1415361543371; Fri, 07 Nov 2014 03:59:03 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.203.167 with SMTP id kr7ls189080lac.94.gmail; Fri, 07 Nov 2014 03:59:02 -0800 (PST) X-Received: by 10.112.170.99 with SMTP id al3mr10927107lbc.17.1415361542742; Fri, 07 Nov 2014 03:59:02 -0800 (PST) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPS id wm6si14896726lbb.49.2014.11.07.03.59.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Nov 2014 03:59:02 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by mail-lb0-f180.google.com with SMTP id u10so2472389lbd.39 for ; Fri, 07 Nov 2014 03:59:02 -0800 (PST) X-Received: by 10.152.42.226 with SMTP id r2mr10812430lal.29.1415361542618; Fri, 07 Nov 2014 03:59:02 -0800 (PST) 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.184.201 with SMTP id ew9csp185370lbc; Fri, 7 Nov 2014 03:59:01 -0800 (PST) X-Received: by 10.68.175.196 with SMTP id cc4mr11456803pbc.147.1415361541034; Fri, 07 Nov 2014 03:59:01 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m16si8775087pby.162.2014.11.07.03.58.59 for ; Fri, 07 Nov 2014 03:59:01 -0800 (PST) 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 S1752303AbaKGL6p (ORCPT + 25 others); Fri, 7 Nov 2014 06:58:45 -0500 Received: from mail-wi0-f179.google.com ([209.85.212.179]:35953 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752234AbaKGL6k (ORCPT ); Fri, 7 Nov 2014 06:58:40 -0500 Received: by mail-wi0-f179.google.com with SMTP id h11so4305120wiw.6 for ; Fri, 07 Nov 2014 03:58:38 -0800 (PST) X-Received: by 10.194.58.8 with SMTP id m8mr15650949wjq.43.1415361518816; Fri, 07 Nov 2014 03:58:38 -0800 (PST) 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 dw9sm1793500wib.0.2014.11.07.03.58.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 07 Nov 2014 03:58:38 -0800 (PST) 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 Cc: peter.griffin@linaro.org, lee.jones@linaro.org, devicetree@vger.kernel.org Subject: [PATCH 10/13] ARM: STi: DT: STih410: Add dt nodes for the ehci / ohci usb controllers. Date: Fri, 7 Nov 2014 11:57:52 +0000 Message-Id: <1415361475-6218-11-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1415361475-6218-1-git-send-email-peter.griffin@linaro.org> References: <1415361475-6218-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.180 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: , The stih410 has some additional usb controllers. This patch adds the dt nodes which will enabled them to function correctly. Signed-off-by: Peter Griffin Acked-by: Lee Jones --- arch/arm/boot/dts/stih407.dtsi | 60 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/arch/arm/boot/dts/stih407.dtsi b/arch/arm/boot/dts/stih407.dtsi index 967ec39..5e01db2 100644 --- a/arch/arm/boot/dts/stih407.dtsi +++ b/arch/arm/boot/dts/stih407.dtsi @@ -321,5 +321,65 @@ reset-names = "global", "port"; }; + + ohci0: usb@9a03c00 { + compatible = "st,st-ohci-300x"; + status = "disabled"; + reg = <0x9a03c00 0x100>; + interrupts = ; + clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>; + resets = <&powerdown STIH407_USB2_PORT0_POWERDOWN>, + <&softreset STIH407_USB2_PORT0_SOFTRESET>; + reset-names = "power", "softreset"; + + phys = <&usb2_picophy0>; + phy-names = "usb"; + }; + + ehci0: usb@9a03e00 { + compatible = "st,st-ehci-300x"; + status = "disabled"; + reg = <0x9a03e00 0x100>; + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb0>; + clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>; + resets = <&powerdown STIH407_USB2_PORT0_POWERDOWN>, + <&softreset STIH407_USB2_PORT0_SOFTRESET>; + reset-names = "power", "softreset"; + + phys = <&usb2_picophy0>; + phy-names = "usb"; + }; + + ohci1: usb@9a83c00 { + compatible = "st,st-ohci-300x"; + status = "disabled"; + reg = <0x9a83c00 0x100>; + interrupts = ; + clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>; + resets = <&powerdown STIH407_USB2_PORT1_POWERDOWN>, + <&softreset STIH407_USB2_PORT1_SOFTRESET>; + reset-names = "power", "softreset"; + + phys = <&usb2_picophy1>; + phy-names = "usb"; + }; + + ehci1: usb@9a83e00 { + compatible = "st,st-ehci-300x"; + status = "disabled"; + reg = <0x9a83e00 0x100>; + interrupts = ; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usb1>; + clocks = <&clk_s_c0_flexgen CLK_TX_ICN_DISP_0>; + resets = <&powerdown STIH407_USB2_PORT1_POWERDOWN>, + <&softreset STIH407_USB2_PORT1_SOFTRESET>; + reset-names = "power", "softreset"; + + phys = <&usb2_picophy1>; + phy-names = "usb"; + }; }; };