Skip to content

Commit

Permalink
powerpc/85xx: Add dr_mode property in USB nodes
Browse files Browse the repository at this point in the history
Add usb2 controller node for P1020RDB, P2020RDB, P2020DS, P1021MDS

Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
  • Loading branch information
Ramneek Mehresh authored and Kumar Gala committed Jan 18, 2012
1 parent 70a0ac6 commit 621c4b9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions arch/powerpc/boot/dts/p1020rdb.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,15 @@

usb@22000 {
phy_type = "ulpi";
dr_mode = "host";
};

/* USB2 is shared with localbus. It is used
only in case of SPI and SD boot after
appropriate device-tree fixup done by uboot */
usb@23000 {
phy_type = "ulpi";
dr_mode = "host";
};

mdio@24000 {
Expand Down
3 changes: 2 additions & 1 deletion arch/powerpc/boot/dts/p1021mds.dts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* P1021 MDS Device Tree Source
*
* Copyright 2010 Freescale Semiconductor Inc.
* Copyright 2010,2012 Freescale Semiconductor Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
Expand Down Expand Up @@ -151,6 +151,7 @@

usb@22000 {
phy_type = "ulpi";
dr_mode = "host";
};

mdio@24000 {
Expand Down
3 changes: 2 additions & 1 deletion arch/powerpc/boot/dts/p2020ds.dtsi
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* P2020DS Device Tree Source stub (no addresses or top-level ranges)
*
* Copyright 2011 Freescale Semiconductor Inc.
* Copyright 2011-2012 Freescale Semiconductor Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
Expand Down Expand Up @@ -134,6 +134,7 @@
&board_soc {
usb@22000 {
phy_type = "ulpi";
dr_mode = "host";
};

mdio@24520 {
Expand Down
3 changes: 2 additions & 1 deletion arch/powerpc/boot/dts/p2020rdb.dts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* P2020 RDB Device Tree Source
*
* Copyright 2009-2011 Freescale Semiconductor Inc.
* Copyright 2009-2012 Freescale Semiconductor Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
Expand Down Expand Up @@ -197,6 +197,7 @@

usb@22000 {
phy_type = "ulpi";
dr_mode = "host";
};

mdio@24520 {
Expand Down

0 comments on commit 621c4b9

Please sign in to comment.