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: 2825548 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B49C49F756 for ; Wed, 10 Jul 2013 08:15:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8865E20119 for ; Wed, 10 Jul 2013 08:15:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 335D020115 for ; Wed, 10 Jul 2013 08:15:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751077Ab3GJIPb (ORCPT ); Wed, 10 Jul 2013 04:15:31 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:34399 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750736Ab3GJIP3 (ORCPT ); Wed, 10 Jul 2013 04:15:29 -0400 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: , CC: , , , , , , George Cherian 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 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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"; + }; + }; }; };