summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2017-12-28 21:27:58 -0600
committerYe Li <ye.li@nxp.com>2017-12-29 00:22:58 -0600
commitbd41383b0b9f687f39b2bc9d774b9cd5829c85bd (patch)
treeda6de90a118191e2998e15f3b5da2b8b6cc267ef
parent032b358be0058808343cd14769eb2622c3e5adef (diff)
MLK-17324 DTS: imx8qm_mek: Add USBOTG1 node
Since android needs the USB OTG port on base board to run fastboot, add the USBOTG1 node to imx8qm mek DTS, so that the OTG can work on reworked board. Tested-by: Chen Guoyin <guoyin.chen@nxp.com> Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit f347ebae3610c41f9b6eec33baff485192547761)
-rw-r--r--arch/arm/dts/fsl-imx8qm-mek.dts20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/dts/fsl-imx8qm-mek.dts b/arch/arm/dts/fsl-imx8qm-mek.dts
index ee437ee876..518f29810a 100644
--- a/arch/arm/dts/fsl-imx8qm-mek.dts
+++ b/arch/arm/dts/fsl-imx8qm-mek.dts
@@ -30,6 +30,16 @@
#address-cells = <1>;
#size-cells = <0>;
+ reg_usb_otg1_vbus: regulator@0 {
+ compatible = "regulator-fixed";
+ reg = <0>;
+ regulator-name = "usb_otg1_vbus";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ gpio = <&gpio4 3 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ };
+
reg_usdhc2_vmmc: usdhc2_vmmc {
compatible = "regulator-fixed";
regulator-name = "sw-3p3-sd1";
@@ -50,6 +60,7 @@
imx8qm-mek {
pinctrl_hog_1: hoggrp-1 {
fsl,pins = <
+ SC_P_USB_SS3_TC0_LSIO_GPIO4_IO03 0x06000048
SC_P_LVDS0_I2C0_SCL_LSIO_GPIO1_IO06 0x06000021
SC_P_LVDS0_I2C0_SDA_LSIO_GPIO1_IO07 0x06000021
SC_P_QSPI1A_SS1_B_LSIO_GPIO4_IO20 0x06000021
@@ -285,6 +296,15 @@
status = "okay";
};
+&usbotg1 {
+ vbus-supply = <&reg_usb_otg1_vbus>;
+ srp-disable;
+ hnp-disable;
+ adp-disable;
+ disable-over-current;
+ status = "okay";
+};
+
&usb2 {
status = "okay";
};