Commit ea5b7a61 authored by Li Yang's avatar Li Yang Committed by Kumar Gala

[POWERPC] 83xx: Added new dr_mode property for usb controller on 83xx

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: default avatarLi Yang <leoli@freescale.com>
Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent fd9aeb85
...@@ -1334,6 +1334,9 @@ platforms are moved over to use the flattened-device-tree model. ...@@ -1334,6 +1334,9 @@ platforms are moved over to use the flattened-device-tree model.
fsl-usb2-mph compatible controllers. Either this property or fsl-usb2-mph compatible controllers. Either this property or
"port0" (or both) must be defined for "fsl-usb2-mph" compatible "port0" (or both) must be defined for "fsl-usb2-mph" compatible
controllers. 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 : Recommended properties :
- interrupts : <a b> where a is the interrupt number and b is a - interrupts : <a b> where a is the interrupt number and b is a
...@@ -1367,6 +1370,7 @@ platforms are moved over to use the flattened-device-tree model. ...@@ -1367,6 +1370,7 @@ platforms are moved over to use the flattened-device-tree model.
#size-cells = <0>; #size-cells = <0>;
interrupt-parent = <700>; interrupt-parent = <700>;
interrupts = <26 1>; interrupts = <26 1>;
dr_mode = "otg";
phy = "ulpi"; phy = "ulpi";
}; };
......
...@@ -39,6 +39,11 @@ ...@@ -39,6 +39,11 @@
reg = <00000000 10000000>; // 256MB at 0 reg = <00000000 10000000>; // 256MB at 0
}; };
bcsr@e2400000 {
device_type = "board-control";
reg = <e2400000 8000>;
};
soc8349@e0000000 { soc8349@e0000000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
...@@ -103,6 +108,7 @@ ...@@ -103,6 +108,7 @@
#size-cells = <0>; #size-cells = <0>;
interrupt-parent = <700>; interrupt-parent = <700>;
interrupts = <26 2>; interrupts = <26 2>;
dr_mode = "otg";
phy_type = "ulpi"; phy_type = "ulpi";
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment