From patchwork Mon Nov 7 20:39:48 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Haslam X-Patchwork-Id: 9416059 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5992C6022E for ; Mon, 7 Nov 2016 20:45:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4BCDC28D98 for ; Mon, 7 Nov 2016 20:45:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 408DA28E20; Mon, 7 Nov 2016 20:45:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F19BB28D98 for ; Mon, 7 Nov 2016 20:45:57 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c3qmD-0003io-Bd; Mon, 07 Nov 2016 20:44:21 +0000 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c3qin-0001Jc-21 for linux-arm-kernel@lists.infradead.org; Mon, 07 Nov 2016 20:40:50 +0000 Received: by mail-wm0-x229.google.com with SMTP id t79so200890784wmt.0 for ; Mon, 07 Nov 2016 12:40:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=rUMnU75y4hZYXbULx4UDq6y8p8OQVRC9ww4BPD9eJS0=; b=WEsOJ66SRuZhOMwnVVZ4fWIfCan+lVmI6W7jnCabQK1sH1mnVCAht69D1JzEKpxJL+ aY8g5Fzeo6rGaqKCqedT9FtpyTDEpWrVOcgN1KRCYgKq2IaC5QvG+7x6Vm69s5xdss3o KNPmFClUtaykjXwZua8Vygt21bTkoQefZ0FKuhDD0g8xOXufIbvtIov/bKeL4U1JhDJB aSjAx6U84m7RuU6kKCcl1q8GZcFC8C3vK1iQevCWKlZ0jS9XJMJXp/fImMOro49KJd4Q whgAoed6YriUf/q16OBoS6LohhsvGqVFeXmOqUqwvduaUwHUB5VHJqM2iFqAmjUNuVdB x3sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=rUMnU75y4hZYXbULx4UDq6y8p8OQVRC9ww4BPD9eJS0=; b=JuXY33D1ZVI7fjq+5+ZBsCOcXIydfr4LY76Eb1Hr4fWelWQx0SaZxVOmXV0FSOHA44 gHyIlN6q2IPPWpgWcHPxSAdPtVmjxEMVTOk3W0nfSW1oyjpuADUDYg5Hw9Hmum/eUOeI lWv/Ii1oBa3EOVGhuLcea1ME9Rb3WEB1JyrLc+FAQo3HTw7jF/GxKuWhX6+qHusmRsDy xWAGknKD4KdSc8HyMtieTaCkN7moFo3nVjxHtLKroGd0n25C81juAR0nP3ib/13zv3hG uxeRKA4c9KvzdpUpyFXs0DE5zllCwcQLfzGi6R06kkH6oO+d0Qd2ewZnTte2Gc0S69R1 0+aQ== X-Gm-Message-State: ABUngvdtilj7fgG6wYmA0ZaQC5yHleQl5zHiuAVjJpRU201tK3ABwjL1ZcD5/SZWuTicwLox X-Received: by 10.28.71.14 with SMTP id u14mr4809837wma.52.1478551226839; Mon, 07 Nov 2016 12:40:26 -0800 (PST) Received: from localhost.localdomain (ANice-652-1-139-209.w83-201.abo.wanadoo.fr. [83.201.210.209]) by smtp.gmail.com with ESMTPSA id r7sm19626644wjp.43.2016.11.07.12.40.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 07 Nov 2016 12:40:26 -0800 (PST) From: Axel Haslam To: stern@rowland.harvard.edu, gregkh@linuxfoundation.org, nsekhar@ti.com, khilman@kernel.org, david@lechnology.com, robh+dt@kernel.org Subject: [PATCH v3 10/10] ARM: dts: da850: add usb device node Date: Mon, 7 Nov 2016 21:39:48 +0100 Message-Id: <20161107203948.28324-11-ahaslam@baylibre.com> X-Mailer: git-send-email 2.10.1.502.g6598894 In-Reply-To: <20161107203948.28324-1-ahaslam@baylibre.com> References: <20161107203948.28324-1-ahaslam@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161107_124049_413828_F909FF73 X-CRM114-Status: UNSURE ( 8.83 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Axel Haslam , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This adds the ohci device node for the da850 soc. It also enables it for the omapl138 hawk board. Signed-off-by: Axel Haslam --- arch/arm/boot/dts/da850-lcdk.dts | 8 ++++++++ arch/arm/boot/dts/da850.dtsi | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/da850-lcdk.dts b/arch/arm/boot/dts/da850-lcdk.dts index 7b8ab21..aaf533e 100644 --- a/arch/arm/boot/dts/da850-lcdk.dts +++ b/arch/arm/boot/dts/da850-lcdk.dts @@ -86,6 +86,14 @@ }; }; +&usb_phy { + status = "okay"; +}; + +&ohci { + status = "okay"; +}; + &serial2 { pinctrl-names = "default"; pinctrl-0 = <&serial2_rxtx_pins>; diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi index 2534aab..50e86da 100644 --- a/arch/arm/boot/dts/da850.dtsi +++ b/arch/arm/boot/dts/da850.dtsi @@ -405,6 +405,14 @@ >; status = "disabled"; }; + ohci: usb@0225000 { + compatible = "ti,da830-ohci"; + reg = <0x225000 0x1000>; + interrupts = <59>; + phys = <&usb_phy 1>; + phy-names = "usb-phy"; + status = "disabled"; + }; gpio: gpio@226000 { compatible = "ti,dm6441-gpio"; gpio-controller;