Commit f2d91676 authored by Ashutosh singh's avatar Ashutosh singh Committed by Shawn Guo

ARM: dts: imx6q-phytec: Added USB_HOST Support

This patch adds support for USB_HOST on Phytec phyFLEX-i.MX6 Quad module.
Signed-off-by: default avatarAshutosh singh <ashutosh.s@phytec.in>
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
parent 3b4053b8
...@@ -25,6 +25,10 @@ &uart4 { ...@@ -25,6 +25,10 @@ &uart4 {
status = "okay"; status = "okay";
}; };
&usbh1 {
status = "okay";
};
&usbotg { &usbotg {
status = "okay"; status = "okay";
}; };
......
...@@ -32,6 +32,15 @@ reg_usb_otg_vbus: regulator@0 { ...@@ -32,6 +32,15 @@ reg_usb_otg_vbus: regulator@0 {
regulator-max-microvolt = <5000000>; regulator-max-microvolt = <5000000>;
gpio = <&gpio4 15 0>; gpio = <&gpio4 15 0>;
}; };
reg_usb_h1_vbus: regulator@1 {
compatible = "regulator-fixed";
reg = <1>;
regulator-name = "usb_h1_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio1 0 0>;
};
}; };
}; };
...@@ -195,6 +204,12 @@ MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b0b1 ...@@ -195,6 +204,12 @@ MX6QDL_PAD_KEY_ROW0__UART4_RX_DATA 0x1b0b1
>; >;
}; };
pinctrl_usbh1: usbh1grp {
fsl,pins = <
MX6QDL_PAD_GPIO_0__USB_H1_PWR 0x80000000
>;
};
pinctrl_usbotg: usbotggrp { pinctrl_usbotg: usbotggrp {
fsl,pins = < fsl,pins = <
MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059 MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059
...@@ -248,6 +263,13 @@ &uart4 { ...@@ -248,6 +263,13 @@ &uart4 {
status = "disabled"; status = "disabled";
}; };
&usbh1 {
vbus-supply = <&reg_usb_h1_vbus>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usbh1>;
status = "disabled";
};
&usbotg { &usbotg {
vbus-supply = <&reg_usb_otg_vbus>; vbus-supply = <&reg_usb_otg_vbus>;
pinctrl-names = "default"; pinctrl-names = "default";
......
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