From patchwork Wed Oct 31 14:26:42 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Munegowda, Keshava" X-Patchwork-Id: 1679111 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id B2CA9DF264 for ; Wed, 31 Oct 2012 14:27:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757677Ab2JaO1J (ORCPT ); Wed, 31 Oct 2012 10:27:09 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:39083 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755272Ab2JaO1F (ORCPT ); Wed, 31 Oct 2012 10:27:05 -0400 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id q9VEQxXu008722; Wed, 31 Oct 2012 09:26:59 -0500 Received: from DBDE71.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id q9VEQvTQ025335; Wed, 31 Oct 2012 19:56:58 +0530 (IST) Received: from dbdp33.itg.ti.com (172.24.170.252) by DBDE71.ent.ti.com (172.24.170.149) with Microsoft SMTP Server id 14.1.323.3; Wed, 31 Oct 2012 19:56:57 +0530 Received: from keshava-laptop.apr.dhcp.ti.com (smtpvbd.itg.ti.com [172.24.170.250]) by dbdp33.itg.ti.com (8.13.8/8.13.8) with ESMTP id q9VEQsT3011544; Wed, 31 Oct 2012 19:56:57 +0530 From: Keshava Munegowda To: , , , CC: Keshava Munegowda , , , Subject: [RESEND PATCH 01/11] ARM: OMAP4: USB: Host: Add USB2 Host Device Tree Node Date: Wed, 31 Oct 2012 19:56:42 +0530 Message-ID: <1351693612-23314-2-git-send-email-keshava_mgowda@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1351693612-23314-1-git-send-email-keshava_mgowda@ti.com> References: <1351693612-23314-1-git-send-email-keshava_mgowda@ti.com> MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org The device tree node details of usb2 host and tll components are included for OMAP4 SOC Signed-off-by: Keshava Munegowda --- .../devicetree/bindings/usb/omap-usb-host.txt | 24 ++++++++++++++++++++ .../devicetree/bindings/usb/omap-usb-tll.txt | 21 +++++++++++++++++ arch/arm/boot/dts/omap4.dtsi | 22 ++++++++++++++++++ 3 files changed, 67 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/omap-usb-host.txt create mode 100644 Documentation/devicetree/bindings/usb/omap-usb-tll.txt diff --git a/Documentation/devicetree/bindings/usb/omap-usb-host.txt b/Documentation/devicetree/bindings/usb/omap-usb-host.txt new file mode 100644 index 0000000..2ea987f --- /dev/null +++ b/Documentation/devicetree/bindings/usb/omap-usb-host.txt @@ -0,0 +1,24 @@ +USB HOST + +OMAP USB2 UHH + +Required properties: + - compatible: Should be "ti,usbhs" + - reg : Address set of system configuration of the usb host.Also +has the register address of ehci and ohci IPs. + - interrupts :interrupts of ehci and ohci IPs. + +This is usually a subnode of ocp to which it is connected. + +usbhs: usbhs@0x4a064000 { + compatible = "ti,usbhs"; + reg = <0x4a064000 0x800>, /* uhh */ + <0x4a064800 0x400>, /* ohci */ + <0x4a064c00 0x400>; /* ehci */ + reg-names = "uhh", "ohci", "ehci"; + interrupts = <0 76 0x4>, <0 77 0x4>; + interrupt-names = "ohci-irq", "ehci-irq"; + interrupt-parent = <&gic>; + ti,hwmods = "usb_host_hs"; +}; + diff --git a/Documentation/devicetree/bindings/usb/omap-usb-tll.txt b/Documentation/devicetree/bindings/usb/omap-usb-tll.txt new file mode 100644 index 0000000..e2e49fd --- /dev/null +++ b/Documentation/devicetree/bindings/usb/omap-usb-tll.txt @@ -0,0 +1,21 @@ +USB TLL + +OMAP USB2 TLL + +Required properties: + - compatible: Should be "ti,usbtll" + - reg : Address set of system configuration of the usb tll. + - interrupts :interrupts of usb tll. + +This is usually a subnode of ocp to which it is connected. + +usbtll: usbtll@0x4a062000 { + compatible = "ti,usbtll"; + reg = <0x4a062000 0x1000>; + reg-names = "tll"; + interrupts = <0 78 0x4>; + interrupt-names = "tll-irq"; + interrupt-parent = <&gic>; + ti,hwmods = "usb_tll_hs"; +}; + diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 3883f94..fb76ba3 100644 --- a/arch/arm/boot/dts/omap4.dtsi +++ b/arch/arm/boot/dts/omap4.dtsi @@ -438,5 +438,27 @@ ranges; ti,hwmods = "ocp2scp_usb_phy"; }; + + usbhs: usbhs@0x4a064000 { + compatible = "ti,usbhs"; + reg = <0x4a064000 0x800>, /* uhh */ + <0x4a064800 0x400>, /* ohci */ + <0x4a064c00 0x400>; /* ehci */ + reg-names = "uhh", "ohci", "ehci"; + interrupts = <0 76 0x4>, <0 77 0x4>; + interrupt-names = "ohci-irq", "ehci-irq"; + interrupt-parent = <&gic>; + ti,hwmods = "usb_host_hs"; + }; + + usbtll: usbtll@0x4a062000 { + compatible = "ti,usbtll"; + reg = <0x4a062000 0x1000>; + reg-names = "tll"; + interrupts = <0 78 0x4>; + interrupt-names = "tll-irq"; + interrupt-parent = <&gic>; + ti,hwmods = "usb_tll_hs"; + }; }; };