devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/5] Add USB nodes for am43xx epos and gp evm
@ 2014-03-07  9:15 George Cherian
  2014-03-07  9:15 ` [PATCH v2 1/5] doc: Add "ti,am437x-dwc3" comaptible for dwc3 glue George Cherian
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: George Cherian @ 2014-03-07  9:15 UTC (permalink / raw)
  To: linux-kernel, linux-doc, devicetree, linux-omap
  Cc: balbi, rogerq, kishon, rob, galak, ijc+devicetree, mark.rutland,
	pawel.moll, robh+dt, tony, anatol.pomozov, bcousson,
	George Cherian

The patch series adds USB dt nodes for am43xx epos and gp evm

Boot tested with  Benoit's for_3.15 + following patches

https://patchwork.kernel.org/patch/3600821/
https://patchwork.kernel.org/patch/3600831/
https://patchwork.kernel.org/patch/3600851/
https://patchwork.kernel.org/patch/3600841/


Changes from v1 -> v2
	* Reorder "doc: Add "ti,am437x-dwc3" comaptible for dwc3 glue"
	* Address v1 coments on "ARM: dts: AM4372: Add USB nodes"  


George Cherian (5):
  doc: Add "ti,am437x-dwc3" comaptible for dwc3 glue
  ARM: dts: am43xx clock data
  ARM: dts: AM4372: Add USB nodes
  ARM: dts: am437x-gp-evm: Enable USB
  ARM: dts: am43x-epos-evm: Enable USB

 Documentation/devicetree/bindings/usb/omap-usb.txt |  4 +-
 arch/arm/boot/dts/am4372.dtsi                      | 95 ++++++++++++++++++++++
 arch/arm/boot/dts/am437x-gp-evm.dts                | 28 +++++++
 arch/arm/boot/dts/am43x-epos-evm.dts               | 27 ++++++
 arch/arm/boot/dts/am43xx-clocks.dtsi               | 17 ++++
 5 files changed, 170 insertions(+), 1 deletion(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH v2 1/5] doc: Add "ti,am437x-dwc3" comaptible for dwc3 glue
  2014-03-07  9:15 [PATCH v2 0/5] Add USB nodes for am43xx epos and gp evm George Cherian
@ 2014-03-07  9:15 ` George Cherian
  2014-03-07  9:15 ` [PATCH v2 2/5] ARM: dts: am43xx clock data George Cherian
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: George Cherian @ 2014-03-07  9:15 UTC (permalink / raw)
  To: linux-kernel, linux-doc, devicetree, linux-omap
  Cc: balbi, rogerq, kishon, rob, galak, ijc+devicetree, mark.rutland,
	pawel.moll, robh+dt, tony, anatol.pomozov, bcousson,
	George Cherian

Add the compatible "ti,am437x-dwc3" for dwc3 glue driver.

Signed-off-by: George Cherian <george.cherian@ti.com>
---
 Documentation/devicetree/bindings/usb/omap-usb.txt | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/usb/omap-usb.txt b/Documentation/devicetree/bindings/usb/omap-usb.txt
index 38b2fae..38d9bb8 100644
--- a/Documentation/devicetree/bindings/usb/omap-usb.txt
+++ b/Documentation/devicetree/bindings/usb/omap-usb.txt
@@ -44,7 +44,9 @@ Board specific device node entry
 };
 
 OMAP DWC3 GLUE
- - compatible : Should be "ti,dwc3"
+ - compatible : Should be
+	* "ti,dwc3" for OMAP5 and DRA7
+	* "ti,am437x-dwc3" for AM437x
  - ti,hwmods : Should be "usb_otg_ss"
  - reg : Address and length of the register set for the device.
  - interrupts : The irq number of this device that is used to interrupt the
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH v2 2/5] ARM: dts: am43xx clock data
  2014-03-07  9:15 [PATCH v2 0/5] Add USB nodes for am43xx epos and gp evm George Cherian
  2014-03-07  9:15 ` [PATCH v2 1/5] doc: Add "ti,am437x-dwc3" comaptible for dwc3 glue George Cherian
