linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc/qoriq: Add default mode for P1020RDB USB
@ 2011-05-04 13:26 Ramneek Mehresh
  2011-05-19  6:37 ` Kumar Gala
  0 siblings, 1 reply; 2+ messages in thread
From: Ramneek Mehresh @ 2011-05-04 13:26 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: paulus, Ramneek Mehresh

Add P1020 USB controller default value for "dr_mode" property

Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
---
Applies on git://git.am.freescale.net/mirrors/linux-2.6.git
(branch master)
 arch/powerpc/boot/dts/p1020rdb.dts |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/arch/powerpc/boot/dts/p1020rdb.dts b/arch/powerpc/boot/dts/p1020rdb.dts
index e0668f8..c630b51 100644
--- a/arch/powerpc/boot/dts/p1020rdb.dts
+++ b/arch/powerpc/boot/dts/p1020rdb.dts
@@ -473,13 +473,11 @@
 			interrupt-parent = <&mpic>;
 			interrupts = <28 0x2>;
 			phy_type = "ulpi";
+			dr_mode = "host";
 		};
 
-		/* USB2 is shared with localbus, so it must be disabled
-		   by default. We can't put 'status = "disabled";' here
-		   since U-Boot doesn't clear the status property when
-		   it enables USB2. OTOH, U-Boot does create a new node
-		   when there isn't any. So, just comment it out.
+		/* USB2 is shared with localbus. It is used
+		   only in case of SPI and SD boot*/
 		usb@23000 {
 			#address-cells = <1>;
 			#size-cells = <0>;
@@ -488,8 +486,8 @@
 			interrupt-parent = <&mpic>;
 			interrupts = <46 0x2>;
 			phy_type = "ulpi";
+			dr_mode = "host";
 		};
-		*/
 
 		sdhci@2e000 {
 			compatible = "fsl,p1020-esdhc", "fsl,esdhc";
-- 
1.6.1

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

end of thread, other threads:[~2011-05-19  6:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-04 13:26 [PATCH] powerpc/qoriq: Add default mode for P1020RDB USB Ramneek Mehresh
2011-05-19  6:37 ` Kumar Gala

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