summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2.dts
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@freescale.com>2015-06-03 19:27:18 +0800
committerNitin Garg <nitin.garg@freescale.com>2015-09-17 09:23:25 -0500
commitb5e005266c6d2ac43fa060258e3c90c8e2d65ef9 (patch)
tree031b6a3c1b8abfff1bb1f5873fffcb38a85ce80b /arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2.dts
parentcc877c0adfabd4024707cd099d4c244e5594339e (diff)
MLK-10994-3 ARM: imx6ul-14x14-ddr3-arm2: Enable USB function
Since USB OTG2 is pin confilict with i2c1, only enable USB OTG1 for this board. Signed-off-by: Peter Chen <peter.chen@freescale.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2.dts')
-rw-r--r--arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2.dts30
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2.dts b/arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2.dts
index acb4336f19ae..e745007b281c 100644
--- a/arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2.dts
+++ b/arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2.dts
@@ -67,6 +67,17 @@
regulator-max-microvolt = <3300000>;
};
+ reg_usb_otg1_vbus: regulator@2 {
+ compatible = "regulator-fixed";
+ reg = <2>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_usb_otg1>;
+ regulator-name = "usb_otg1_vbus";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ gpio = <&gpio1 4 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ };
};
};
@@ -298,6 +309,13 @@
status = "okay";
};
+&usbotg1 {
+ vbus-supply = <&reg_usb_otg1_vbus>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_usb_otg1_id>;
+ status = "okay";
+};
+
&usdhc1 {
pinctrl-names = "default", "state_100mhz", "state_200mhz";
pinctrl-0 = <&pinctrl_usdhc1>;
@@ -577,6 +595,18 @@
>;
};
+ pinctrl_usb_otg1_id: usbotg1idgrp {
+ fsl,pins = <
+ MX6UL_PAD_GPIO1_IO00__ANATOP_OTG1_ID 0x17059
+ >;
+ };
+
+ pinctrl_usb_otg1: usbotg1grp {
+ fsl,pins = <
+ MX6UL_PAD_GPIO1_IO04__GPIO1_IO04 0x10b0
+ >;
+ };
+
pinctrl_usdhc1: usdhc1grp {
fsl,pins = <
MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x17059