@ 2014-03-07  9:15 ` George Cherian
  2014-03-07  9:15 ` [PATCH v2 3/5] ARM: dts: AM4372: Add USB nodes George Cherian
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 9+ messages in thread
From: George Cherian @ 2014-03-07  9:15 UTC (permalink / raw)
  To: linux-kernel, linux-doc, devicetree, linux-omap
  Cc: balbi, rogerq, kishon, rob, galak, ijc+devicetree, mark.rutland,
	pawel.moll, robh+dt, tony, anatol.pomozov, bcousson,
	George Cherian

Add USB reference clock data

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

diff --git a/arch/arm/boot/dts/am43xx-clocks.dtsi b/arch/arm/boot/dts/am43xx-clocks.dtsi
index 142009c..506d036 100644
--- a/arch/arm/boot/dts/am43xx-clocks.dtsi
+++ b/arch/arm/boot/dts/am43xx-clocks.dtsi
@@ -653,4 +653,21 @@
 		clocks = <&clk_32768_ck>, <&clk_32k_tpm_ck>;
 		reg = <0x4260>;
 	};
+
+	usb_otg_ss0_refclk960m: usb_otg_ss0_refclk960m {
+		#clock-cells = <0>;
+	        compatible = "ti,gate-clock";
+		clocks = <&dpll_per_clkdcoldo>;
+	        ti,bit-shift = <8>;
+	        reg = <0x8a60>;
+	};
+
+	usb_otg_ss1_refclk960m: usb_otg_ss1_refclk960m {
+		#clock-cells = <0>;
+	        compatible = "ti,gate-clock";
+		clocks = <&dpll_per_clkdcoldo>;
+	        ti,bit-shift = <8>;
+		reg = <0x8a68>;
+	};
+
 };
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH v2 3/5] ARM: dts: AM4372: Add USB nodes
  2014-03-07  9:15 [PATCH v2 0/5] Add USB nodes for am43xx epos and gp evm George Cherian
  2014-03-07  9:15 ` [PATCH v2 1/5] doc: Add "ti,am437x-dwc3" comaptible for dwc3 glue George Cherian
  2014-03-07  9:15 ` [PATCH v2 2/5] ARM: dts: am43xx clock data George Cherian
@ 2014-03-07  9:15 ` George Cherian
  2014-03-07 10:21   ` Roger Quadros
  2014-03-07  9:15 ` [PATCH v2 4/5] ARM: dts: am437x-gp-evm: Enable USB George Cherian
  2014-03-07  9:15 ` [PATCH v2 5/5] ARM: dts: am43x-epos-evm: " George Cherian
  4 siblings, 1 reply; 9+ messages in thread
From: George Cherian @ 2014-03-07  9:15 UTC (permalink / raw)
  To: linux-kernel, linux-doc, devicetree, linux-omap
  Cc: balbi, rogerq, kishon, rob, galak, ijc+devicetree, mark.rutland,
	pawel.moll, robh+dt, tony, anatol.pomozov, bcousson,
	George Cherian

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 | 95 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 95 insertions(+)

diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
index 5a7cc38..fdcdf1b 100644
--- a/arch/arm/boot/dts/am4372.dtsi
+++ b/arch/arm/boot/dts/am4372.dtsi
@@ -698,6 +698,101 @@
 			       <&edma 11>;
 			dma-names = "tx", "rx";
 		};
