Skip to contentSkip to conversation

ARM: dts: AM33XX: Add usbss node

PATCH New Afzal Mohammed 3 participants 3 messages Nov 6, 2012 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: dts: AM33XX: Add usbss node

From: Ajay Kumar Gupta <[email protected]>

Device tree node for usbss on AM33XX. There are two musb controllers on am33xx platform so have port0-mode and port1-mode data.

[afzal at ti.com: reg & interrupt property addition]

---

v2: node named as "usb"

Depends on "usb: musb: dsps: dt binding - add resources, example"
(https://patchwork.kernel.org/patch/1704691/)

 arch/arm/boot/dts/am33xx.dtsi | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
arch/arm/boot/dts/am33xx.dtsi +17 -0
index 5dfd682..20a3f29 100644
@@ -321,5 +321,22 @@
 			ti,hwmods = "spi1";
 			status = "disabled";
 		};
+
+		usb at 47400000 {
+			compatible = "ti,musb-am33xx";
+			reg = <0x47400000 0x1000	/* usbss */
+			       0x47401000 0x800		/* musb instance 0 */
+			       0x47401800 0x800>;	/* musb instance 1 */
+			interrupts = <17		/* usbss */
+				      18		/* musb instance 0 */
+				      19>;		/* musb instance 1 */
+			multipoint = <1>;
+			num-eps = <16>;
+			ram-bits = <12>;
+			port0-mode = <3>;
+			port1-mode = <3>;
+			power = <250>;
+			ti,hwmods = "usb_otg_hs";
+		};
 	};
 };
Signature · 1 line
1.7.12
#1 lore raw

PATCH v2 1/1 ARM: dts: AM33XX: Add usbss node

Hi,

Quoted 6 lines · Afzal Mohammed

From: Ajay Kumar Gupta <[email protected]>

Device tree node for usbss on AM33XX. There are two musb controllers on am33xx platform so have port0-mode and port1-mode data.

Quoted 6 lines

[afzal at ti.com: reg & interrupt property addition]

to my eyes, this looks ok.

Quoted 40 lines

---

v2: node named as "usb"

Depends on "usb: musb: dsps: dt binding - add resources, example"
(https://patchwork.kernel.org/patch/1704691/)

 arch/arm/boot/dts/am33xx.dtsi | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
arch/arm/boot/dts/am33xx.dtsi +17 -0
index 5dfd682..20a3f29 100644
@@ -321,5 +321,22 @@
 			ti,hwmods = "spi1";
 			status = "disabled";
 		};
+
+		usb at 47400000 {
+			compatible = "ti,musb-am33xx";
+			reg = <0x47400000 0x1000	/* usbss */
+			       0x47401000 0x800		/* musb instance 0 */
+			       0x47401800 0x800>;	/* musb instance 1 */
+			interrupts = <17		/* usbss */
+				      18		/* musb instance 0 */
+				      19>;		/* musb instance 1 */
+			multipoint = <1>;
+			num-eps = <16>;
+			ram-bits = <12>;
+			port0-mode = <3>;
+			port1-mode = <3>;
+			power = <250>;
+			ti,hwmods = "usb_otg_hs";
+		};
 	};
 };
Signature · 1 line
1.7.12
Signature · 8 lines
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20121106/34961b09/attachment.sig>
#2 lore raw

PATCH v2 1/1 ARM: dts: AM33XX: Add usbss node

Quoted 11 lines · Felipe Balbi

Hi,

Quoted 8 lines · Afzal Mohammed

From: Ajay Kumar Gupta <[email protected]>

Device tree node for usbss on AM33XX. There are two musb controllers on am33xx platform so have port0-mode and port1-mode data.

[afzal at ti.com: reg & interrupt property addition]

Quoted 8 lines
Quoted 4 lines

to my eyes, this looks ok.

Thanks Felipe. Patch applied in for_3.8/dts_part2 branch.

Regards,
Benoit

Quoted 42 lines
Quoted 41 lines

---

v2: node named as "usb"

Depends on "usb: musb: dsps: dt binding - add resources, example"
(https://patchwork.kernel.org/patch/1704691/)

 arch/arm/boot/dts/am33xx.dtsi | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
arch/arm/boot/dts/am33xx.dtsi +17 -0
index 5dfd682..20a3f29 100644
@@ -321,5 +321,22 @@
 			ti,hwmods = "spi1";
 			status = "disabled";
 		};
+
+		usb at 47400000 {
+			compatible = "ti,musb-am33xx";
+			reg = <0x47400000 0x1000	/* usbss */
+			       0x47401000 0x800		/* musb instance 0 */
+			       0x47401800 0x800>;	/* musb instance 1 */
+			interrupts = <17		/* usbss */
+				      18		/* musb instance 0 */
+				      19>;		/* musb instance 1 */
+			multipoint = <1>;
+			num-eps = <16>;
+			ram-bits = <12>;
+			port0-mode = <3>;
+			port1-mode = <3>;
+			power = <250>;
+			ti,hwmods = "usb_otg_hs";
+		};
 	};
 };
Signature · 1 line
1.7.12