* [PATCH 3/3] DTS updates for 8349emds USB peripheral support
@ 2007-02-06 9:05 Li Yang
2007-02-06 16:20 ` Kumar Gala
0 siblings, 1 reply; 3+ messages in thread
From: Li Yang @ 2007-02-06 9:05 UTC (permalink / raw)
To: Paul; +Cc: linuxppc-dev
Add new dr_mode property to USB node, and update default
dts for 8439emds.
Signed-off-by: Li Yang <leoli@freescale.com>
---
Documentation/powerpc/booting-without-of.txt | 3 +++
arch/powerpc/boot/dts/mpc8349emds.dts | 6 ++++++
2 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt
index 3399427..962034a 100644
--- a/Documentation/powerpc/booting-without-of.txt
+++ b/Documentation/powerpc/booting-without-of.txt
@@ -1334,6 +1334,8 @@ 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 of DR module. Can be "host",
+ "peripheral" or "otg".
Recommended properties :
- interrupts : <a b> where a is the interrupt number and b is a
@@ -1367,6 +1369,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";
};
diff --git a/arch/powerpc/boot/dts/mpc8349emds.dts b/arch/powerpc/boot/dts/mpc8349emds.dts
index efceb34..dc121b3 100644
--- a/arch/powerpc/boot/dts/mpc8349emds.dts
+++ b/arch/powerpc/boot/dts/mpc8349emds.dts
@@ -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>;
@@ -103,6 +108,7 @@
#size-cells = <0>;
interrupt-parent = <700>;
interrupts = <26 2>;
+ dr_mode = "otg";
phy_type = "ulpi";
};
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 3/3] DTS updates for 8349emds USB peripheral support
2007-02-06 9:05 [PATCH 3/3] DTS updates for 8349emds USB peripheral support Li Yang
@ 2007-02-06 16:20 ` Kumar Gala
0 siblings, 0 replies; 3+ messages in thread
From: Kumar Gala @ 2007-02-06 16:20 UTC (permalink / raw)
To: Li Yang; +Cc: linuxppc-dev, Paul
On Feb 6, 2007, at 3:05 AM, Li Yang wrote:
> Add new dr_mode property to USB node, and update default
> dts for 8439emds.
>
> Signed-off-by: Li Yang <leoli@freescale.com>
> ---
> Documentation/powerpc/booting-without-of.txt | 3 +++
> arch/powerpc/boot/dts/mpc8349emds.dts | 6 ++++++
> 2 files changed, 9 insertions(+), 0 deletions(-)
>
> diff --git a/Documentation/powerpc/booting-without-of.txt b/
> Documentation/powerpc/booting-without-of.txt
> index 3399427..962034a 100644
> --- a/Documentation/powerpc/booting-without-of.txt
> +++ b/Documentation/powerpc/booting-without-of.txt
> @@ -1334,6 +1334,8 @@ 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 of DR module. Can be
> "host",
> + "peripheral" or "otg".
Add details about what it means if dr_mode is not set for 'fsl-usb2-
dr'. Also some details about dr_mode being invalid/ignored for 'fsl-
usb2-mph'
> Recommended properties :
> - interrupts : <a b> where a is the interrupt number and b is a
> @@ -1367,6 +1369,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";
> };
> diff --git a/arch/powerpc/boot/dts/mpc8349emds.dts b/arch/powerpc/
> boot/dts/mpc8349emds.dts
> index efceb34..dc121b3 100644
> --- a/arch/powerpc/boot/dts/mpc8349emds.dts
> +++ b/arch/powerpc/boot/dts/mpc8349emds.dts
> @@ -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>;
> @@ -103,6 +108,7 @@
> #size-cells = <0>;
> interrupt-parent = <700>;
> interrupts = <26 2>;
> + dr_mode = "otg";
> phy_type = "ulpi";
> };
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 3/3] DTS updates for 8349emds USB peripheral support
@ 2007-02-07 5:51 Li Yang
0 siblings, 0 replies; 3+ messages in thread
From: Li Yang @ 2007-02-07 5:51 UTC (permalink / raw)
To: Paul; +Cc: linuxppc-dev
Add new dr_mode property to USB node, and update default
dts for 8439emds.
Signed-off-by: Li Yang <leoli@freescale.com>
---
Documentation/powerpc/booting-without-of.txt | 4 ++++
arch/powerpc/boot/dts/mpc8349emds.dts | 6 ++++++
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt
index 3399427..3b51467 100644
--- a/Documentation/powerpc/booting-without-of.txt
+++ b/Documentation/powerpc/booting-without-of.txt
@@ -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
@@ -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";
};
diff --git a/arch/powerpc/boot/dts/mpc8349emds.dts b/arch/powerpc/boot/dts/mpc8349emds.dts
index efceb34..dc121b3 100644
--- a/arch/powerpc/boot/dts/mpc8349emds.dts
+++ b/arch/powerpc/boot/dts/mpc8349emds.dts
@@ -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>;
@@ -103,6 +108,7 @@
#size-cells = <0>;
interrupt-parent = <700>;
interrupts = <26 2>;
+ dr_mode = "otg";
phy_type = "ulpi";
};
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-02-07 5:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-06 9:05 [PATCH 3/3] DTS updates for 8349emds USB peripheral support Li Yang
2007-02-06 16:20 ` Kumar Gala
2007-02-07 5:51 Li Yang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.