+
+		am43xx_control_usb2phy1: control-phy@44e10620 {
+			compatible = "ti,control-phy-usb2-am437";
+			reg = <0x44e10620 0x4>;
+			reg-names = "power";
+		};
+
+		am43xx_control_usb2phy2: control-phy@0x44e10628 {
+			compatible = "ti,control-phy-usb2-am437";
+			reg = <0x44e10628 0x4>;
+			reg-names = "power";
+		};
+
+		ocp2scp0: ocp2scp@483a8000 {
+			compatible = "ti,omap-ocp2scp";
+			#address-cells = <1>;
+			#size-cells = <1>;
+			ranges;
+			ti,hwmods = "ocp2scp0";
+
+			usb2_phy1: phy@483a8000 {
+				compatible = "ti,am437x-usb2";
+				reg = <0x483a8000 0x8000>;
+				ctrl-module = <&am43xx_control_usb2phy1>;
+				clocks = <&clk_32768_ck>,
+					 <&usb_otg_ss0_refclk960m>;
+				clock-names = "wkupclk", "refclk";
+				#phy-cells = <0>;
+				status = "disabled";
+			};
+		};
+
+		ocp2scp1: ocp2scp@483e8000 {
+			compatible = "ti,omap-ocp2scp";
+			#address-cells = <1>;
+			#size-cells = <1>;
+			ranges;
+			ti,hwmods = "ocp2scp1";
+
+			usb2_phy2: phy@483e8000 {
+				compatible = "ti,am437x-usb2";
+				reg = <0x483e8000 0x8000>;
+				ctrl-module = <&am43xx_control_usb2phy2>;
+				clocks = <&clk_32768_ck>,
+					 <&usb_otg_ss1_refclk960m>;
+				clock-names = "wkupclk", "refclk";
+				#phy-cells = <0>;
+				status = "disabled";
+			};
+		};
+
+		dwc3_1: omap_dwc3@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;
+
+			usb1: usb@48390000 {
+				compatible = "synopsys,dwc3";
+				reg = <0x48390000 0x17000>;
+				interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
+				phys = <&usb2_phy1>;
+				phy-names = "usb2-phy";
+				maximum-speed = "high-speed";
+				dr_mode = "otg";
+				status = "disabled";
+			};
+		};
+
+		dwc3_2: omap_dwc3@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;
+
+			usb2: usb@483d0000 {
+				compatible = "synopsys,dwc3";
+				reg = <0x483d0000 0x17000>;
+				interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
+				phys = <&usb2_phy2>;
+				phy-names = "usb2-phy";
+				maximum-speed = "high-speed";
+				dr_mode = "otg";
+				status = "disabled";
+			};
+		};
+
 	};
 };
 
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH v2 4/5] ARM: dts: am437x-gp-evm: Enable USB
  2014-03-07  9:15 [PATCH v2 0/5] Add USB nodes for am43xx epos and gp evm George Cherian
                   ` (2 preceding siblings ...)
  2014-03-07  9:15 ` [PATCH v2 3/5] ARM: dts: AM4372: Add USB nodes George Cherian
@ 2014-03-07  9:15 ` George Cherian
       [not found]   ` <1394183758-3821-5-git-send-email-george.cherian-l0cyMroinI0@public.gmane.org>
  2014-03-07  9:15 ` [PATCH v2 5/5] ARM: dts: am43x-epos-evm: " George Cherian
  4 siblings, 1 reply; 9+ messages in thread
From: George Cherian @ 2014-03-07  9:15 UTC (permalink / raw)
  To: linux-kernel, linux-doc, devicetree, linux-omap
  Cc: balbi, rogerq, kishon, rob, galak, ijc+devicetree, mark.rutland,
	pawel.moll, robh+dt, tony, anatol.pomozov, bcousson,
	George Cherian

Enable
	- ocp2scp
	- USB PHY control module
	- USB PHY
	- dwc3_omap
	- USB
for am437x-gp-evm

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

diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts
index 4eb72b8..1d516a7 100644
--- a/arch/arm/boot/dts/am437x-gp-evm.dts
+++ b/arch/arm/boot/dts/am437x-gp-evm.dts
@@ -98,3 +98,31 @@
 &gpio4 {
 	status = "okay";
 };
+
+
+&usb2_phy1 {
+	status = "okay";
+};
+
+&dwc3_1 {
+	status = "okay";
+};
+
+&usb1 {
+	dr_mode = "peripheral";
+	status = "okay";
+};
+
+
+&usb2_phy2 {
+	status = "okay";
+};
+
+&dwc3_2 {
+	status = "okay";
+};
+
+&usb2 {
+	dr_mode = "host";
+	status = "okay";
+};
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH v2 5/5] ARM: dts: am43x-epos-evm: Enable USB
  2014-03-07  9:15 [PATCH v2 0/5] Add USB nodes for am43xx epos and gp evm George Cherian
                   ` (3 preceding siblings ...)
  2014-03-07  9:15 ` [PATCH v2 4/5] ARM: dts: am437x-gp-evm: Enable USB George Cherian
@ 2014-03-07  9:15 ` George Cherian
  4 siblings, 0 replies; 9+ messages in thread
