diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-04-16 19:53:20 +0200 |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-05-16 17:02:00 +0200 |
commit | dd860a9a31386ea85fb208d8d68a4b14add74fbf (patch) | |
tree | 9ad5277a6ffd05e943716abc54310a798397bfe3 /arch | |
parent | ARM: dts: imx27: Place the usb phy nodes in the board dts files (diff) | |
download | linux-dd860a9a31386ea85fb208d8d68a4b14add74fbf.tar.xz linux-dd860a9a31386ea85fb208d8d68a4b14add74fbf.zip |
ARM: dts: imx27-pdk: Add USB OTG support
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/imx27-pdk.dts | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx27-pdk.dts b/arch/arm/boot/dts/imx27-pdk.dts index a4f3e87b43fa..971961f8eef5 100644 --- a/arch/arm/boot/dts/imx27-pdk.dts +++ b/arch/arm/boot/dts/imx27-pdk.dts @@ -19,6 +19,19 @@ memory { reg = <0xa0000000 0x08000000>; }; + + usbphy { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <0>; + + usbphy0: usbphy@0 { + compatible = "usb-nop-xceiv"; + reg = <0>; + clocks = <&clks 0>; + clock-names = "main_clk"; + }; + }; }; &cspi2 { @@ -78,6 +91,15 @@ status = "okay"; }; +&usbotg { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbotg>; + dr_mode = "otg"; + fsl,usbphy = <&usbphy0>; + phy_type = "ulpi"; + status = "okay"; +}; + &iomuxc { imx27-pdk { pinctrl_cspi2: cspi2grp { @@ -121,5 +143,22 @@ MX27_PAD_UART1_RTS__UART1_RTS 0x0 >; }; + + pinctrl_usbotg: usbotggrp { + fsl,pins = < + MX27_PAD_USBOTG_NXT__USBOTG_NXT 0x0 + MX27_PAD_USBOTG_STP__USBOTG_STP 0x0 + MX27_PAD_USBOTG_DIR__USBOTG_DIR 0x0 + MX27_PAD_USBOTG_CLK__USBOTG_CLK 0x0 + MX27_PAD_USBOTG_DATA0__USBOTG_DATA0 0x0 + MX27_PAD_USBOTG_DATA1__USBOTG_DATA1 0x0 + MX27_PAD_USBOTG_DATA2__USBOTG_DATA2 0x0 + MX27_PAD_USBOTG_DATA3__USBOTG_DATA3 0x0 + MX27_PAD_USBOTG_DATA4__USBOTG_DATA4 0x0 + MX27_PAD_USBOTG_DATA5__USBOTG_DATA5 0x0 + MX27_PAD_USBOTG_DATA6__USBOTG_DATA6 0x0 + MX27_PAD_USBOTG_DATA7__USBOTG_DATA7 0x0 + >; + }; }; }; |