devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: George Cherian <george.cherian@ti.com>
To: linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-doc@vger.kernel.org, devicetree@vger.kernel.org
Cc: anatol.pomozov@gmail.com, gregkh@linuxfoundation.org,
	balbi@ti.com, rogerq@ti.com, kishon@ti.com, rob@landley.net,
	galak@codeaurora.org, ijc+devicetree@hellion.org.uk,
	mark.rutland@arm.com, pawel.moll@arm.com, robh+dt@kernel.org,
	bcousson@baylibre.com, tony@atomide.com,
	George Cherian <george.cherian@ti.com>
Subject: [PATCH 2/5] ARM: dts: AM4372: Add USB nodes
Date: Mon, 3 Mar 2014 19:23:51 +0530	[thread overview]
Message-ID: <1393854834-23810-3-git-send-email-george.cherian@ti.com> (raw)
In-Reply-To: <1393854834-23810-1-git-send-email-george.cherian@ti.com>

Add nodes for 2 instances each of
	- ocp2scp
	- USB PHY control module
	- USB PHY
	- dwc3_omap
	- USB

for AM43xx.

Signed-off-by: George Cherian <george.cherian@ti.com>
---
 arch/arm/boot/dts/am4372.dtsi | 99 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 99 insertions(+)

diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
index 5a7cc38..90408b3 100644
--- a/arch/arm/boot/dts/am4372.dtsi
+++ b/arch/arm/boot/dts/am4372.dtsi
@@ -698,6 +698,105 @@
 			       <&edma 11>;
 			dma-names = "tx", "rx";
 		};
+
+		am43xx_control_usb2phy1: control-phy@44e10620 {
+			compatible = "ti,control-phy-am437usb2";
+			reg = <0x44e10620 0x4>;
+			reg-names = "power";
+			status = "disabled";
+		};
+
+		am43xx_control_usb2phy2: control-phy@0x44e10628 {
+			compatible = "ti,control-phy-am437usb2";
+			reg = <0x44e10628 0x4>;
+			reg-names = "power";
+			status = "disabled";
+		};
+
+		ocp2scp0: ocp2scp@483a8000 {
+			compatible = "ti,omap-ocp2scp";
+			#address-cells = <1>;
+			#size-cells = <1>;
+			ranges;
+			ti,hwmods = "ocp2scp0";
+			status = "disabled";
+
+			usb2_phy1: usb2phy1@483a8000 {
+				compatible = "ti,am437x-usb2";
+				reg = <0x483a8000 0x8000>;
+				ctrl-module = <&am43xx_control_usb2phy1>;
+				clocks = <&clk_32768_ck>,
+					 <&usb_otg_ss0_refclk960m>;
+				clock-names = "usb_phy_cm_clk32k",
+					      "usb_otg_ss_refclk960m";
+				#phy-cells = <0>;
+				status = "disabled";
+			};
+		};
+
+		ocp2scp1: ocp2scp@483e8000 {
+			compatible = "ti,omap-ocp2scp";
+			#address-cells = <1>;
+			#size-cells = <1>;
+			ranges;
+			ti,hwmods = "ocp2scp1";
+			status = "disabled";
+
+			usb2_phy2: usb2phy2@483e8000 {
+				compatible = "ti,am437x-usb2";
+				reg = <0x483e8000 0x8000>;
+				ctrl-module = <&am43xx_control_usb2phy2>;
+				clocks = <&clk_32768_ck>,
+					 <&usb_otg_ss1_refclk960m>;
+				clock-names = "usb_phy_cm_clk32k",
+					      "usb_otg_ss_refclk960m";
+				#phy-cells = <0>;
+				status = "disabled";
+			};
+		};
+
+		dwc3_1: omap_dwc3_1@48380000 {
+			compatible = "ti,am437x-dwc3";
+			ti,hwmods = "usb_otg_ss0";
+			reg = <0x48380000 0x10000>;
+			interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
+			#address-cells = <1>;
+			#size-cells = <1>;
+			utmi-mode = <1>;
+			ranges;
+			status = "disabled";
+
+			usb1: usb@48390000 {
+				compatible = "synopsys,dwc3";
+				reg = <0x48390000 0x17000>;
+				interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
+				usb-phy = <&usb2_phy1>;
+				phy-names = "usb2-phy";
+				status = "disabled";
+			};
+		};
+
+		dwc3_2: omap_dwc3_2@483c0000 {
+			compatible = "ti,am437x-dwc3";
+			ti,hwmods = "usb_otg_ss1";
+			reg = <0x483c0000 0x10000>;
+			interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>;
+			#address-cells = <1>;
+			#size-cells = <1>;
+			utmi-mode = <1>;
+			ranges;
+			status = "disabled";
+
+			usb2: usb@483d0000 {
+				compatible = "synopsys,dwc3";
+				reg = <0x483d0000 0x17000>;
+				interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
+				usb-phy = <&usb2_phy2>;
+				phy-names = "usb2-phy";
+				status = "disabled";
+			};
+		};
+
 	};
 };
 
-- 
1.8.3.1

  parent reply	other threads:[~2014-03-03 13:53 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-03 13:53 [PATCH 0/5] Add USB nodes for am43xx epos and gp evm George Cherian
2014-03-03 13:53 ` [PATCH 1/5] ARM: dts: am43xx clock data George Cherian
2014-03-03 13:53 ` George Cherian [this message]
2014-03-06  8:49   ` [PATCH 2/5] ARM: dts: AM4372: Add USB nodes Roger Quadros
     [not found]     ` <53183699.8070106-l0cyMroinI0@public.gmane.org>
2014-03-06 12:27       ` George Cherian
2014-03-06 13:12         ` Roger Quadros
2014-03-06 18:37       ` Tony Lindgren
2014-03-03 13:53 ` [PATCH 3/5] ARM: dts: am437x-gp-evm: Enable USB George Cherian
2014-03-03 13:53 ` [PATCH 4/5] ARM: dts: am43x-epos-evm: " George Cherian
2014-03-03 13:53 ` [PATCH 5/5] doc: Add "ti,am437x-dwc3" comaptible for dwc3 glue George Cherian
2014-03-06  8:55   ` Roger Quadros
2014-03-06 12:28     ` George Cherian
2014-03-05 19:42 ` [PATCH 0/5] Add USB nodes for am43xx epos and gp evm Tony Lindgren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1393854834-23810-3-git-send-email-george.cherian@ti.com \
    --to=george.cherian@ti.com \
    --cc=anatol.pomozov@gmail.com \
    --cc=balbi@ti.com \
    --cc=bcousson@baylibre.com \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=kishon@ti.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=pawel.moll@arm.com \
    --cc=rob@landley.net \
    --cc=robh+dt@kernel.org \
    --cc=rogerq@ti.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).