From: George Cherian @ 2014-03-07  9:15 UTC (permalink / raw)
  To: linux-kernel, linux-doc, devicetree, linux-omap
  Cc: balbi, rogerq, kishon, rob, galak, ijc+devicetree, mark.rutland,
	pawel.moll, robh+dt, tony, anatol.pomozov, bcousson,
	George Cherian

Enable
	- ocp2scp
	- USB PHY control module
	- USB PHY
	- dwc3_omap
	- USB

for am43x-epos-evm

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

diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts
index a7d0db1..d2a5831 100644
--- a/arch/arm/boot/dts/am43x-epos-evm.dts
+++ b/arch/arm/boot/dts/am43x-epos-evm.dts
@@ -251,3 +251,30 @@
 	pinctrl-0 = <&spi1_pins>;
 	status = "okay";
 };
+
+
+&usb2_phy1 {
+	status = "okay";
+};
+
+&dwc3_1 {
+	status = "okay";
+};
+
+&usb1 {
+	dr_mode = "peripheral";
+	status = "okay";
+};
+
+&usb2_phy2 {
+	status = "okay";
+};
+
+&dwc3_2 {
+	status = "okay";
+};
+
+&usb2 {
+	dr_mode = "host";
+	status = "okay";
+};
-- 
1.8.3.1

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH v2 3/5] ARM: dts: AM4372: Add USB nodes
  2014-03-07  9:15 ` [PATCH v2 3/5] ARM: dts: AM4372: Add USB nodes George Cherian
@ 2014-03-07 10:21   ` Roger Quadros
  0 siblings, 0 replies; 9+ messages in thread
From: Roger Quadros @ 2014-03-07 10:21 UTC (permalink / raw)
  To: George Cherian, linux-kernel, linux-doc, devicetree, linux-omap
  Cc: balbi, kishon, rob, galak, ijc+devicetree, mark.rutland,
	pawel.moll, robh+dt, tony, anatol.pomozov, bcousson

On 03/07/2014 11:15 AM, George Cherian wrote:
> 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>

Acked-by: Roger Quadros <rogerq@ti.com>

cheers,
-roger

