diff options
author | Peter Chen <peter.chen@freescale.com> | 2013-09-09 22:23:16 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-09-26 01:01:34 -0400 |
commit | 6022232b5405d9a917459e1590f0732517f83d09 (patch) | |
tree | 4558165068a1944adb13b4dffb8b0475622cfa8a /arch/arm/boot/dts/imx6sl.dtsi | |
parent | e03d10f98956c56d0ef92cb9e9f6cafcdd19bee2 (diff) |
ARM: imx: mx6sl-evk: Enable USB function
Enable USB function for OTG 1 and OTG 2 at mx6sololite evk.
Besides, fix the wrong interrupt number for OTG2 and host 1.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6sl.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx6sl.dtsi | 62 |
1 files changed, 60 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/imx6sl.dtsi b/arch/arm/boot/dts/imx6sl.dtsi index eda00e88f22f..bcdbc6cb50e9 100644 --- a/arch/arm/boot/dts/imx6sl.dtsi +++ b/arch/arm/boot/dts/imx6sl.dtsi | |||
@@ -562,6 +562,64 @@ | |||
562 | }; | 562 | }; |
563 | }; | 563 | }; |
564 | 564 | ||
565 | usbotg1 { | ||
566 | pinctrl_usbotg1_1: usbotg1grp-1 { | ||
567 | fsl,pins = < | ||
568 | MX6SL_PAD_EPDC_PWRCOM__USB_OTG1_ID 0x17059 | ||
569 | >; | ||
570 | }; | ||
571 | |||
572 | pinctrl_usbotg1_2: usbotg1grp-2 { | ||
573 | fsl,pins = < | ||
574 | MX6SL_PAD_FEC_RXD0__USB_OTG1_ID 0x17059 | ||
575 | >; | ||
576 | }; | ||
577 | |||
578 | pinctrl_usbotg1_3: usbotg1grp-3 { | ||
579 | fsl,pins = < | ||
580 | MX6SL_PAD_LCD_DAT1__USB_OTG1_ID 0x17059 | ||
581 | >; | ||
582 | }; | ||
583 | |||
584 | pinctrl_usbotg1_4: usbotg1grp-4 { | ||
585 | fsl,pins = < | ||
586 | MX6SL_PAD_REF_CLK_32K__USB_OTG1_ID 0x17059 | ||
587 | >; | ||
588 | }; | ||
589 | |||
590 | pinctrl_usbotg1_5: usbotg1grp-5 { | ||
591 | fsl,pins = < | ||
592 | MX6SL_PAD_SD3_DAT0__USB_OTG1_ID 0x17059 | ||
593 | >; | ||
594 | }; | ||
595 | }; | ||
596 | |||
597 | usbotg2 { | ||
598 | pinctrl_usbotg2_1: usbotg2grp-1 { | ||
599 | fsl,pins = < | ||
600 | MX6SL_PAD_ECSPI1_SCLK__USB_OTG2_OC 0x17059 | ||
601 | >; | ||
602 | }; | ||
603 | |||
604 | pinctrl_usbotg2_2: usbotg2grp-2 { | ||
605 | fsl,pins = < | ||
606 | MX6SL_PAD_ECSPI2_SCLK__USB_OTG2_OC 0x17059 | ||
607 | >; | ||
608 | }; | ||
609 | |||
610 | pinctrl_usbotg2_3: usbotg2grp-3 { | ||
611 | fsl,pins = < | ||
612 | MX6SL_PAD_KEY_ROW5__USB_OTG2_OC 0x17059 | ||
613 | >; | ||
614 | }; | ||
615 | |||
616 | pinctrl_usbotg2_4: usbotg2grp-4 { | ||
617 | fsl,pins = < | ||
618 | MX6SL_PAD_SD3_DAT2__USB_OTG2_OC 0x17059 | ||
619 | >; | ||
620 | }; | ||
621 | }; | ||
622 | |||
565 | usdhc1 { | 623 | usdhc1 { |
566 | pinctrl_usdhc1_1: usdhc1grp-1 { | 624 | pinctrl_usdhc1_1: usdhc1grp-1 { |
567 | fsl,pins = < | 625 | fsl,pins = < |
@@ -669,7 +727,7 @@ | |||
669 | usbotg2: usb@02184200 { | 727 | usbotg2: usb@02184200 { |
670 | compatible = "fsl,imx6sl-usb", "fsl,imx27-usb"; | 728 | compatible = "fsl,imx6sl-usb", "fsl,imx27-usb"; |
671 | reg = <0x02184200 0x200>; | 729 | reg = <0x02184200 0x200>; |
672 | interrupts = <0 40 0x04>; | 730 | interrupts = <0 42 0x04>; |
673 | clocks = <&clks IMX6SL_CLK_USBOH3>; | 731 | clocks = <&clks IMX6SL_CLK_USBOH3>; |
674 | fsl,usbphy = <&usbphy2>; | 732 | fsl,usbphy = <&usbphy2>; |
675 | fsl,usbmisc = <&usbmisc 1>; | 733 | fsl,usbmisc = <&usbmisc 1>; |
@@ -679,7 +737,7 @@ | |||
679 | usbh: usb@02184400 { | 737 | usbh: usb@02184400 { |
680 | compatible = "fsl,imx6sl-usb", "fsl,imx27-usb"; | 738 | compatible = "fsl,imx6sl-usb", "fsl,imx27-usb"; |
681 | reg = <0x02184400 0x200>; | 739 | reg = <0x02184400 0x200>; |
682 | interrupts = <0 42 0x04>; | 740 | interrupts = <0 40 0x04>; |
683 | clocks = <&clks IMX6SL_CLK_USBOH3>; | 741 | clocks = <&clks IMX6SL_CLK_USBOH3>; |
684 | fsl,usbmisc = <&usbmisc 2>; | 742 | fsl,usbmisc = <&usbmisc 2>; |
685 | status = "disabled"; | 743 | status = "disabled"; |