Add P1020 USB controller default value for "dr_mode" property

Signed-off-by: Ramneek Mehresh <ramneek.mehr...@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


_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to