diff mbox

[1/2] ARM: dts: mx23: Add USB resources

Message ID 1347557619-17793-1-git-send-email-fabio.estevam@freescale.com (mailing list archive)
State New, archived
Headers show

Commit Message

Fabio Estevam Sept. 13, 2012, 5:33 p.m. UTC
Add USB resources for mx23.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/boot/dts/imx23.dtsi |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Comments

Shawn Guo Sept. 17, 2012, 6:43 a.m. UTC | #1
On Thu, Sep 13, 2012 at 02:33:38PM -0300, Fabio Estevam wrote:
> Add USB resources for mx23.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>

Applied, thanks.
diff mbox

Patch

diff --git a/arch/arm/boot/dts/imx23.dtsi b/arch/arm/boot/dts/imx23.dtsi
index 9d0e803..17904db 100644
--- a/arch/arm/boot/dts/imx23.dtsi
+++ b/arch/arm/boot/dts/imx23.dtsi
@@ -436,9 +436,11 @@ 
 				status = "disabled";
 			};
 
-			usbphy@8007c000 {
+			usbphy0: usbphy@8007c000 {
+				compatible = "fsl,imx23-usbphy";
 				reg = <0x8007c000 0x2000>;
-				status = "disabled";
+				clocks = <&clks 41>;
+				status = "disabled";
 			};
 		};
 	};
@@ -450,8 +452,12 @@ 
 		reg = <0x80080000 0x80000>;
 		ranges;
 
-		usbctrl@80080000 {
+		usb0: usb@80080000 {
+			compatible = "fsl,imx23-usb", "fsl,imx27-usb";
 			reg = <0x80080000 0x40000>;
+			interrupts = <11>;
+			fsl,usbphy = <&usbphy0>;
+			clocks = <&clks 40>;
 			status = "disabled";
 		};
 	};