> ---
>  arch/arm/boot/dts/am4372.dtsi | 95 +++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 95 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
> index 5a7cc38..fdcdf1b 100644
> --- a/arch/arm/boot/dts/am4372.dtsi
> +++ b/arch/arm/boot/dts/am4372.dtsi
> @@ -698,6 +698,101 @@
>  			       <&edma 11>;
>  			dma-names = "tx", "rx";
>  		};
> +
> +		am43xx_control_usb2phy1: control-phy@44e10620 {
> +			compatible = "ti,control-phy-usb2-am437";
> +			reg = <0x44e10620 0x4>;
> +			reg-names = "power";
> +		};
> +
> +		am43xx_control_usb2phy2: control-phy@0x44e10628 {
> +			compatible = "ti,control-phy-usb2-am437";
> +			reg = <0x44e10628 0x4>;
> +			reg-names = "power";
> +		};
> +
> +		ocp2scp0: ocp2scp@483a8000 {
> +			compatible = "ti,omap-ocp2scp";
> +			#address-cells = <1>;
> +			#size-cells = <1>;
> +			ranges;
> +			ti,hwmods = "ocp2scp0";
> +
> +			usb2_phy1: phy@483a8000 {
> +				compatible = "ti,am437x-usb2";
> +				reg = <0x483a8000 0x8000>;
> +				ctrl-module = <&am43xx_control_usb2phy1>;
> +				clocks = <&clk_32768_ck>,
> +					 <&usb_otg_ss0_refclk960m>;
> +				clock-names = "wkupclk", "refclk";
> +				#phy-cells = <0>;
> +				status = "disabled";
> +			};
> +		};
> +
> +		ocp2scp1: ocp2scp@483e8000 {
> +			compatible = "ti,omap-ocp2scp";
> +			#address-cells = <1>;
> +			#size-cells = <1>;
> +			ranges;
> +			ti,hwmods = "ocp2scp1";
> +
> +			usb2_phy2: phy@483e8000 {
> +				compatible = "ti,am437x-usb2";
> +				reg = <0x483e8000 0x8000>;
> +				ctrl-module = <&am43xx_control_usb2phy2>;
> +				clocks = <&clk_32768_ck>,
> +					 <&usb_otg_ss1_refclk960m>;
> +				clock-names = "wkupclk", "refclk";
> +				#phy-cells = <0>;
> +				status = "disabled";
> +			};
> +		};
> +
> +		dwc3_1: omap_dwc3@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;
> +
> +			usb1: usb@48390000 {
> +				compatible = "synopsys,dwc3";
> +				reg = <0x48390000 0x17000>;
> +				interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
> +				phys = <&usb2_phy1>;
> +				phy-names = "usb2-phy";
> +				maximum-speed = "high-speed";
> +				dr_mode = "otg";
> +				status = "disabled";
> +			};
> +		};
> +
> +		dwc3_2: omap_dwc3@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;
> +
> +			usb2: usb@483d0000 {
> +				compatible = "synopsys,dwc3";
> +				reg = <0x483d0000 0x17000>;
> +				interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
> +				phys = <&usb2_phy2>;
> +				phy-names = "usb2-phy";
> +				maximum-speed = "high-speed";
> +				dr_mode = "otg";
> +				status = "disabled";
> +			};
> +		};
> +
>  	};
>  };
>  
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v2 4/5] ARM: dts: am437x-gp-evm: Enable USB
       [not found]   ` <1394183758-3821-5-git-send-email-george.cherian-l0cyMroinI0@public.gmane.org>
@ 2014-03-07 10:25     ` Roger Quadros
  2014-03-07 10:31       ` George Cherian
  0 siblings, 1 reply; 9+ messages in thread
From: Roger Quadros @ 2014-03-07 10:25 UTC (permalink / raw)
  To: George Cherian, linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-doc-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-omap-u79uwXL29TY76Z2rM5mHXA
  Cc: balbi-l0cyMroinI0, kishon-l0cyMroinI0, rob-VoJi6FS/r0vR7s880joybQ,
	galak-sgV2jX0FEOL9JmXXK+q4OQ,
	ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg, mark.rutland-5wv7dgnIgG8,
	pawel.moll-5wv7dgnIgG8, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
	tony-4v6yS6AI5VpBDgjK7y7TUQ,
	anatol.pomozov-Re5JQEeQqe8AvxtiuMwx3w,
	bcousson-rdvid1DuHRBWk0Htik3J/w

Hi George,

On 03/07/2014 11:15 AM, George Cherian wrote:
> Enable
> 	- ocp2scp
> 	- USB PHY control module
> 	- USB PHY
> 	- dwc3_omap
> 	- USB
> for am437x-gp-evm
> 
> Signed-off-by: George Cherian <george.cherian-l0cyMroinI0@public.gmane.org>
> ---
>  arch/arm/boot/dts/am437x-gp-evm.dts | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts
> index 4eb72b8..1d516a7 100644
> --- a/arch/arm/boot/dts/am437x-gp-evm.dts
> +++ b/arch/arm/boot/dts/am437x-gp-evm.dts
> @@ -98,3 +98,31 @@
>  &gpio4 {
>  	status = "okay";
>  };
> +
> +
> +&usb2_phy1 {
> +	status = "okay";
> +};
> +
> +&dwc3_1 {
> +	status = "okay";
> +};

Do you need to explicitly enable dwc3_1 nand dwc3_2?

> +
> +&usb1 {
> +	dr_mode = "peripheral";
> +	status = "okay";
> +};
> +
> +
> +&usb2_phy2 {
> +	status = "okay";
> +};
> +
> +&dwc3_2 {
> +	status = "okay";
> +};
> +
> +&usb2 {
> +	dr_mode = "host";
> +	status = "okay";
> +};
> 

cheers,
-roger
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH v2 4/5] ARM: dts: am437x-gp-evm: Enable USB
  2014-03-07 10:25     ` Roger Quadros
