Skip to content

Commit

Permalink
[POWERPC] 83xx: Added new dr_mode property for usb controller on 83xx
Browse files Browse the repository at this point in the history
Added a new dr_mode property to describe what mode the DR controller is being
used in (host, device, OTG).  Updated the MPC8349E MDS dts with this new property.

Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
  • Loading branch information
Li Yang authored and Kumar Gala committed Feb 8, 2007
1 parent fd9aeb8 commit ea5b7a6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Documentation/powerpc/booting-without-of.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1334,6 +1334,9 @@ platforms are moved over to use the flattened-device-tree model.
fsl-usb2-mph compatible controllers. Either this property or
"port0" (or both) must be defined for "fsl-usb2-mph" compatible
controllers.
- dr_mode : indicates the working mode for "fsl-usb2-dr" compatible
controllers. Can be "host", "peripheral", or "otg". Default to
"host" if not defined for backward compatibility.

Recommended properties :
- interrupts : <a b> where a is the interrupt number and b is a
Expand Down Expand Up @@ -1367,6 +1370,7 @@ platforms are moved over to use the flattened-device-tree model.
#size-cells = <0>;
interrupt-parent = <700>;
interrupts = <26 1>;
dr_mode = "otg";
phy = "ulpi";
};

Expand Down
6 changes: 6 additions & 0 deletions arch/powerpc/boot/dts/mpc8349emds.dts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
reg = <00000000 10000000>; // 256MB at 0
};

bcsr@e2400000 {
device_type = "board-control";
reg = <e2400000 8000>;
};

soc8349@e0000000 {
#address-cells = <1>;
#size-cells = <1>;
Expand Down Expand Up @@ -103,6 +108,7 @@
#size-cells = <0>;
interrupt-parent = <700>;
interrupts = <26 2>;
dr_mode = "otg";
phy_type = "ulpi";
};

Expand Down

0 comments on commit ea5b7a6

Please sign in to comment.