From patchwork Wed Jul 10 08:14:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: George Cherian X-Patchwork-Id: 2825549 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 68E78C0AB2 for ; Wed, 10 Jul 2013 08:15:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1CB6C20119 for ; Wed, 10 Jul 2013 08:15:38 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D9BB720115 for ; Wed, 10 Jul 2013 08:15:36 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UwpYj-0004aV-2n; Wed, 10 Jul 2013 08:15:33 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UwpYg-00056w-NQ; Wed, 10 Jul 2013 08:15:30 +0000 Received: from comal.ext.ti.com ([198.47.26.152]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UwpYe-00056G-A2 for linux-arm-kernel@lists.infradead.org; Wed, 10 Jul 2013 08:15:29 +0000 Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id r6A8EvVU011178; Wed, 10 Jul 2013 03:14:57 -0500 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id r6A8Evjb020052; Wed, 10 Jul 2013 03:14:57 -0500 Received: from dlelxv23.itg.ti.com (172.17.1.198) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.2.342.3; Wed, 10 Jul 2013 03:14:57 -0500 Received: from localhost.apr.dhcp.ti.com (dbdp20.itg.ti.com [172.24.170.38]) by dlelxv23.itg.ti.com (8.13.8/8.13.8) with ESMTP id r6A8ErQP002731; Wed, 10 Jul 2013 03:14:54 -0500 From: George Cherian To: , Subject: [PATCH v3] arm: dts: AM43x: Add usb DT nodes for AM4372 Date: Wed, 10 Jul 2013 13:44:42 +0530 Message-ID: <1373444082-4169-1-git-send-email-george.cherian@ti.com> X-Mailer: git-send-email 1.8.1.4 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130710_041528_478663_898F95B6 X-CRM114-Status: UNSURE ( 6.19 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.2 (-------) Cc: afzal@ti.com, linux@arm.linux.org.uk, linux-kernel@vger.kernel.org, balbi@ti.com, a-kishore@ti.com, benoit.cousson@linaro.org, George Cherian X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 This patch adds - HS USB nodes - phy nodes - usb control module nodes. Signed-off-by: George Cherian --- changes from v2 change synopsis to snps use simple node names add both USB and PHY instances add usbctrl node changes from v1 renamed synopsis to snps removed flag tx-fifo-resize arch/arm/boot/dts/am4372.dtsi | 58 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi index ddc1df7..37f196f 100644 --- a/arch/arm/boot/dts/am4372.dtsi +++ b/arch/arm/boot/dts/am4372.dtsi @@ -64,5 +64,63 @@ compatible = "ti,am4372-counter32k","ti,omap-counter32k"; reg = <0x44e86000 0x40>; }; + + phy1: usbphy1 { + compatible = "ti,am4372-usb2"; + #phy-cells = <0>; + id = <0>; + status = "disabled"; + }; + + phy2: usbphy2 { + compatible = "ti,am4372-usb2"; + #phy-cells = <0>; + id = <1>; + status = "disabled"; + }; + + usbctrl: omap-control-usb@44e10620 { + compatible = "ti,omap-control-usb"; + reg = <0x44e10620 0x10>; + reg-names = "control_dev_conf"; + ti,type = <3>; + status = "disabled"; + }; + + usb1: am4372_dwc3@48380000 { + status = "disabled"; + compatible = "ti,am4372-dwc3"; + reg = <0x48380000 0x200>; + interrupts = ; + #address-cells = <1>; + #size-cells = <1>; + utmi-mode = <1>; + ranges; + dwc3@48390000 { + compatible = "snps,dwc3"; + reg = <0x48390000 0xd000>; + interrupts = ; + phys = <&phy1>; + phy-names = "am4372-usb1"; + }; + }; + + usb2: am4372_dwc3@483c0000 { + status = "disabled"; + compatible = "ti,am4372-dwc3"; + reg = <0x483c0000 0x200>; + interrupts = ; + #address-cells = <1>; + #size-cells = <1>; + utmi-mode = <1>; + ranges; + dwc3@483d0000 { + compatible = "snps,dwc3"; + reg = <0x483d0000 0xd000>; + interrupts = ; + phys = <&phy2>; + phy-names = "am4372-usb2"; + }; + }; }; };