@ 2014-03-07 10:31       ` George Cherian
  0 siblings, 0 replies; 9+ messages in thread
From: George Cherian @ 2014-03-07 10:31 UTC (permalink / raw)
  To: Roger Quadros, linux-kernel, linux-doc, devicetree, linux-omap
  Cc: balbi, kishon, rob, galak, ijc+devicetree, mark.rutland,
	pawel.moll, robh+dt, tony, anatol.pomozov, bcousson

On 3/7/2014 3:55 PM, Roger Quadros wrote:
> Hi George,
>
> On 03/07/2014 11:15 AM, George Cherian wrote:
>> Enable
>> 	- ocp2scp
>> 	- USB PHY control module
>> 	- USB PHY
>> 	- dwc3_omap
>> 	- USB
>> for am437x-gp-evm
>>
>> Signed-off-by: George Cherian <george.cherian@ti.com>
>> ---
>>   arch/arm/boot/dts/am437x-gp-evm.dts | 28 ++++++++++++++++++++++++++++
>>   1 file changed, 28 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.dts
>> index 4eb72b8..1d516a7 100644
>> --- a/arch/arm/boot/dts/am437x-gp-evm.dts
>> +++ b/arch/arm/boot/dts/am437x-gp-evm.dts
>> @@ -98,3 +98,31 @@
>>   &gpio4 {
>>   	status = "okay";
>>   };
>> +
>> +
>> +&usb2_phy1 {
>> +	status = "okay";
>> +};
>> +
>> +&dwc3_1 {
>> +	status = "okay";
>> +};
> Do you need to explicitly enable dwc3_1 nand dwc3_2?

Ahhh... Fixed only in am4372.dtsi
Same with patch 5, I will resend the series fixing it.

>
>> +
>> +&usb1 {
>> +	dr_mode = "peripheral";
>> +	status = "okay";
>> +};
>> +
>> +
>> +&usb2_phy2 {
>> +	status = "okay";
>> +};
>> +
>> +&dwc3_2 {
>> +	status = "okay";
>> +};
>> +
>> +&usb2 {
>> +	dr_mode = "host";
>> +	status = "okay";
>> +};
>>
> cheers,
> -roger


-- 
-George


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-03-07 10:31 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-07  9:15 [PATCH v2 0/5] Add USB nodes for am43xx epos and gp evm George Cherian
2014-03-07  9:15 ` [PATCH v2 1/5] doc: Add "ti,am437x-dwc3" comaptible for dwc3 glue George Cherian
2014-03-07  9:15 ` [PATCH v2 2/5] ARM: dts: am43xx clock data George Cherian
2014-03-07  9:15 ` [PATCH v2 3/5] ARM: dts: AM4372: Add USB nodes George Cherian
2014-03-07 10:21   ` Roger Quadros
2014-03-07  9:15 ` [PATCH v2 4/5] ARM: dts: am437x-gp-evm: Enable USB George Cherian
     [not found]   ` <1394183758-3821-5-git-send-email-george.cherian-l0cyMroinI0@public.gmane.org>
2014-03-07 10:25     ` Roger Quadros
2014-03-07 10:31       ` George Cherian
2014-03-07  9:15 ` [PATCH v2 5/5] ARM: dts: am43x-epos-evm: " George Cherian

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).