Browse Source

ARM: dts: imx6q-sabrelite: add usbotg pinctrl support

Signed-off-by: Richard Zhao <richard.zhao@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Richard Zhao 12 years ago
parent
commit
97a53092a1
2 changed files with 10 additions and 0 deletions
  1. 2 0
      arch/arm/boot/dts/imx6q-sabrelite.dts
  2. 8 0
      arch/arm/boot/dts/imx6q.dtsi

+ 2 - 0
arch/arm/boot/dts/imx6q-sabrelite.dts

@@ -68,6 +68,8 @@
 		aips-bus@02100000 { /* AIPS2 */
 			usb@02184000 { /* USB OTG */
 				vbus-supply = <&reg_usb_otg_vbus>;
+				pinctrl-names = "default";
+				pinctrl-0 = <&pinctrl_usbotg_1>;
 				disable-over-current;
 				status = "okay";
 			};

+ 8 - 0
arch/arm/boot/dts/imx6q.dtsi

@@ -661,6 +661,14 @@
 					};
 				};
 
+				usbotg {
+					pinctrl_usbotg_1: usbotggrp-1 {
+						fsl,pins = <
+							1592 0x17059	/* MX6Q_PAD_GPIO_1__ANATOP_USBOTG_ID */
+						>;
+					};
+				};
+
 				usdhc2 {
 					pinctrl_usdhc2_1: usdhc2grp-1 {
 						fsl,pins = <