Skip to contentSkip to conversation

DTS updates for 8349emds USB peripheral support

PATCH In review Li Yang 2 participants 2 messages Feb 6, 2007

Subsystems (3)
lore
Share & tools
lore

Li Yang

author
#0 lore raw

PATCH 3/3 DTS updates for 8349emds USB peripheral support

Add new dr_mode property to USB node, and update default dts for 8439emds.

---

Documentation/powerpc/booting-without-of.txt |    3 +++
arch/powerpc/boot/dts/mpc8349emds.dts        |    6 ++++++
2 files changed, 9 insertions(+), 0 deletions(-)
Documentation/powerpc/booting-without-of.txt +2 -0
index 3399427..962034a 100644
@@ -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";
	};
arch/powerpc/boot/dts/mpc8349emds.dts +0 -0
index efceb34..dc121b3 100644
@@ -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";
		};
#1 lore raw
Quoted 14 lines · Li Yang

Add new dr_mode property to USB node, and update default dts for 8439emds.

---

Documentation/powerpc/booting-without-of.txt |    3 +++
arch/powerpc/boot/dts/mpc8349emds.dts        |    6 ++++++
2 files changed, 9 insertions(+), 0 deletions(-)
Documentation/powerpc/booting-without-of.txt +0 -0
index 3399427..962034a 100644
@@ -1334,6 +1334,8 @@ platforms are moved over to use the flattened- 
Quoted 7 lines

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'

Quoted 32 lines

Recommended properties :
- interrupts : <a b> where a is the interrupt number and b is a

Documentation/powerpc/booting-without-of.txt +0 -0
@@ -1367,6 +1369,7 @@ platforms are moved over to use the flattened- 

device-tree model.

		#size-cells = <0>;
		interrupt-parent = <700>;
		interrupts = <26 1>;
Documentation/powerpc/booting-without-of.txt +1 -0
+		dr_mode = "otg";
		phy = "ulpi";
	};
arch/powerpc/boot/dts/mpc8349emds.dts +6 -0
index efceb34..dc121b3 100644
@@ -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";
 		};