diff mbox

[v2,4/5] ARM: dts: am437x-gp-evm: Enable USB

Message ID 1394183758-3821-5-git-send-email-george.cherian@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

George Cherian March 7, 2014, 9:15 a.m. UTC
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(+)

Comments

Roger Quadros March 7, 2014, 10:25 a.m. UTC | #1
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?

> +
> +&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 linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
George Cherian March 7, 2014, 10:31 a.m. UTC | #2
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
diff mbox

Patch

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";
+};