Commit a10c22e4 authored by Peter Chen's avatar Peter Chen Committed by Shawn Guo

ARM: dts: imx6q-sabresd: Add USB support

Add USB support for imx6q sabresd board
Signed-off-by: default avatarPeter Chen <peter.chen@freescale.com>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent 218abe6f
...@@ -21,6 +21,19 @@ memory { ...@@ -21,6 +21,19 @@ memory {
reg = <0x10000000 0x40000000>; reg = <0x10000000 0x40000000>;
}; };
regulators {
compatible = "simple-bus";
reg_usb_otg_vbus: usb_otg_vbus {
compatible = "regulator-fixed";
regulator-name = "usb_otg_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio3 22 0>;
enable-active-high;
};
};
gpio-keys { gpio-keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
...@@ -62,6 +75,18 @@ pinctrl_hog: hoggrp { ...@@ -62,6 +75,18 @@ pinctrl_hog: hoggrp {
}; };
}; };
&usbotg {
vbus-supply = <&reg_usb_otg_vbus>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usbotg_2>;
disable-over-current;
status = "okay";
};
&usbh1 {
status = "okay";
};
&fec { &fec {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_enet_1>; pinctrl-0 = <&pinctrl_enet_1>;
......
...@@ -207,6 +207,12 @@ pinctrl_usbotg_1: usbotggrp-1 { ...@@ -207,6 +207,12 @@ pinctrl_usbotg_1: usbotggrp-1 {
1592 0x17059 /* MX6Q_PAD_GPIO_1__ANATOP_USBOTG_ID */ 1592 0x17059 /* MX6Q_PAD_GPIO_1__ANATOP_USBOTG_ID */
>; >;
}; };
pinctrl_usbotg_2: usbotggrp-2 {
fsl,pins = <
1591 0x17059 /* MX6Q_PAD_ENET_RX_ER__ANATOP_USBOTG_ID */
>;
};
}; };
usdhc2 { usdhc2 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment